summaryrefslogtreecommitdiff
path: root/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c')
-rw-r--r--lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c b/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c
new file mode 100644
index 00000000000..d3347769d04
--- /dev/null
+++ b/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c,v 1.1 2015/02/08 08:41:25 tnn Exp $
+
+Ensure we use the bundled jpeg.
+
+--- jdk/src/share/native/sun/awt/image/jpeg/jpegdecoder.c.orig 2015-02-02 15:37:11.000000000 +0000
++++ jdk/src/share/native/sun/awt/image/jpeg/jpegdecoder.c
+@@ -44,7 +44,7 @@
+ /* undo "system_boolean" hack and undef FAR since we don't use it anyway */
+ #undef boolean
+ #undef FAR
+-#include <jpeglib.h>
++#include "jpeglib.h"
+ #include "jerror.h"
+
+ /* The method IDs we cache. Note that the last two belongs to the