diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-11-06 17:26:26 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-11-06 18:16:33 +0100 |
commit | 3e75f48e522d2e576921c7c6d5082a4124260147 (patch) | |
tree | 318d07e45f7295e35b5e68d5e7f9cfa27adc92d3 /media-gfx/gmic/files | |
parent | app-laptop/tpacpi-bat: remove unused files (diff) | |
download | gentoo-3e75f48e522d2e576921c7c6d5082a4124260147.tar.gz gentoo-3e75f48e522d2e576921c7c6d5082a4124260147.tar.bz2 gentoo-3e75f48e522d2e576921c7c6d5082a4124260147.zip |
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 <marecki@gentoo.org>
Diffstat (limited to 'media-gfx/gmic/files')
-rw-r--r-- | media-gfx/gmic/files/gmic-2.9.2_ipa-sra.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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 "") |