summaryrefslogtreecommitdiff
path: root/multimedia/xbmc/patches/jpegint_h.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-06-14 14:32:26 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-14 14:32:26 -0500
commitb4928b094cbb4b18c7794e3c2e8f6fd9cd3841f3 (patch)
tree62da6196fa3652a9edfda7630b78cc6ab5510418 /multimedia/xbmc/patches/jpegint_h.patch
parentfb95ef9e78fb0763ab98388e45d6a39f55e160ce (diff)
downloadslackbuilds-b4928b094cbb4b18c7794e3c2e8f6fd9cd3841f3.tar.gz
multimedia/xbmc: Added (Multi-platform Media Center)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'multimedia/xbmc/patches/jpegint_h.patch')
-rw-r--r--multimedia/xbmc/patches/jpegint_h.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/xbmc/patches/jpegint_h.patch b/multimedia/xbmc/patches/jpegint_h.patch
new file mode 100644
index 0000000000..61e8d78c03
--- /dev/null
+++ b/multimedia/xbmc/patches/jpegint_h.patch
@@ -0,0 +1,17 @@
+diff -Naur XBMC.orig/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c
+--- XBMC.orig/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c 2009-05-26 22:38:28.000000000 +0000
++++ XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c 2009-09-08 00:55:37.000000000 +0000
+@@ -31,11 +31,9 @@
+ #endif
+ #define JPEG_INTERNALS /* Include "jpegint.h" for "DSTATE_*" symbols */
+ #undef INLINE
+-#ifdef _LINUX
+-#include <jpeglib.h>
+-#else
++#ifdef _LINUX
+ #include "../jpeg/jpeglib.h"
+-#endif
++#endif
+ #undef JPEG_INTERNALS
+
+ /* Hack for Microsoft's Wang Imaging for Windows output files */