aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/unar/unar.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/unar/unar.SlackBuild b/system/unar/unar.SlackBuild
index f759acb89e..4a7c47261a 100644
--- a/system/unar/unar.SlackBuild
+++ b/system/unar/unar.SlackBuild
@@ -6,6 +6,9 @@
# Modified and now maintained by B. Watson <urchlay@slackware.uk>.
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250930 bkw:
+# - add -fpermissive to fix compile on -current testing/ gcc15.
+
# 20241006 bkw: BUILD=2
# - take over maintenance.
# - build in a top-level dir in $TMP (easier cleanup).
@@ -63,6 +66,10 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+# 20250930 bkw: lockywolf says this is needed for newer gcc, and it
+# does no harm on Slackware 15.0.
+SLKCFLAGS+=" -fpermissive"
+
cd XADMaster-$VERSION
export CFLAGS="$SLKCFLAGS"