diff options
Diffstat (limited to 'graphics/libecwj2/files/patch-Source-C-NCSUtil-util.c')
-rw-r--r-- | graphics/libecwj2/files/patch-Source-C-NCSUtil-util.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/libecwj2/files/patch-Source-C-NCSUtil-util.c b/graphics/libecwj2/files/patch-Source-C-NCSUtil-util.c new file mode 100644 index 000000000000..53ae91e1d8f5 --- /dev/null +++ b/graphics/libecwj2/files/patch-Source-C-NCSUtil-util.c @@ -0,0 +1,30 @@ +--- Source/C/NCSUtil/util.c.orig 2009-04-05 21:59:28.000000000 +0400 ++++ Source/C/NCSUtil/util.c 2009-04-05 22:05:04.000000000 +0400 +@@ -163,15 +163,9 @@ + if(nSizeBytes < 1024) { + #ifdef WIN32 + sprintf(buf, "%I64d bytes", nSizeBytes); +-#elif defined SOLARIS +- sprintf(buf, "%lld bytes", nSizeBytes); + #elif defined MACINTOSH + sprintf(buf, "%I64d bytes", nSizeBytes); +-#elif defined HPUX +- sprintf(buf, "%lld bytes", nSizeBytes); +-#elif defined LINUX +- sprintf(buf, "%lld bytes", nSizeBytes); +-#elif defined MACOSX ++#elif defined POSIX + sprintf(buf, "%lld bytes", nSizeBytes); + #else + #error whats the 64bit format specifier? +@@ -306,6 +300,10 @@ + + return(NCS_MACINTOSH_OSX); + ++#elif defined FREEBSD ++ ++ return(NCS_FREEBSD); ++ + #else /* WIN32 */ + #error - NCSGetPlatform() + #endif /* WIN32 */ |