summaryrefslogtreecommitdiff
path: root/net/ns/files/patch-common_tkAppInit.c
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-20 08:11:26 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-20 08:11:26 +0000
commit7673c1a949ebf9da241065c413017bdea5ff8080 (patch)
tree676131f5b8b068eb4c6dff696af812c84a112b84 /net/ns/files/patch-common_tkAppInit.c
parentSupport stage (diff)
- Fix build with modern compilers [MFH]
- Convert to USES=tk - STAGE-clean MFH: 2014Q1 PR: 185840 Approved by: maintainer
Diffstat (limited to 'net/ns/files/patch-common_tkAppInit.c')
-rw-r--r--net/ns/files/patch-common_tkAppInit.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/ns/files/patch-common_tkAppInit.c b/net/ns/files/patch-common_tkAppInit.c
new file mode 100644
index 000000000000..5511d0aa47f2
--- /dev/null
+++ b/net/ns/files/patch-common_tkAppInit.c
@@ -0,0 +1,10 @@
+--- common/tkAppInit.cc.orig 2014-01-17 10:37:16.000000000 +0100
++++ common/tkAppInit.cc 2014-01-17 10:38:11.000000000 +0100
+@@ -293,7 +293,6 @@
+ Tcl_AppInit(Tcl_Interp *interp)
+ {
+ #ifdef MEMDEBUG_SIMULATIONS
+- extern MemTrace *globalMemTrace;
+ globalMemTrace = new MemTrace;
+ #endif
+