aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk7
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2022-04-23 08:33:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-24 01:47:23 +0700
commit087495c941147f279e596f8b36a1024dda3f976c (patch)
treeae1b9f30fe516462d4e8fb58ab765f4ff5f81dbd /development/openjdk7
parent0188ee97282235ee13c1aa3b46b97aa233426c34 (diff)
development/openjdk7: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/openjdk7')
-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 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/*