summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-03-18 15:37:15 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-20 20:45:14 +0700
commit84540742bdcb5669cc9863016d5f89f592cc81be (patch)
tree48832a445afbcecc6d191f1aaa004c19e7ab92f2 /libraries
parent7a9a796aa1b02da54f0eee979bb7fae713b717ab (diff)
downloadslackbuilds-84540742bdcb5669cc9863016d5f89f592cc81be.tar.gz
slackbuilds-84540742bdcb5669cc9863016d5f89f592cc81be.tar.xz
libraries/qt3: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/qt3/qt3.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild
index 795bd64442..08c08ee885 100644
--- a/libraries/qt3/qt3.SlackBuild
+++ b/libraries/qt3/qt3.SlackBuild
@@ -29,6 +29,7 @@
# This is based on the original SlackBuild from /extra/kde-compat in
# Slackware 13.1
+# 20220318 bkw: fix 32-bit build.
# 20211120 bkw: BUILD=2, install the profile scripts non-executable.
# 20200226 bkw: quit spamming /root, no change to package
# 20180209 bkw: fix download link, pkgs.fedoraproject.org is now toast.
@@ -129,6 +130,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
export HOME=$( pwd )
+# 20220318 bkw: for some reason, "-I /usr/include/tirpc" is needed
+# on 32-bit, but not on 64-bit (but it does no harm there).
+
# And here's what we are currently using.
# The "yes" agrees to the GPL, so don't run this script if you don't agree. :-)
echo "yes" | \
@@ -157,7 +161,8 @@ CXXFLAGS="$SLKCFLAGS" \
-plugin-style-platinum \
-plugin-style-sgi \
-plugin-style-windows \
- -enable-opengl
+ -enable-opengl \
+ -I /usr/include/tirpc
# Set QTDIR...
QTDIR=$PKG/opt/kde3/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION