From 214b06a42c3d7c239b4a04ea91486973892707ba Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 3 Aug 2010 10:26:57 +0000 Subject: Add graphics/libecwj2 that implements support for the JPEG2000 and ECW image formats. Submitted by: glebius --- .../libecwj2/files/patch-Source-include-NCSMutex.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 graphics/libecwj2/files/patch-Source-include-NCSMutex.h (limited to 'graphics/libecwj2/files/patch-Source-include-NCSMutex.h') 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 */ + -- cgit v1.2.3