diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /media-libs/simage/files | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'media-libs/simage/files')
-rw-r--r-- | media-libs/simage/files/simage-1.8.1-0001-Gentoo-specific-remove-RELEASE-flag-from-pkg-config.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/simage/files/simage-1.8.1-0001-Gentoo-specific-remove-RELEASE-flag-from-pkg-config.patch b/media-libs/simage/files/simage-1.8.1-0001-Gentoo-specific-remove-RELEASE-flag-from-pkg-config.patch new file mode 100644 index 000000000000..341cee6db318 --- /dev/null +++ b/media-libs/simage/files/simage-1.8.1-0001-Gentoo-specific-remove-RELEASE-flag-from-pkg-config.patch @@ -0,0 +1,28 @@ +From 8c4fda363a940a365571ae0985e742f7df1f9620 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl@gmail.com> +Date: Wed, 13 Jan 2021 22:03:46 +0100 +Subject: [PATCH] [Gentoo-specific] remove RELEASE flag from pkg-config + +Signed-off-by: Bernd Waibel <waebbl@gmail.com> +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d869715..a980571 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -794,8 +794,8 @@ if(UNIX OR MINGW) + set(PKG_CONFIG_REQUIRES "$<$<BOOL:${PKG_CONFIG_REQUIRES}>:$<JOIN:${PKG_CONFIG_REQUIRES}, >>") + set(PKG_CONFIG_REQUIRES_PRIVATE "$<$<BOOL:${PKG_CONFIG_REQUIRES_PRIVATE}>:$<JOIN:${PKG_CONFIG_REQUIRES_PRIVATE}, >>") + +- set(PKG_CONFIG_CFLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_RELEASE} ${PKG_CONFIG_CFLAGS}") +- set(PKG_CONFIG_CXXFLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE} ${PKG_CONFIG_CXXFLAGS}") ++ set(PKG_CONFIG_CFLAGS "${CMAKE_C_FLAGS} ${PKG_CONFIG_CFLAGS}") ++ set(PKG_CONFIG_CXXFLAGS "${CMAKE_CXX_FLAGS} ${PKG_CONFIG_CXXFLAGS}") + + # PKG-CONFIG settings + # according to https://www.gnu.org/prep/standards/html_node/Directory-Variables.html +-- +2.30.0 + |