From 087495c941147f279e596f8b36a1024dda3f976c Mon Sep 17 00:00:00 2001 From: Lenard Spencer Date: Sat, 23 Apr 2022 08:33:58 +0700 Subject: development/openjdk7: Fix script. Signed-off-by: Willy Sudiarto Raharjo --- development/openjdk7/README | 7 +++++++ development/openjdk7/openjdk7.SlackBuild | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'development/openjdk7') diff --git a/development/openjdk7/README b/development/openjdk7/README index b32c246c9296f..c2ed4940d30ee 100644 --- a/development/openjdk7/README +++ b/development/openjdk7/README @@ -22,3 +22,10 @@ TMP=/your/temporary/dir ./openjdk7.SlackBuild The 'cacerts' binary is a keystore containing CA certificates which are used by Java applications. It is taken from the CentOS package 'ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm'. + +NOTE: 32-bit builds are broken ATM but we are still working on it. +If you would like to help, the problem is when linking the launcher +the build system insists on trying to link with /usr/lib/libstd++.so.6 +(which belongs to gcc11), instead of the one in +/usr/lib/gcc/i586-slackware-linux/5.5.0, erroring out with message +"undefined reference to `__divmoddi4@GCC_7.0.0". diff --git a/development/openjdk7/openjdk7.SlackBuild b/development/openjdk7/openjdk7.SlackBuild index b4775b46d8950..1882d91d1799e 100644 --- a/development/openjdk7/openjdk7.SlackBuild +++ b/development/openjdk7/openjdk7.SlackBuild @@ -128,6 +128,7 @@ JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \ --disable-system-kerberos \ --disable-system-pcsc \ --disable-system-sctp \ + --disable-system-zlib \ --disable-compile-against-syscalls \ --with-cacerts-file="$CWD/cacerts" \ $( @@ -165,7 +166,7 @@ find -L . \ mkdir -p $PKG/etc/profile.d for file in $(ls "$CWD/profile.d/${PRGNAM}"*) ; do - cat $file | sed -e "s#lib/java#lib${LIBDIRSUFFIX}/java#" \ + cat $file | sed -e "s#lib/openjdk#lib${LIBDIRSUFFIX}/openjdk#" \ > $PKG/etc/profile.d/$(basename $file) done chmod 755 $PKG/etc/profile.d/* -- cgit v1.2.3