diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-01-29 20:34:51 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-01-29 20:34:51 +0100 |
commit | d2c1c3d17276651192ea87cb5cb77ec59efbf844 (patch) | |
tree | 64a258c50072a653cb88313184c075a5edc8a4e3 /sci-astronomy | |
parent | 1cc443c6f9d616b70263365687f9fddd0029e86c (diff) | |
download | brancik-overlay-d2c1c3d17276651192ea87cb5cb77ec59efbf844.tar.gz brancik-overlay-d2c1c3d17276651192ea87cb5cb77ec59efbf844.tar.bz2 |
Added patch for sci-astronomy/open-phd-guiding:2 that disables compiler strict warnings and enbles it to build succesfully.
Diffstat (limited to 'sci-astronomy')
3 files changed, 41 insertions, 1 deletions
diff --git a/sci-astronomy/open-phd-guiding/Manifest b/sci-astronomy/open-phd-guiding/Manifest index 18769e9..3f7b9c5 100644 --- a/sci-astronomy/open-phd-guiding/Manifest +++ b/sci-astronomy/open-phd-guiding/Manifest @@ -1,2 +1,3 @@ +AUX open-phd-guiding-2.9999-remove_compiler_strict_warnings.patch 1515 SHA256 9f245723411dd6679baab7dcb7b587d7064591fd19aa53879efa0a6d8e6718bf SHA512 c887737caa72d911ff198b117e0041f3d9099df7f187272a9350d697fa872088ca908d41a75796a0b4f4f0d7a51bf3192f71ba85bfa2501b522f87b4a29a2127 WHIRLPOOL 364d09b3c40b3e3bbfb72d78c64966e7fa76870c62b98cb2e70403994ef7e02276bac4c7799ba97a635370011c015be01f56182ae5c56d12bd9366419fa7fc9e EBUILD open-phd-guiding-1.9999.ebuild 538 SHA256 d13df9aeff9d9b2a154949d6981dd6ec4e08ba880579cfebae0e746ab0d44996 SHA512 85c287d9c2185641d3a6cd99e9325479081d5fc7307bc357f0d9937fd7f7ccf5ba197963df40f91208076fdeb86ee807f851ea819c2e67a9470261e2e2c33973 WHIRLPOOL a5e8137e84b05fbf021a2073cb4b336c9a4061dc2c86743984df72f8190a96caada0fddb8806f11292f9451caf1c9fb27ad94429de8527987192b9ae03305042 -EBUILD open-phd-guiding-2.9999.ebuild 536 SHA256 9e74f6ad42364bd3f1eb33e69c2ee5efb9fb501f47b8eb91616de3cf11878f02 SHA512 7ebb03ac7dbd562ba6c98f78136088ae69daf5b0954c7c28f58a386a7eead03a758fafae0fd09ccdfed5b628ae72b0550d4caefb8e8108a6649fdfa503c622a6 WHIRLPOOL 467a9c2a9ae8bd9dfd35a29b2d17c66e348119a88d7becfa48938a5fb1ded74fcbb7c4834bb7412734c0bfa978489e94f1ad28bf6cc5810ae62a93fe2819d7cc +EBUILD open-phd-guiding-2.9999.ebuild 625 SHA256 0b30a38985d3df7f9038f165127801e90e654407d33e2cf90be3cd3b4b28e360 SHA512 b301a60147784e0d8c528096f40d55bab3e1ed6da501e1e2fbbc64ec716d11956484431f7c622803762c1571cd4654a8847d6059da7b99fe82bf72e1bbd2bc38 WHIRLPOOL b62f7c125ba1fb16fb953d6c77e6a22a1eafe89d956bbc2a43bb8e45c7e9b0db939bc277d58dec4aed3739db237ac310a0ed13c3e02af12b79df70eeab008f60 diff --git a/sci-astronomy/open-phd-guiding/files/open-phd-guiding-2.9999-remove_compiler_strict_warnings.patch b/sci-astronomy/open-phd-guiding/files/open-phd-guiding-2.9999-remove_compiler_strict_warnings.patch new file mode 100644 index 0000000..edead7a --- /dev/null +++ b/sci-astronomy/open-phd-guiding/files/open-phd-guiding-2.9999-remove_compiler_strict_warnings.patch @@ -0,0 +1,37 @@ +diff -ruN open-phd-guiding/CMakeLists.txt open-phd-guiding.new/CMakeLists.txt +--- open-phd-guiding/CMakeLists.txt 2015-01-29 19:17:25.395991521 +0100 ++++ open-phd-guiding.new/CMakeLists.txt 2015-01-29 20:30:23.754846999 +0100 +@@ -65,33 +65,6 @@ + + include_directories(${CMAKE_SOURCE_DIR}) + +- +-# we don't do the strict warnings for MSVC because the MSVC compiler +-# generates > 14,000 warnings, mostly from wx. +-if (NOT MSVC) +- #Strict warnings +- CHECK_CXX_COMPILER_FLAG("-W" COMPILER_SUPPORTS_WARNINGS) +- CHECK_CXX_COMPILER_FLAG("-Wall" COMPILER_SUPPORTS_WALL) +- CHECK_CXX_COMPILER_FLAG("-Wextra" COMPILER_SUPPORTS_WEXTRA) +- CHECK_CXX_COMPILER_FLAG("-Werror" COMPILER_SUPPORTS_WERROR) +-# if(COMPILER_SUPPORTS_WARNINGS) +-# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W") +-# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W") +-# endif(COMPILER_SUPPORTS_WARNINGS) +- if(COMPILER_SUPPORTS_WALL) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") +- endif(COMPILER_SUPPORTS_WALL) +-# if(COMPILER_SUPPORTS_WEXTRA) +-# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra") +-# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") +-# endif(COMPILER_SUPPORTS_WEXTRA) +- if(COMPILER_SUPPORTS_WERROR) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") +- endif(COMPILER_SUPPORTS_WERROR) +-endif (NOT MSVC) +- + # Scopes to use with openPHD + if (MSVC) + set(phd_SCOPES diff --git a/sci-astronomy/open-phd-guiding/open-phd-guiding-2.9999.ebuild b/sci-astronomy/open-phd-guiding/open-phd-guiding-2.9999.ebuild index fc93869..eed689c 100644 --- a/sci-astronomy/open-phd-guiding/open-phd-guiding-2.9999.ebuild +++ b/sci-astronomy/open-phd-guiding/open-phd-guiding-2.9999.ebuild @@ -23,6 +23,8 @@ DEPEND="x11-libs/wxGTK:3.0[X] RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/open-phd-guiding-2.9999-remove_compiler_strict_warnings.patch" ) + src_unpack() { subversion_src_unpack } |