summaryrefslogtreecommitdiff
path: root/graphics/libecwj2/files/patch-Source-include-NCSMutex.h
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2010-08-03 10:26:57 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2010-08-03 10:26:57 +0000
commit214b06a42c3d7c239b4a04ea91486973892707ba (patch)
treeafa55c4a92e026d48ee93107fc05d648ce9e4b8e /graphics/libecwj2/files/patch-Source-include-NCSMutex.h
parentAllows building executables simply from sbcl. (diff)
Add graphics/libecwj2 that implements support for the JPEG2000 and
ECW image formats. Submitted by: glebius
Diffstat (limited to 'graphics/libecwj2/files/patch-Source-include-NCSMutex.h')
-rw-r--r--graphics/libecwj2/files/patch-Source-include-NCSMutex.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/libecwj2/files/patch-Source-include-NCSMutex.h b/graphics/libecwj2/files/patch-Source-include-NCSMutex.h
new file mode 100644
index 000000000000..916c40c96998
--- /dev/null
+++ b/graphics/libecwj2/files/patch-Source-include-NCSMutex.h
@@ -0,0 +1,20 @@
+--- Source/include/NCSMutex.h.orig 2009-04-05 21:26:21.000000000 +0400
++++ Source/include/NCSMutex.h 2009-04-05 21:27:18.000000000 +0400
+@@ -114,7 +114,7 @@
+
+ #define NCS_NULL_MUTEX { PTHREAD_MUTEX_INITIALIZER }
+
+-#elif defined LINUX
++#elif defined LINUX || defined FREEBSD
+
+ #define NCS_NULL_MUTEX PTHREAD_MUTEX_INITIALIZER
+
+@@ -123,7 +123,7 @@
+
+ #else /* MACINTOSH */
+
+-ERROR: Define NCS_NULL_MUTEX for this platform
++#error Define NCS_NULL_MUTEX for this platform
+
+ #endif /* WIN32 */
+