[Slackbuilds-users] flite-2.0.0: patch to fix LDFLAGS issue

King Beowulf kingbeowulf at gmail.com
Wed Jun 14 19:02:35 UTC 2017


Hello
Some external speech programs, such as speech-dispatcher, can't find
libflite.so.  Attached is a patch, and modified flite.slackbuild diff
from current master, adapted from Arch, to fix that problem.

------------------8<-------------------------
diff --git a/accessibility/flite/flite.SlackBuild
b/accessibility/flite/flite.SlackBuild
old mode 100644
new mode 100755
index 4e0248f..3deba93
--- a/accessibility/flite/flite.SlackBuild
+++ b/accessibility/flite/flite.SlackBuild
@@ -27,7 +27,7 @@

 PRGNAM=flite
 VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}

 if [ -z "$ARCH" ]; then
@@ -72,6 +72,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" \
------------------>8-------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flite-ldflags-fix.patch
Type: text/x-patch
Size: 1913 bytes
Desc: not available
URL: <https://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170614/b277cea4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170614/b277cea4/attachment.asc>


More information about the SlackBuilds-users mailing list