summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
author Lenard Spencer2022-04-23 03:33:58 +0200
committer Willy Sudiarto Raharjo2022-04-23 20:47:23 +0200
commit087495c941147f279e596f8b36a1024dda3f976c (patch)
treeae1b9f30fe516462d4e8fb58ab765f4ff5f81dbd /development
parent0188ee97282235ee13c1aa3b46b97aa233426c34 (diff)
downloadslackbuilds-087495c941147f279e596f8b36a1024dda3f976c.tar.gz
development/openjdk7: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/openjdk7/README7
-rw-r--r--development/openjdk7/openjdk7.SlackBuild3
2 files changed, 9 insertions, 1 deletions
diff --git a/development/openjdk7/README b/development/openjdk7/README
index b32c246c92..c2ed4940d3 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 b4775b46d8..1882d91d17 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/*