summaryrefslogtreecommitdiffstats
path: root/perl/perl-tk/perl-tk.SlackBuild
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2011-03-24 20:58:38 -0400
committer dsomero <xgizzmo@slackbuilds.org>2011-03-24 20:58:38 -0400
commit195d1cef7b94f22c29ff5d98b3888933d082581a (patch)
tree7286f15345511dc59d233fa53b9dee0b418f54e4 /perl/perl-tk/perl-tk.SlackBuild
parentedf08cbd083416ae4445d3318a524420880df3d1 (diff)
downloadslackbuilds-195d1cef7b94f22c29ff5d98b3888933d082581a.tar.gz
slackbuilds-195d1cef7b94f22c29ff5d98b3888933d082581a.tar.xz
perl/perl-tk: Added a patch to fix building with new xorg in 13.37.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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.