From 3e75f48e522d2e576921c7c6d5082a4124260147 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 6 Nov 2020 17:26:26 +0100 Subject: media-gfx/gmic: bump to 2.9.2 Includes USE=digikam support by Siuchung Cheung + fix for building under clang. Closes: https://bugs.gentoo.org/730932 Closes: https://bugs.gentoo.org/745225 Closes: https://bugs.gentoo.org/746221 Signed-off-by: Marek Szuba --- media-gfx/gmic/files/gmic-2.9.2_ipa-sra.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 media-gfx/gmic/files/gmic-2.9.2_ipa-sra.patch (limited to 'media-gfx/gmic/files') diff --git a/media-gfx/gmic/files/gmic-2.9.2_ipa-sra.patch b/media-gfx/gmic/files/gmic-2.9.2_ipa-sra.patch new file mode 100644 index 000000000000..384856a0464f --- /dev/null +++ b/media-gfx/gmic/files/gmic-2.9.2_ipa-sra.patch @@ -0,0 +1,15 @@ +A GCC-specific setting from years ago. gcc-9 quietly ignores it (the +resulting binaries appear to be the same whether -fno-ipa-sra has been +specified or not), clang fails on it as not recognised. +Just get rid of it altogether. +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -100,7 +100,7 @@ + if(APPLE) + set(COMPILE_FLAGS "${COMPILE_FLAGS} -mmacosx-version-min=10.8 -stdlib=libc++ -Wno-error=c++11-narrowing -Wc++11-extensions -fpermissive") + else() +- set(COMPILE_FLAGS "${COMPILE_FLAGS} -Wno-error=narrowing -fno-ipa-sra -fpermissive") ++ set(COMPILE_FLAGS "${COMPILE_FLAGS} -Wno-error=narrowing -fpermissive") + endif() + + if(NOT "${PRERELEASE_TAG}" STREQUAL "") -- cgit v1.2.3-65-gdbad