summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2021-02-07 16:21:57 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-03-07 11:03:06 +0200
commitfac05c2690fb93de8f3e33ccf44d7cfae707e633 (patch)
tree8f9665e70a2a6f24d25bd676a13ca018e5704ed9 /media-libs/lib3mf/files
parentdev-python/python-discid: add python3_9 (diff)
downloadgentoo-fac05c2690fb93de8f3e33ccf44d7cfae707e633.tar.gz
gentoo-fac05c2690fb93de8f3e33ccf44d7cfae707e633.tar.bz2
gentoo-fac05c2690fb93de8f3e33ccf44d7cfae707e633.zip
media-libs/lib3mf: bump to 2.1.0
Closes: https://bugs.gentoo.org/769275 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/lib3mf/files')
-rw-r--r--media-libs/lib3mf/files/lib3mf-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/lib3mf/files/lib3mf-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch b/media-libs/lib3mf/files/lib3mf-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch
new file mode 100644
index 000000000000..7c5cdd0c68fb
--- /dev/null
+++ b/media-libs/lib3mf/files/lib3mf-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch
@@ -0,0 +1,27 @@
+From 13f974157b178efe4c6d617f23246dde2b100f0d Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Wed, 10 Feb 2021 18:49:14 +0100
+Subject: [PATCH] [Gentoo-specific] avoid pre-stripping library
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+---
+ CMakeLists.txt | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9c8b4ba..05d493f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -182,9 +182,6 @@ if (UNIX OR MINGW)
+ # Uncomment the following to put the version info into the .so-file.
+ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION "${LIB3MF_VERSION_MAJOR}.${LIB3MF_VERSION_MINOR}.${LIB3MF_VERSION_MICRO}.${BUILD_NUMBER}")
+ set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION "${LIB3MF_VERSION_MAJOR}")
+- if (NOT APPLE)
+- set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS -s)
+- endif()
+ else()
+ # wd4996 masks the deprecated-warning
+ target_compile_options(${PROJECT_NAME} PUBLIC "$<$<CONFIG:DEBUG>:/Od;/Ob0;/sdl;/W3;/WX;/FC;/wd4996>")
+--
+2.30.1
+