diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-09 19:02:55 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-10 02:58:00 +0000 |
commit | ab4fb8ed3e22f13d0c7b235ba46527f148ab9b92 (patch) | |
tree | e99b23bf9f0b728f514bbf845c0496318b754aaf /main/lcms/configure-for-musl.patch | |
parent | fb58cd9b0a94c4e03bd2bad76140ea92dc7bdd5c (diff) |
main/lcms: modernise, license, test suite, config
The swab configuration knob is needed for big endian builds.
Diffstat (limited to 'main/lcms/configure-for-musl.patch')
-rw-r--r-- | main/lcms/configure-for-musl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/lcms/configure-for-musl.patch b/main/lcms/configure-for-musl.patch new file mode 100644 index 00000000000..b9977dcbf64 --- /dev/null +++ b/main/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. |