aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/blt
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2010-01-24 09:18:32 +0800
committermi <mi@FreeBSD.org>2010-01-24 09:18:32 +0800
commit9141e3ae989b1a8002e9d2d99bbc722d41f41931 (patch)
treef8b82629615e6341e2b863b2efd737887d3f322f /x11-toolkits/blt
parent556b2a8c5be636ec9f0bb921a66dd087160f3d4f (diff)
downloadfreebsd-ports-gnome-9141e3ae989b1a8002e9d2d99bbc722d41f41931.tar.gz
freebsd-ports-gnome-9141e3ae989b1a8002e9d2d99bbc722d41f41931.tar.zst
freebsd-ports-gnome-9141e3ae989b1a8002e9d2d99bbc722d41f41931.zip
Add one more hunk, without which BLT will not find Tk at run time and
not offer Tk-functionality. Bump PORTREVISION.
Diffstat (limited to 'x11-toolkits/blt')
-rw-r--r--x11-toolkits/blt/Makefile2
-rw-r--r--x11-toolkits/blt/files/patch-warnings7
2 files changed, 8 insertions, 1 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile
index 6d6db0a9f46e..3ddb93151f5c 100644
--- a/x11-toolkits/blt/Makefile
+++ b/x11-toolkits/blt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= blt
PORTVERSION= 2.4z
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/${PORTNAME}/BLT/BLT%20${PORTVERSION} \
ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/
diff --git a/x11-toolkits/blt/files/patch-warnings b/x11-toolkits/blt/files/patch-warnings
index 6e4ae4a1a53c..cb09ca53320d 100644
--- a/x11-toolkits/blt/files/patch-warnings
+++ b/x11-toolkits/blt/files/patch-warnings
@@ -242,6 +242,13 @@
+ if (Tcl_PkgRequire(interp, "Tcl", TCL_PATCH_LEVEL, EXACT) == NULL) {
return TCL_ERROR;
}
+@@ -463,5 +463,5 @@
+
+ #if (TCL_VERSION_NUMBER >= _VERSION(8,1,0))
+- if (Tcl_PkgPresent(interp, "Tk", TK_VERSION, EXACT) == NULL) {
++ if (Tcl_PkgPresent(interp, "Tk", TK_PATCH_LEVEL, EXACT) == NULL) {
+ return TCL_OK;
+ }
@@ -515,5 +515,5 @@
* the same ones that BLT was compiled against.
*/