summaryrefslogtreecommitdiff
path: root/x11/p5-Tk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-05-31 09:54:23 +0000
committertron <tron@pkgsrc.org>2014-05-31 09:54:23 +0000
commitc9a7d62ec26258ce93dfde572f4e12f204d039e9 (patch)
treeb74ec3f25c3e419a60ade03341b7e4271793aaf7 /x11/p5-Tk
parent15c9480dc90eecee41a3301302a9ac7bc4a8c587 (diff)
downloadpkgsrc-c9a7d62ec26258ce93dfde572f4e12f204d039e9.tar.gz
Fix build with Perl 5.20.0.
Diffstat (limited to 'x11/p5-Tk')
-rw-r--r--x11/p5-Tk/distinfo3
-rw-r--r--x11/p5-Tk/patches/patch-pTK_Lang.h17
2 files changed, 19 insertions, 1 deletions
diff --git a/x11/p5-Tk/distinfo b/x11/p5-Tk/distinfo
index a014deeb43e..68931ca538e 100644
--- a/x11/p5-Tk/distinfo
+++ b/x11/p5-Tk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2013/05/31 20:13:24 adam Exp $
+$NetBSD: distinfo,v 1.21 2014/05/31 09:54:23 tron Exp $
SHA1 (Tk-804.031.tar.gz) = f2e9db4f2ae7f45be04471cc738239c08be7aa48
RMD160 (Tk-804.031.tar.gz) = 442b13da904881406e9965468eab1c7b084523ce
@@ -9,3 +9,4 @@ SHA1 (patch-ad) = b1a659fe92cdab86d8ff7b04937de9f0c25b080a
SHA1 (patch-ah) = 1b75be678e1bb31a182b3f9dcb9063bf4fc086a1
SHA1 (patch-ai) = f6ef20cb48f3ee08335a6410e873f3b5aa277b20
SHA1 (patch-aj) = ba3dfe1e7b7a19af1240b37186ab69d857d925f4
+SHA1 (patch-pTK_Lang.h) = fab9547c8d8786fe7eebb12f9ad3aaec2e4c08e2
diff --git a/x11/p5-Tk/patches/patch-pTK_Lang.h b/x11/p5-Tk/patches/patch-pTK_Lang.h
new file mode 100644
index 00000000000..462f4696a3f
--- /dev/null
+++ b/x11/p5-Tk/patches/patch-pTK_Lang.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-pTK_Lang.h,v 1.1 2014/05/31 09:54:23 tron Exp $
+
+Fix build with Perl 5.20.0 and newer.
+
+--- pTk/Lang.h.orig 2010-05-29 10:56:05.000000000 +0100
++++ pTk/Lang.h 2014-05-31 10:50:03.000000000 +0100
+@@ -4,10 +4,6 @@
+ #define STATIC_BUILD
+
+
+-#ifdef bool
+-#undef bool
+-#endif
+-
+ #include "tkConfig.h"
+ #define TCL_NO_DEPRECATED
+