Ticket #21500: patch-Makefile.am.diff
File patch-Makefile.am.diff, 11.4 KB (added by mvfranz@…, 15 years ago) |
---|
-
Makefile.am
old new 1 1 OPENJDK_VERSION = b66 2 2 3 OPENJDK_CHANGESET = e7eeeda332ec4 CORBA_CHANGESET = 1741ea5cb8545 JAXP_CHANGESET = b3d2bf4c255d6 JAXWS_CHANGESET = c37936a723327 JDK_CHANGESET = 51fcc41d8b248 LANGTOOLS_CHANGESET = 634f519d6f9a9 HOTSPOT_CHANGESET = 945fcffdbcab10 11 OPENJDK_MD5SUM = 8f63dbb0dcd83d905e243c58d013517412 CORBA_MD5SUM = 06ac898f583fc9eec179fc2d1dcb5c7113 JAXP_MD5SUM = 01118a1882ea1ac5205e232bd7c847f714 JAXWS_MD5SUM = 8c53573f9f072bb273435ee75c7aaaa315 JDK_MD5SUM = 5ca832939f80db7c2e836141a9cac98a16 LANGTOOLS_MD5SUM = cd1389112baa1b2b24da95555345c1b917 HOTSPOT_MD5SUM = ce3ab877df030cf4842001918898244e3 OPENJDK_CHANGESET = 428565383a55 4 CORBA_CHANGESET = d78d74f54632 5 JAXP_CHANGESET = 25b32432ad4c 6 JAXWS_CHANGESET = d2b6b2d2581d 7 JDK_CHANGESET = ac301b6fdfad 8 LANGTOOLS_CHANGESET = 41a366b862a2 9 HOTSPOT_CHANGESET = 4256b1662add 10 11 OPENJDK_MD5SUM = 4b21f32c4b61a31a59ddce92b7641c7c 12 CORBA_MD5SUM = ee1aefb1f2371011e30eedf5166d13ff 13 JAXP_MD5SUM = f47e800c83813ec7bf5bf37235f71ae9 14 JAXWS_MD5SUM = 4a199b6dba3906ebd17af77b02c9794e 15 JDK_MD5SUM = 077b359417c0e3643e81354e6c6efaf8 16 LANGTOOLS_MD5SUM = 5e6dedf7204ab5aeaeb08ddaf145589c 17 HOTSPOT_MD5SUM = b6740f515b71e1edf22dc433f1f13e24 18 18 19 19 CACAO_VERSION = 0.99.4 20 20 CACAO_MD5SUM = 63220327925ace13756ae334c55a3baa … … 1703 1703 CVMI_HG_URL = http://hg.openjdk.java.net/cvmi/cvmi/ 1704 1704 CLOSURES_HG_URL = http://hg.openjdk.java.net/closures/closures/ 1705 1705 CACIOCAVALLO_HG_URL = http://hg.openjdk.java.net/caciocavallo/jdk7/ 1706 #BSD_HG_URL = /Volumes/Data/Users/mfranz/developer/openjdk-bsd/repos/bsd-port-b66 1706 1707 BSD_HG_URL = http://hg.openjdk.java.net/bsd-port/bsd-port 1707 1708 NIO2_HG_URL = http://hg.openjdk.java.net/nio/nio/ 1708 1709 1709 OPENJDK_URL = $( ICEDTEA_HG_URL)1710 CORBA_URL = $( ICEDTEA_HG_URL)/corba1711 JAXP_URL = $( ICEDTEA_HG_URL)/jaxp1712 JAXWS_URL = $( ICEDTEA_HG_URL)/jaxws1713 JDK_URL = $( ICEDTEA_HG_URL)/jdk1714 LANGTOOLS_URL = $( ICEDTEA_HG_URL)/langtools1715 HOTSPOT_URL = $( ICEDTEA_HG_URL)/hotspot1710 OPENJDK_URL = $(BSD_HG_URL) 1711 CORBA_URL = $(BSD_HG_URL)/corba 1712 JAXP_URL = $(BSD_HG_URL)/jaxp 1713 JAXWS_URL = $(BSD_HG_URL)/jaxws 1714 JDK_URL = $(BSD_HG_URL)/jdk 1715 LANGTOOLS_URL = $(BSD_HG_URL)/langtools 1716 HOTSPOT_URL = $(BSD_HG_URL)/hotspot 1716 1717 1717 1718 if USE_HG 1718 1719 OPENJDK_SRC_ZIP = … … 1792 1793 if USE_CACIOCAVALLO 1793 1794 $(HG) fclone $(CACIOCAVALLO_HG_URL) openjdk; 1794 1795 else 1795 if USE_BSD1796 $(HG) fclone $(BSD_HG_URL) openjdk;1797 else1798 1796 if USE_NIO2 1799 1797 hg fclone $(NIO2_HG_URL) openjdk; 1800 1798 else 1801 1799 if USE_JDK7 1802 1800 hg fclone $(OPENJDK_HG_URL) openjdk; 1803 1801 else 1804 1802 if USE_HG 1805 1803 if WITH_HGREV … … 1808 1806 $(HG) fclone $(ICEDTEA_HG_URL) openjdk; 1809 1807 endif 1810 1808 else 1809 if USE_BSD 1811 1810 if ! echo "$(OPENJDK_MD5SUM) $(OPENJDK_SRC_ZIP)" \ 1812 1811 | $(MD5SUM) --check ; \ 1813 1812 then \ … … 1975 1974 for target in $(abs_top_srcdir)/ports/hotspot/make/*/makefiles/* \ 1976 1975 $(abs_top_srcdir)/ports/hotspot/src/cpu/zero/vm/* \ 1977 1976 $(abs_top_srcdir)/ports/hotspot/src/share/vm/*; do \ 1978 link=$$(dirname $$target | sed's/^.*ports/openjdk/'|sed "s#hotspot/build#hotspot/make#"); \1977 link=$$(dirname $$target | $(SED) 's/^.*ports/openjdk/'|sed "s#hotspot/build#hotspot/make#"); \ 1979 1978 ln -sfv $$target $$link; \ 1980 1979 done 1981 1980 if ! test "x$(ICEDTEA_CORE_BUILD)$(ICEDTEA_SHARK_BUILD)$(WITH_CACAO)" \ … … 2018 2017 patches/icedtea-float-double-trailing-zeros.patch \ 2019 2018 patches/hotspot/$(HSBUILD)/icedtea-memory-limits.patch \ 2020 2019 patches/icedtea-sunsrc.patch \ 2021 patches/icedtea-libraries.patch \2022 2020 patches/icedtea-core-build.patch \ 2023 2021 patches/icedtea-zero-build.patch \ 2024 2022 patches/icedtea-print-lsb-release.patch \ … … 2030 2028 patches/hotspot/$(HSBUILD)/icedtea-sparc-ptracefix.patch \ 2031 2029 patches/hotspot/$(HSBUILD)/icedtea-sparc-trapsfix.patch \ 2032 2030 patches/icedtea-override-redirect-metacity.patch \ 2033 patches/icedtea-shark-build.patch \2034 patches/hotspot/$(HSBUILD)/icedtea-shark-build.patch \2035 2031 patches/icedtea-security-updates.patch \ 2036 2032 patches/icedtea-jdk-docs-target.patch \ 2037 2033 patches/icedtea-mbeanintrospector.patch \ 2038 2034 patches/icedtea-hotspot-gcc-pr36917.patch \ 2039 2035 patches/icedtea-alpha-fixes.patch \ 2040 2036 patches/icedtea-alt-jar.patch \ 2041 patches/icedtea-jdk-use-ssize_t.patch \2042 2037 patches/hotspot/$(HSBUILD)/icedtea-use-idx_t.patch \ 2043 2038 patches/hotspot/$(HSBUILD)/icedtea-params-cast-size_t.patch \ 2044 2039 patches/icedtea-clean-crypto.patch \ 2045 2040 patches/hotspot/$(HSBUILD)/icedtea-shark.patch \ 2046 2041 $(GCC_PATCH) \ 2047 patches/cacao/arch.patch \2048 2042 patches/icedtea-signed-types.patch \ 2049 2043 patches/icedtea-lc_ctype.patch \ 2050 2044 patches/icedtea-xjc.patch \ … … 2052 2046 patches/icedtea-tests-jdk.patch \ 2053 2047 patches/icedtea-stroker-finish.patch \ 2054 2048 patches/icedtea-alsa-default-device.patch \ 2055 patches/icedtea-linker-libs-order.patch \2056 2049 patches/icedtea-testenv.patch \ 2057 2050 patches/icedtea-samejvm-safe.patch \ 2058 2051 patches/icedtea-pr261.patch \ … … 2132 2125 2133 2126 stamps/extract.stamp: stamps/download.stamp 2134 2127 if OPENJDK_SRC_DIR_FOUND 2135 cp-a $(OPENJDK_SRC_DIR) openjdk2128 ${CP) -a $(OPENJDK_SRC_DIR) openjdk 2136 2129 else 2137 2130 if ! test -d openjdk ; then \ 2138 2131 if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \ … … 2140 2133 *.zip) $(UNZIP) -q $(OPENJDK_SRC_ZIP) ;; \ 2141 2134 *.tar.*) $(TAR) xf $(OPENJDK_SRC_ZIP) ;; \ 2142 2135 esac; \ 2143 mv jdk7-$(OPENJDK_CHANGESET) openjdk ; \2136 mv bsd-port-$(OPENJDK_CHANGESET) openjdk ; \ 2144 2137 if test "x${HSBUILD}" != "xdefault"; then \ 2145 2138 rm -rf openjdk/hotspot ; \ 2146 2139 fi ; \ … … 2231 2224 chmod -R ug+w openjdk 2232 2225 sh $(srcdir)/fsg.sh ; 2233 2226 find openjdk -name '*.java' \ 2234 -exec sed-i 's/^[[:space:]]*@Override//' {} + ; \2227 -exec $(SED) -i 's/^[[:space:]]*@Override//' {} + ; \ 2235 2228 mkdir -p stamps 2236 2229 touch stamps/extract.stamp 2237 2230 … … 2253 2246 2254 2247 stamps/generated.stamp: stamps/extract-cacao.stamp 2255 2248 if [ ! -e $(abs_top_builddir)/generated ]; then \ 2256 cp-a $(abs_top_srcdir)/generated $(abs_top_builddir); \2249 $(CP) -a $(abs_top_srcdir)/generated $(abs_top_builddir); \ 2257 2250 find $(abs_top_builddir)/generated -type f -exec chmod 640 '{}' ';' \ 2258 2251 -o -type d -exec chmod 750 '{}' ';'; \ 2259 2252 fi … … 2269 2262 do \ 2270 2263 if test x$${all_patches_ok} == "xyes" \ 2271 2264 && echo Checking $$p \ 2272 && $(PATCH) -l -p1 --dry-run -s -t -f -F 0< $(abs_top_srcdir)/$$p ; \2265 && $(PATCH) -l -p1 --dry-run -s -t -f -F 3 < $(abs_top_srcdir)/$$p ; \ 2273 2266 then \ 2274 2267 echo Applying $$p ; \ 2275 2268 $(PATCH) -l -p1 < $(abs_top_srcdir)/$$p ; \ … … 2283 2276 if test x$${all_patches_ok} = "xyes" \ 2284 2277 && echo Checking $$p \ 2285 2278 && $(PATCH) -l -p0 --dry-run -s -t -f \ 2286 -F 0< $(abs_top_srcdir)/$$p ; \2279 -F 3 < $(abs_top_srcdir)/$$p ; \ 2287 2280 then \ 2288 2281 echo Applying $$p ; \ 2289 2282 $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \ … … 2305 2298 mv stamps/patch.stamp.tmp stamps/patch.stamp 2306 2299 2307 2300 if ENABLE_NPPLUGIN 2308 cp-a $(abs_top_srcdir)/plugin/icedteanp/java/sun/applet/*java openjdk/jdk/src/share/classes/sun/applet/2301 $(CP) -a $(abs_top_srcdir)/plugin/icedteanp/java/sun/applet/*java openjdk/jdk/src/share/classes/sun/applet/ 2309 2302 mkdir -p rt 2310 cp-a $(abs_top_srcdir)/plugin/icedteanp/java/netscape rt/2303 $(CP) -a $(abs_top_srcdir)/plugin/icedteanp/java/netscape rt/ 2311 2304 else 2312 2305 if ENABLE_PLUGIN 2313 cp-a $(abs_top_srcdir)/plugin/icedtea/sun/applet/*java openjdk/jdk/src/share/classes/sun/applet/2306 $(CP) -a $(abs_top_srcdir)/plugin/icedtea/sun/applet/*java openjdk/jdk/src/share/classes/sun/applet/ 2314 2307 mkdir -p rt 2315 cp-a $(abs_top_srcdir)/plugin/icedtea/netscape rt/2308 $(CP) -a $(abs_top_srcdir)/plugin/icedtea/netscape rt/ 2316 2309 chmod -R ug+w rt 2317 2310 endif 2318 2311 endif … … 2363 2356 if test x$${all_patches_ok} = "xyes" \ 2364 2357 && echo Checking $$p \ 2365 2358 && $(PATCH) -l -p0 --dry-run -s -t -f \ 2366 -F 0< $(abs_top_srcdir)/$$p ; \2359 -F 3 < $(abs_top_srcdir)/$$p ; \ 2367 2360 then \ 2368 2361 echo Applying $$p ; \ 2369 2362 $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \ … … 2427 2420 if test x"$(VERSION_SUFFIX)" != "x"; then \ 2428 2421 ver_suffix="-$(VERSION_SUFFIX)"; \ 2429 2422 fi ; \ 2430 sed-i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \2423 $(SED) -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \ 2431 2424 openjdk/jdk/make/common/shared/Defs.gmk; \ 2432 2425 cp -r $(abs_top_srcdir)/overlays/openjdk/* openjdk/ 2433 2426 chmod -R ug+w openjdk … … 2439 2432 # Copy over OpenJDK sources for ecj. 2440 2433 stamps/clone-ecj.stamp: stamps/overlay.stamp 2441 2434 if ! test -d openjdk-ecj ; then \ 2442 cp-pPRl openjdk openjdk-ecj ; \2435 $(CP) -pPRl openjdk openjdk-ecj ; \ 2443 2436 fi 2444 2437 mkdir -p stamps 2445 2438 touch stamps/clone-ecj.stamp … … 2492 2485 if test x$${all_patches_ok} = "xyes" \ 2493 2486 && echo Checking $$p \ 2494 2487 && $(PATCH) -l -p0 --dry-run -s -t -f \ 2495 -F 0< $(abs_top_srcdir)/$$p ; \2488 -F 3 < $(abs_top_srcdir)/$$p ; \ 2496 2489 then \ 2497 2490 echo Applying $$p ; \ 2498 2491 $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \ … … 2740 2733 mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ 2741 2734 grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ 2742 2735 if test $$? -eq 0; then \ 2743 sed-e '/\/client\/libjvm.so/d' \2736 $(SED) -e '/\/client\/libjvm.so/d' \ 2744 2737 < $(abs_top_builddir)/tapset/hotspot.stp \ 2745 2738 > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \ 2746 2739 else \ … … 2826 2819 mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ 2827 2820 grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ 2828 2821 if test $$? -eq 0; then \ 2829 sed-e '/\/client\/libjvm.so/d' \2822 $(SED) -e '/\/client\/libjvm.so/d' \ 2830 2823 < $(abs_top_builddir)/tapset/hotspot.stp \ 2831 2824 > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \ 2832 2825 else \ … … 3159 3152 (cd $(abs_top_builddir)/netx.build ; \ 3160 3153 mkdir -p lib ; \ 3161 3154 $(ICEDTEA_BOOT_DIR)/bin/jar cf lib/classes.jar javax/jnlp net ; \ 3162 cp-a $(abs_top_srcdir)/netx src; \3155 $(CP) -a $(abs_top_srcdir)/netx src; \ 3163 3156 find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'; \ 3164 3157 cd src ; \ 3165 3158 $(ICEDTEA_BOOT_DIR)/bin/jar uf $(abs_top_builddir)/netx.build/lib/classes.jar \ … … 3185 3178 ln -s $(JIBX_DIR)/jibx-run.jar $(JIBX_DEPS_DIR) 3186 3179 else 3187 3180 mkdir -p $(BUILD_OUTPUT_DIR)/gensrc/javax/swing/plaf 3188 cp-a $(abs_top_builddir)/generated/javax/swing/plaf/nimbus \3181 $(CP) -a $(abs_top_builddir)/generated/javax/swing/plaf/nimbus \ 3189 3182 $(BUILD_OUTPUT_DIR)/gensrc/javax/swing/plaf 3190 3183 endif 3191 3184 endif … … 3459 3452 $(ARCH_PREFIX) $(MAKE) -C zerovm $(ICEDTEA_BUILD_TARGET) 3460 3453 3461 3454 mkdir -p $(BUILD_JRE_ARCH_DIR)/zero 3462 cp-a zerovm/openjdk/build/$(OS_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \3455 $(CP) -a zerovm/openjdk/build/$(OS_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \ 3463 3456 $(BUILD_JRE_ARCH_DIR)/zero/ 3464 3457 printf -- '-zero KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg 3465 3458 else … … 3479 3472 $(ARCH_PREFIX) $(MAKE) -C zerovm $(ICEDTEA_DEBUG_BUILD_TARGET) 3480 3473 3481 3474 mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/zero 3482 cp-a zerovm/openjdk/build/$(OS_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \3475 $(CP) -a zerovm/openjdk/build/$(OS_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \ 3483 3476 $(BUILD_DEBUG_JRE_ARCH_DIR)/zero/ 3484 3477 printf -- '-zero KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg 3485 3478 else … … 3549 3542 # FIXME: this might need some adjustment for other OS than Linux 3550 3543 jtreg_processes = ps x -ww -o pid,ppid,args \ 3551 3544 | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,/scratch)/' \ 3552 | sed's,$(CURDIR)/$(sdkimg),<sdkimg>,g;s,$(CURDIR),<pwd>,g'3545 | $(SED) 's,$(CURDIR)/$(sdkimg),<sdkimg>,g;s,$(CURDIR),<pwd>,g' 3553 3546 jtreg_pids = ps x --no-headers -ww -o pid,ppid,args \ 3554 3547 | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,$(CURDIR)/$(sdkimg))/ {print $$1}' 3555 3548