summaryrefslogtreecommitdiff
path: root/icc/SampleICC-1.3.2.patch
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2008-01-10 15:17:14 +0000
committerPhilipp Lohmann <pl@openoffice.org>2008-01-10 15:17:14 +0000
commita898a5243cd1e1ca5cd525a8f39d9edffc12acc0 (patch)
tree9dcca7dc53b858c9bf46964a6ae9f8987a1d151c /icc/SampleICC-1.3.2.patch
parent23d4ebbdcb5a0952132040bbd8f928083789210a (diff)
#i81093# fix a compile problem on solaris
Diffstat (limited to 'icc/SampleICC-1.3.2.patch')
-rw-r--r--icc/SampleICC-1.3.2.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/icc/SampleICC-1.3.2.patch b/icc/SampleICC-1.3.2.patch
index 9f0e3edce51e..75829b283135 100644
--- a/icc/SampleICC-1.3.2.patch
+++ b/icc/SampleICC-1.3.2.patch
@@ -1,3 +1,17 @@
+--- SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp 2007-08-20 22:04:54.000000000 +0200
++++ misc/build/SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp 2008-01-10 16:50:32.470786602 +0100
+@@ -83,7 +83,11 @@
+ using namespace std;
+
+ #ifndef WIN32
++#ifdef PLATFORM_SUNOS5
++#include <errno.h>
++#else
+ #include <sys/errno.h>
++#endif
+ #else
+ #include <string.h>
+ int strerror_r(int errnum, char *str, int strsize)
--- SampleICC-1.3.2/IccProfLib/icProfileHeader.h 2007-08-20 22:05:00.000000000 +0200
+++ misc/build/SampleICC-1.3.2/IccProfLib/icProfileHeader.h 2008-01-10 13:49:26.389626916 +0100
@@ -659,10 +659,11 @@