diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-libs/libdispatch | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-libs/libdispatch')
-rw-r--r-- | dev-libs/libdispatch/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libdispatch/files/remove-Werror.patch | 25 | ||||
-rw-r--r-- | dev-libs/libdispatch/libdispatch-5.3.3-r1.ebuild (renamed from dev-libs/libdispatch/libdispatch-5.3.3.ebuild) | 5 | ||||
-rw-r--r-- | dev-libs/libdispatch/metadata.xml | 2 |
4 files changed, 32 insertions, 5 deletions
diff --git a/dev-libs/libdispatch/Manifest b/dev-libs/libdispatch/Manifest index d5b17e86e950..18be87745d15 100644 --- a/dev-libs/libdispatch/Manifest +++ b/dev-libs/libdispatch/Manifest @@ -1,3 +1,4 @@ +AUX remove-Werror.patch 1217 BLAKE2B f7ef18089abcd11fb8ed36980e681a804649b8ad8891b97113966c099bb05178604983359b79eb853ad6256a6c116fa8fdca116b29e2d6108c2a38fff01472a1 SHA512 0c17b1b36a02b401182a91e1f751f71b343f1d61ce7340230fdb13e89354316d0f2863fc3ea2f1a33bee6033c79e30e35024519c515a03a4d88467456ef340cc DIST libdispatch-5.3.3.tar.gz 591794 BLAKE2B 982b99227a1292d999639e7b16c1382a38dd6799a0ea1b83dd66333d5b6388be809127565fafc7f171dab9d8aa388cf67316d7eb6fa2ae2e1b8ccf660b32f0ab SHA512 b76071e8fac19ef5aed8cb3998b903a17a4f2b9e6b992d22d394212f4d48c4a547fb7a8cf16e4ce2ef17d6b58e253c2d52c6b176c3a874132410215b73332909 -EBUILD libdispatch-5.3.3.ebuild 914 BLAKE2B 9f350cfa7bcbc278a728c4efa057a5b17bc5145b4bb43441b7a2bd73b6ded456c74a174e14558f5cea38616fd9707db792276a5f1630a500f9c306045662c5de SHA512 d0da595a9f026824aa577d35b043b5ec40441fded2efddd122eed541352bffb357641d52cd1bcb28f2f14745c42f3857004887e1acea4f21e023f97cfdb54507 -MISC metadata.xml 349 BLAKE2B 5174115141a1abee14ac46ea3e8bbf9dfdeb263fe431411ccd17c36fbf25b31607df53fe3c9535404aaf5a5b4ffd1f11606387d1b0cd7ab83e18549588a0e563 SHA512 afda3310a1fb23f69619fc40e24c2007b5b40f0c3976b0b20b5c85e87d48830d56ecfc1a0b8ca1800fba00eb00cbff22f7b63e6b99aa12d601081fb8451c42b4 +EBUILD libdispatch-5.3.3-r1.ebuild 954 BLAKE2B 7642ecaa20be03b9f2d2354794b7d8befe16f2a7322c8293b7b91b234680ac5589fb9a48c17cc51b03a807c6e7b6a36d7d3b47dcfbe26ff4c266d18f60d4c8da SHA512 32467c96ee7fdf079da89fa6e5c5b2281128640008cb0d5c0c63f0225c0b7aa6128496c9b7c4ab3ddaf5ff43dea785f630977fb12bc29d669edf41a0983b5f2b +MISC metadata.xml 349 BLAKE2B 7019847597264a24c724fc1c4ace226ad2b952a82e881813d9725f1153ef728cb0e8ed4b8071d8891606e8a6a1d4c8c2a270395a02de960388a7d084d2ff090c SHA512 dddd39bdbab38f07c35e78d7d38465b8b187854475f4b1feedfdaaea42bb53e4fbdd68f70c24f82c10a7e1abbb8683424ff865cb3d246d360aeddf145457e0f4 diff --git a/dev-libs/libdispatch/files/remove-Werror.patch b/dev-libs/libdispatch/files/remove-Werror.patch new file mode 100644 index 000000000000..bdc3edf2d483 --- /dev/null +++ b/dev-libs/libdispatch/files/remove-Werror.patch @@ -0,0 +1,25 @@ +diff --git a/cmake/modules/DispatchCompilerWarnings.cmake b/cmake/modules/DispatchCompilerWarnings.cmake +index 35b80f3..cc554ed 100644 +--- a/cmake/modules/DispatchCompilerWarnings.cmake ++++ b/cmake/modules/DispatchCompilerWarnings.cmake +@@ -2,7 +2,6 @@ + if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC") + # TODO: someone needs to provide the msvc equivalent warning flags + else() +- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>) + add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>) + add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index adc989d..2841aa2 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -127,7 +127,7 @@ endif() + # FIXME(compnerd) add check for -fblocks? + target_compile_options(dispatch PRIVATE -fblocks) + +-check_c_compiler_flag("-momit-leaf-frame-pointer -Werror -Wall -O3" C_SUPPORTS_OMIT_LEAF_FRAME_POINTER) ++check_c_compiler_flag("-momit-leaf-frame-pointer -Wall -O3" C_SUPPORTS_OMIT_LEAF_FRAME_POINTER) + if (C_SUPPORTS_OMIT_LEAF_FRAME_POINTER) + target_compile_options(dispatch PRIVATE -momit-leaf-frame-pointer) + endif() diff --git a/dev-libs/libdispatch/libdispatch-5.3.3.ebuild b/dev-libs/libdispatch/libdispatch-5.3.3-r1.ebuild index d469c43530f2..d02b56e15ca3 100644 --- a/dev-libs/libdispatch/libdispatch-5.3.3.ebuild +++ b/dev-libs/libdispatch/libdispatch-5.3.3-r1.ebuild @@ -16,7 +16,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="" +DEPEND="!gnustep-base/libobjc2" RDEPEND="${DEPEND}" BDEPEND=" sys-devel/clang @@ -25,9 +25,10 @@ BDEPEND=" S="${WORKDIR}/${MY_PN}-${MY_PV}" +PATCHES=( "${FILESDIR}/remove-Werror.patch" ) + src_configure () { if ! tc-is-clang ; then - have_switched_compiler=yes AR=llvm-ar CC=${CHOST}-clang CXX=${CHOST}-clang++ diff --git a/dev-libs/libdispatch/metadata.xml b/dev-libs/libdispatch/metadata.xml index 7629980c0ab6..e9023adfe90b 100644 --- a/dev-libs/libdispatch/metadata.xml +++ b/dev-libs/libdispatch/metadata.xml @@ -1,4 +1,4 @@ -<?xml version='1.0' encoding='UTF-8'?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> |