lcms2/lcms2-visibility.patch
Dominique Leuenberger 98815eacf6 Accepting request 824507 from home:elimat:branches:multimedia:libs
- Update to 2.11
  * Fixed __cpuid() on fast float plugin to allow gnu gcc
  * Fixed copy alpha bounds check
  * Fixed data race condition on contexts pool
  * Fixed LUT16 write matrix on multichannel V2 profiles
- Changes in 2.10
  * Added a compilation toggle to remove "register" keyword in API. 
  * Previously commercial, fast_float plug-in is now released as open source
    under GPL3 license.
  * MD5 functions are now accesible through plug-in API.
  * Added support for Visual Studio 2019
  * Bug fixing.
- Drop lcms2-cgats-memory-allocation.patch, its now in upstream code
- Refresh patches
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/824507
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lcms2?expand=0&rev=74
2020-08-25 10:33:59 +00:00

18 lines
529 B
Diff

diff -Naur lcms2-2.11.orig/src/lcms2_internal.h lcms2-2.11/src/lcms2_internal.h
--- lcms2-2.11.orig/src/lcms2_internal.h 2020-08-05 15:14:07.484229667 +0200
+++ lcms2-2.11/src/lcms2_internal.h 2020-08-05 15:19:51.517248023 +0200
@@ -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
@@ -1125,4 +1126,5 @@
#define _lcms_internal_H
+#pragma GCC visibility pop
#endif