summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch20
1 files changed, 9 insertions, 11 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch b/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch
index 13d3045..dbc714e 100644
--- a/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch
+++ b/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch
@@ -1,7 +1,7 @@
1From bdf8cb302ab7c8f11b676f93da482cd4a9405ce4 Mon Sep 17 00:00:00 2001 1From ce26d6cbb550039516432993894d65660b7c9e06 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> 2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Tue, 27 Feb 2018 13:43:04 +0000 3Date: Tue, 27 Feb 2018 13:43:04 +0000
4Subject: [PATCH 2003/2008] jdk: Allow using a system-installed libpng 4Subject: [PATCH] jdk: Allow using a system-installed libpng
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -18,16 +18,17 @@ Issues fixed on top of debian patch:
18Upstream-Status: Backport 18Upstream-Status: Backport
19Signed-off-by: André Draszik <andre.draszik@jci.com> 19Signed-off-by: André Draszik <andre.draszik@jci.com>
20Signed-off-by: Richard Leitner <richard.leitner@skidata.com> 20Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
21
21--- 22---
22 make/lib/Awt2dLibraries.gmk | 12 +++++++++--- 23 jdk/make/lib/Awt2dLibraries.gmk | 12 +++++++++---
23 .../native/sun/awt/splashscreen/splashscreen_png.c | 3 +-- 24 .../native/sun/awt/splashscreen/splashscreen_png.c | 3 +--
24 2 files changed, 10 insertions(+), 5 deletions(-) 25 2 files changed, 10 insertions(+), 5 deletions(-)
25 26
26diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk 27diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk
27index 12b9da11d..cd8b94cd8 100644 28index 7fffcafc..7f42e09c 100644
28--- a/jdk/make/lib/Awt2dLibraries.gmk 29--- a/jdk/make/lib/Awt2dLibraries.gmk
29+++ b/jdk/make/lib/Awt2dLibraries.gmk 30+++ b/jdk/make/lib/Awt2dLibraries.gmk
30@@ -1148,7 +1148,6 @@ endif 31@@ -1155,7 +1155,6 @@ endif
31 ifndef BUILD_HEADLESS_ONLY 32 ifndef BUILD_HEADLESS_ONLY
32 LIBSPLASHSCREEN_DIRS := \ 33 LIBSPLASHSCREEN_DIRS := \
33 $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg \ 34 $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg \
@@ -35,7 +36,7 @@ index 12b9da11d..cd8b94cd8 100644
35 $(JDK_TOPDIR)/src/share/native/sun/awt/splashscreen 36 $(JDK_TOPDIR)/src/share/native/sun/awt/splashscreen
36 37
37 ifeq ($(USE_EXTERNAL_LIBGIF), true) 38 ifeq ($(USE_EXTERNAL_LIBGIF), true)
38@@ -1165,6 +1164,13 @@ ifndef BUILD_HEADLESS_ONLY 39@@ -1172,6 +1171,13 @@ ifndef BUILD_HEADLESS_ONLY
39 LIBJPEG_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg 40 LIBJPEG_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg
40 endif 41 endif
41 42
@@ -49,7 +50,7 @@ index 12b9da11d..cd8b94cd8 100644
49 ifneq ($(OPENJDK_TARGET_OS), macosx) 50 ifneq ($(OPENJDK_TARGET_OS), macosx)
50 LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen 51 LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen
51 else 52 else
52@@ -1222,12 +1228,12 @@ ifndef BUILD_HEADLESS_ONLY 53@@ -1229,12 +1235,12 @@ ifndef BUILD_HEADLESS_ONLY
53 LANG := C, \ 54 LANG := C, \
54 OPTIMIZATION := LOW, \ 55 OPTIMIZATION := LOW, \
55 CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) $(CFLAGS_JDKLIB) \ 56 CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) $(CFLAGS_JDKLIB) \
@@ -65,7 +66,7 @@ index 12b9da11d..cd8b94cd8 100644
65 VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ 66 VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \
66 RC_FLAGS := $(RC_FLAGS) \ 67 RC_FLAGS := $(RC_FLAGS) \
67diff --git a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c 68diff --git a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c
68index 3599433e4..5bf002ea1 100644 69index 3599433e..5bf002ea 100644
69--- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c 70--- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c
70+++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c 71+++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c
71@@ -25,8 +25,7 @@ 72@@ -25,8 +25,7 @@
@@ -78,6 +79,3 @@ index 3599433e4..5bf002ea1 100644
78 #include <setjmp.h> 79 #include <setjmp.h>
79 80
80 #define SIG_BYTES 8 81 #define SIG_BYTES 8
81--
822.24.1
83