summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmng/files/libmng-1.0.9-jpeg-compile.patch')
-rw-r--r--media-libs/libmng/files/libmng-1.0.9-jpeg-compile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/libmng/files/libmng-1.0.9-jpeg-compile.patch b/media-libs/libmng/files/libmng-1.0.9-jpeg-compile.patch
new file mode 100644
index 000000000000..59b27ac25232
--- /dev/null
+++ b/media-libs/libmng/files/libmng-1.0.9-jpeg-compile.patch
@@ -0,0 +1,13 @@
+--- libmng_conf.h 2006-10-03 05:11:10.000000000 -0400
++++ libmng_conf.h.new 2006-10-03 05:11:03.000000000 -0400
+@@ -94,6 +94,10 @@
+ so choose the one you've defined in jconfig.h; if you don't know what
+ the heck I'm talking about, just leave it at 8-bit support (thank you!) */
+
++#ifndef HAVE_LIBJPEG
++#define MNG_NO_INCLUDE_JNG
++#endif
++
+ #ifndef MNG_NO_INCLUDE_JNG
+ #ifdef MNG_SUPPORT_FULL /* full support includes JNG */
+ #define MNG_SUPPORT_IJG6B