summaryrefslogtreecommitdiffstats
path: root/perl/perl-tk/perl-tk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-tk/perl-tk.SlackBuild')
-rw-r--r--perl/perl-tk/perl-tk.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/perl/perl-tk/perl-tk.SlackBuild b/perl/perl-tk/perl-tk.SlackBuild
index 11b9d93e12..9082204c46 100644
--- a/perl/perl-tk/perl-tk.SlackBuild
+++ b/perl/perl-tk/perl-tk.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=perl-tk
VERSION=${VERSION:-804.029}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,7 +52,11 @@ find . \
-exec chmod 644 {} \;
# Apply a few patches
-patch -p1 < $CWD/$PRGNAM-$VERSION.diff
+patch -p1 < $CWD/patches/$PRGNAM-$VERSION.diff
+
+# Fix build failure with libX11-1.4.0 where they added an "X11_" string to
+# header guards to avoid possible collision.
+patch -p1 < $CWD/patches/804.029-X11_XLIB_H.patch
# XFT=1 (font manager) support, which gives perl-tk programs the ability to
# use all fonts accessible from XFT and antialiasing.