From 84540742bdcb5669cc9863016d5f89f592cc81be Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 18 Mar 2022 15:37:15 -0400 Subject: libraries/qt3: Fix 32-bit build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/qt3/qt3.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild index 795bd64442fe..08c08ee885b8 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 -- cgit v1.2.3