summaryrefslogtreecommitdiff
path: root/accessibility/flite/flite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/flite/flite.SlackBuild')
-rw-r--r--accessibility/flite/flite.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/accessibility/flite/flite.SlackBuild b/accessibility/flite/flite.SlackBuild
index 4e0248f374..e6a22aea6d 100644
--- a/accessibility/flite/flite.SlackBuild
+++ b/accessibility/flite/flite.SlackBuild
@@ -4,6 +4,10 @@
# Originally written by Martin Lefebvre (dadexter@sekurity.com)
# Now maintained by B. Watson (yalhcru@gmail.com), original author is MIA.
+# 20170614 bkw:
+# - add ldflags patch from King Beowulf, to allow external programs
+# to link correctly with libflite.so. BUILD=2.
+
# 20150623 bkw:
# - fix doc build failure with standalone SBo texi2html, thanks
# to John Vogel for investigating this
@@ -27,7 +31,7 @@
PRGNAM=flite
VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,6 +76,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# fix LDLAGS to allow external programs to find libflite.so
+patch -p1 < $CWD/flite-ldflags-fix.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \