summaryrefslogtreecommitdiff
path: root/libraries/fltk/fltk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fltk/fltk.SlackBuild')
-rw-r--r--libraries/fltk/fltk.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index aa3c06d2e0..69b18f7310 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -69,6 +69,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix underlinking.
+patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch
+patch -p1 -i $CWD/fltk-1.1.x-r5750-undefined.patch
+
# Fix linking when --libdir=/usr/lib64
sed -i \
-e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \