--- patches/alternative_krb5_cache_fixup.patch +++ patches/alternative_krb5_cache_fixup.patch @@ -1,10 +1,11 @@ diff -Nru openjdk.orig/jdk/make/jdk_generic_profile.sh openjdk/jdk/make/jdk_generic_profile.sh --- openjdk.orig/jdk/make/jdk_generic_profile.sh 2013-08-30 02:41:17.276807687 +0100 +++ openjdk/jdk/make/jdk_generic_profile.sh 2013-08-30 12:11:12.428923185 +0100 -@@ -467,5 +467,14 @@ - export LCMS_CFLAGS - export LCMS_LIBS - +@@ -446,3 +447,12 @@ + export LLVM_LIBS + fi + fi ++ +# Export variables for system krb5 +# KRB5_CFLAGS and KRB5_LIBS tell the compiler how to compile and +# link against Kerberos @@ -12,9 +13,6 @@ + KRB5_LIBS="-lkrb5" +fi +export KRB5_LIBS -+ - # IcedTea defaults; use system libraries - export SYSTEM_LCMS=true +export SYSTEM_KRB5=true diff -Nru openjdk.orig/jdk/make/sun/security/krb5/internal/ccache/Makefile openjdk/jdk/make/sun/security/krb5/internal/ccache/Makefile --- openjdk.orig/jdk/make/sun/security/krb5/internal/ccache/Makefile 2013-08-30 02:41:17.408809749 +0100