summaryrefslogtreecommitdiff
path: root/multimedia/xbmc/patches/jpegint_h.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:59:52 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:59:52 +0200
commitb6cff031844be6c872e146e703d5be11ac7e8b56 (patch)
tree01afec609016d2f2e80793cfb30480c6bef9d570 /multimedia/xbmc/patches/jpegint_h.patch
parent8b2d5f869adfa105c2a362b3504c89963b727973 (diff)
downloadslackbuilds-b6cff031844be6c872e146e703d5be11ac7e8b56.tar.gz
multimedia/xbmc: Added to 13.0 repository
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 */