aboutsummaryrefslogtreecommitdiff
path: root/audio/rakarrack/rakarrack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rakarrack/rakarrack.SlackBuild')
-rw-r--r--audio/rakarrack/rakarrack.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/rakarrack/rakarrack.SlackBuild b/audio/rakarrack/rakarrack.SlackBuild
index 7688db10fe..c6e067c976 100644
--- a/audio/rakarrack/rakarrack.SlackBuild
+++ b/audio/rakarrack/rakarrack.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250807 bkw: BUILD=2, fix compile with fltk-1.4.
+
# 20241206 bkw:
# - update for last git commit, 0.6.2+20150813_a620840.
# - add some patches, including one that fixes a segfault on startup.
@@ -28,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rakarrack
VERSION=${VERSION:-0.6.2+20150813_a620840}
COMMIT=${COMMIT:-a6208406d94a1da978f435605072ee5caefe1491}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,6 +77,11 @@ unzip $CWD/$SRC.zip
cd $SRC
chown -R root:root .
+# 20250807 bkw: someone forgot to include a fltk header, I dunno if this
+# was considered OK in fltk-1.3 or if it just happened to work, but it
+# has to be explicit now:
+sed -i '/Fl_PNG_Image/a#include <FL/Fl_Shared_Image.H>' src/rakarrack.h
+
# 20241206 bkw: Every file is +x, do not revert to template.
find . -type f -a -exec chmod 644 {} + -o -type d -a -exec chmod 755 {} +