lcms2/lcms2-visibility.patch
Takashi Iwai d67b624f92 Accepting request 950194 from home:polslinux:branches:multimedia:libs
- Update to 2.13:
  * Added support for premultiplied alpha
  * tifficc can now handle alpha channels, both unassociated and premultiplied
  * CGATS parser can now deal with very long strings
  * Added Projects for Visual Studio 2020
  * Added ARM64 target to visual studio 2019 (thanks to gaborkertesz-linaro)
  * Added thread safe code to get time
  * Added automatic linear space detection
  * Added cmsGetStageContextID function
  * Added cmsDetectRGBProfileGamma function
  * configure now accepts --without-fastfloat to turn plugin off
  * Checked to work on STM32 Cortex-A, Cortex-M families
  * Bug & typos fixing (thanks to many reporters and contributors)
- Rebase lcms2-visibility.patch

OBS-URL: https://build.opensuse.org/request/show/950194
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lcms2?expand=0&rev=78
2022-01-31 15:36:55 +00:00

19 lines
566 B
Diff

Index: lcms2-2.13/src/lcms2_internal.h
===================================================================
--- lcms2-2.13.orig/src/lcms2_internal.h
+++ lcms2-2.13/src/lcms2_internal.h
@@ -37,6 +37,7 @@
// assert macro is part of C99 as per 7.2
#include <assert.h>
+#pragma GCC visibility push(hidden)
// Some needed constants
#ifndef M_PI
# define M_PI 3.14159265358979323846
@@ -1122,4 +1123,5 @@ cmsBool _cmsBuildRGB2XYZtransferMatrix
cmsBool _cmsGetTime(struct tm* ptr_time);
#define _lcms_internal_H
+#pragma GCC visibility pop
#endif