aboutsummaryrefslogtreecommitdiffstats
path: root/community/lcms/configure-for-musl.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-08 15:35:27 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-08 19:23:09 +0000
commit6f56b82cbb3d74747286de59ba96e6a2e36bbebf (patch)
tree12c5891eb0663e3ab0c4b227178eb789fa731d98 /community/lcms/configure-for-musl.patch
parentd21fe0bfa51277b8817c7b6258c38a8e272623ec (diff)
downloadaports-6f56b82cbb3d74747286de59ba96e6a2e36bbebf.tar.gz
aports-6f56b82cbb3d74747286de59ba96e6a2e36bbebf.tar.bz2
aports-6f56b82cbb3d74747286de59ba96e6a2e36bbebf.tar.xz
community/lcms: move from main
Diffstat (limited to 'community/lcms/configure-for-musl.patch')
-rw-r--r--community/lcms/configure-for-musl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/lcms/configure-for-musl.patch b/community/lcms/configure-for-musl.patch
new file mode 100644
index 0000000000..b9977dcbf6
--- /dev/null
+++ b/community/lcms/configure-for-musl.patch
@@ -0,0 +1,20 @@
+--- lcms-1.19/include/lcms.h.old 2009-10-30 10:57:45.000000000 -0500
++++ lcms-1.19/include/lcms.h 2017-09-08 00:47:09.931999949 -0500
+@@ -55,7 +55,7 @@
+
+ // Some machines does not have a reliable 'swab' function. Usually
+ // leave commented unless the testbed diagnoses the contrary.
+-// #define USE_CUSTOM_SWAB 1
++#define USE_CUSTOM_SWAB 1
+
+ // Uncomment this if your compiler supports inline
+ #define USE_INLINE 1
+@@ -64,7 +64,7 @@
+ // #define USE_DEFAULT_FLOOR_CONVERSION 1
+
+ // Uncomment this line on multithreading environments
+-// #define USE_PTHREADS 1
++#define USE_PTHREADS 1
+
+ // Uncomment this line if you want lcms to use the black point tag in profile,
+ // if commented, lcms will compute the black point by its own.