summaryrefslogtreecommitdiff
path: root/lang/tcl-tclX/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-11 21:05:24 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-11 21:05:24 +0000
commit00dd30bd9c0a4291821d8d2b9c62ff412b172dcb (patch)
tree9731d9bdb22e7ab6a442ca5a432514fa0e0ad4af /lang/tcl-tclX/patches
parentb622fea3e0b84a2c823817fcaebe159eab9b0e95 (diff)
downloadpkgsrc-00dd30bd9c0a4291821d8d2b9c62ff412b172dcb.tar.gz
No matherr on DragonFly.
Diffstat (limited to 'lang/tcl-tclX/patches')
-rw-r--r--lang/tcl-tclX/patches/patch-ah15
-rw-r--r--lang/tcl-tclX/patches/patch-ai15
2 files changed, 30 insertions, 0 deletions
diff --git a/lang/tcl-tclX/patches/patch-ah b/lang/tcl-tclX/patches/patch-ah
new file mode 100644
index 00000000000..068cc65f4a7
--- /dev/null
+++ b/lang/tcl-tclX/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.3 2006/01/11 21:05:24 joerg Exp $
+
+--- ../tcl/unix/tclXAppInit.c.orig 2006-01-11 18:50:33.000000000 +0000
++++ ../tcl/unix/tclXAppInit.c
+@@ -25,8 +25,10 @@
+ * Even if matherr is not used on this system, there is a dummy version
+ * in libtcl.
+ */
++#if !defined(__DragonFly__)
+ extern int matherr ();
+ int (*tclDummyMathPtr)() = matherr;
++#endif
+
+
+ /*-----------------------------------------------------------------------------
diff --git a/lang/tcl-tclX/patches/patch-ai b/lang/tcl-tclX/patches/patch-ai
new file mode 100644
index 00000000000..ce4f974ab2d
--- /dev/null
+++ b/lang/tcl-tclX/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 2006/01/11 21:05:24 joerg Exp $
+
+--- ../tcl/unix/tclXunixTest.c.orig 2006-01-11 20:06:24.000000000 +0000
++++ ../tcl/unix/tclXunixTest.c
+@@ -31,8 +31,10 @@ Tclxtest_Init _ANSI_ARGS_((Tcl_Interp *i
+ * Even if matherr is not used on this system, there is a dummy version
+ * in libtcl.
+ */
++#if !defined(__DragonFly__)
+ extern int matherr ();
+ int (*tclDummyMathPtr)() = matherr;
++#endif
+
+ /*-----------------------------------------------------------------------------
+ * main --