summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c')
-rw-r--r--lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c b/lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c
new file mode 100644
index 00000000000..39a3d698a34
--- /dev/null
+++ b/lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c,v 1.1 2013/06/15 09:31:06 jperkin Exp $
+
+Ensure we use the bundled jpeg.
+
+--- jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c.orig 2013-02-20 17:07:30.000000000 +0000
++++ jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c
+@@ -50,7 +50,7 @@
+ #include "com_sun_imageio_plugins_jpeg_JPEGImageWriter.h"
+
+ /* headers from the JPEG library */
+-#include <jpeglib.h>
++#include "jpeglib.h"
+ #include "jerror.h"
+
+ #undef MAX