Ticket #21500: patch-SYSTEM_ZLIB.diff
File patch-SYSTEM_ZLIB.diff, 2.9 KB (added by mvfranz@…, 15 years ago) |
---|
-
openjdk/jdk/make/common/Defs-bsd.gmk
old new 315 315 SYSTEM_ZLIB = true 316 316 endif 317 317 318 ifeq ($(OS_VENDOR), Apple) 319 SYSTEM_ZLIB = true 320 endif 321 318 322 # 319 323 # Japanese manpages 320 324 # -
openjdk/jdk/make/java/instrument/Makefile
old new 117 117 OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv 118 118 endif 119 119 endif 120 ifeq ($(SYSTEM_ZLIB),true) 121 LDFLAGS += -lz 122 endif 120 123 else 121 124 LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli 122 125 OTHER_LDLIBS += -ljli -
openjdk/jdk/make/sun/splashscreen/Makefile
old new 65 65 CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg 66 66 ifneq ($(SYSTEM_ZLIB),true) 67 67 CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 68 else 69 OTHER_LDLIBS += -lz 68 70 endif 69 71 70 72 -
openjdk/jdk/src/share/native/java/util/zip/Adler32.c
old new 29 29 30 30 #include "jni.h" 31 31 #include "jni_util.h" 32 #ifdef SYSTEM_ZLIB 33 #include <zlib.h> 34 #else 32 35 #include "zlib.h" 36 #endif 33 37 34 38 #include "java_util_zip_Adler32.h" 35 39 -
openjdk/jdk/src/share/native/java/util/zip/CRC32.c
old new 29 29 30 30 #include "jni.h" 31 31 #include "jni_util.h" 32 #ifdef SYSTEM_ZLIB 33 #include <zlib.h> 34 #else 32 35 #include "zlib.h" 36 #endif 33 37 34 38 #include "java_util_zip_CRC32.h" 35 39 -
openjdk/jdk/src/share/native/java/util/zip/Deflater.c
old new 32 32 #include "jlong.h" 33 33 #include "jni.h" 34 34 #include "jni_util.h" 35 #ifdef SYSTEM_ZLIB 36 #include <zlib.h> 37 #else 35 38 #include "zlib.h" 39 #endif 36 40 37 41 #include "java_util_zip_Deflater.h" 38 42 -
openjdk/jdk/src/share/native/java/util/zip/Inflater.c
old new 35 35 #include "jni.h" 36 36 #include "jvm.h" 37 37 #include "jni_util.h" 38 #ifdef SYSTEM_ZLIB 39 #include <zlib.h> 40 #else 38 41 #include "zlib.h" 42 #endif 39 43 #include "java_util_zip_Inflater.h" 40 44 41 45 #define ThrowDataFormatException(env, msg) \ -
openjdk/jdk/src/share/native/java/util/zip/zip_util.c
old new 44 44 #include "io_util.h" 45 45 #include "io_util_md.h" 46 46 #include "zip_util.h" 47 #ifdef SYSTEM_ZLIB 48 #include <zlib.h> 49 #else 47 50 #include "zlib.h" 51 #endif 48 52 49 53 #ifdef _ALLBSD_SOURCE 50 54 #include "largefile_bsd.h"