summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-01-13 17:20:32 -0500
committerSam James <sam@gentoo.org>2021-02-05 02:06:42 +0000
commit37f0e16ff077f94d6e4de1f5481af94d5ca0ce36 (patch)
tree374f439371aa1407095557bf022713d50f3c6558 /dev-libs/miniz/files
parentmedia-libs/qhull: re-add static-libs + various fixes (diff)
downloadgentoo-37f0e16ff077f94d6e4de1f5481af94d5ca0ce36.tar.gz
gentoo-37f0e16ff077f94d6e4de1f5481af94d5ca0ce36.tar.bz2
gentoo-37f0e16ff077f94d6e4de1f5481af94d5ca0ce36.zip
dev-libs/miniz: don't set visibility to hidden
Needed by prusaslicer and symbols such as mz_zip_zero_struct Bug: https://bugs.gentoo.org/761541 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/miniz/files')
-rw-r--r--dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch b/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch
index 6f8429222700..c1fb1a52215d 100644
--- a/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch
+++ b/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch
@@ -18,7 +18,7 @@
if(CMAKE_BUILD_TYPE STREQUAL "")
# CMake defaults to leaving CMAKE_BUILD_TYPE empty. This screws up
# differentiation between debug and release builds.
-@@ -8,45 +18,122 @@
+@@ -8,45 +18,120 @@
CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif ()
@@ -39,8 +39,6 @@
+string(TOUPPER ${PROJECT_NAME} PROJECT_UPPER)
+set_target_properties(${PROJECT_NAME}
+ PROPERTIES INTERFACE_COMPILE_DEFINITIONS ${PROJECT_UPPER}_STATIC_DEFINE)
-+else()
-+set_property(TARGET ${PROJECT_NAME} PROPERTY C_VISIBILITY_PRESET hidden)
+endif()
+
+set_property(TARGET ${PROJECT_NAME} PROPERTY VERSION ${MINIZ_VERSION})