summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2015-11-26 02:10:43 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-28 07:26:17 +0700
commit689873d2fadb635b34218b9831e9c6ddc6e9f790 (patch)
tree702565718f007b5fbc8c87f5ad5751b783a0a236
parentbd2d2d8020ac3f260436685857139e0ef7524142 (diff)
downloadslackbuilds-689873d2fadb635b34218b9831e9c6ddc6e9f790.tar.gz
slackbuilds-689873d2fadb635b34218b9831e9c6ddc6e9f790.tar.xz
audio/horgand: Fix compile issue.
-rw-r--r--audio/horgand/horgand.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/horgand/horgand.SlackBuild b/audio/horgand/horgand.SlackBuild
index 4947f52dcf..ef09b5dd4b 100644
--- a/audio/horgand/horgand.SlackBuild
+++ b/audio/horgand/horgand.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20151126 bkw:
+# - fix build on -current (preparing for 14.2)
+
PRGNAM=horgand
VERSION=${VERSION:-1.14}
BUILD=${BUILD:-3}
@@ -53,6 +56,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Slackware's extra/fltk doesn't have /usr/include/Fl -> FL
+sed -i '/#include/s,Fl/,FL/,' src/*
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \