File lcms2-visibility.patch of Package lcms2

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