aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-02-13 13:37:22 +0800
committerdas <das@FreeBSD.org>2005-02-13 13:37:22 +0800
commita386ca54fbc20598e91cb9dd74dfcb5256d2cfdb (patch)
tree529b71154026680e427d554d3f9882015c26a70a
parent721b4947da6cf56f578d42ff05c7f5fc12797f68 (diff)
downloadfreebsd-ports-gnome-a386ca54fbc20598e91cb9dd74dfcb5256d2cfdb.tar.gz
freebsd-ports-gnome-a386ca54fbc20598e91cb9dd74dfcb5256d2cfdb.tar.zst
freebsd-ports-gnome-a386ca54fbc20598e91cb9dd74dfcb5256d2cfdb.zip
Make this port build again by removing a SunOS shared library hack
copied from an old version of Tcl.
-rw-r--r--audio/pd/files/patch-src_t_main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/pd/files/patch-src_t_main.c b/audio/pd/files/patch-src_t_main.c
new file mode 100644
index 000000000000..cbc0e71138f1
--- /dev/null
+++ b/audio/pd/files/patch-src_t_main.c
@@ -0,0 +1,17 @@
+--- src/t_main.c.orig Sun Feb 13 00:32:01 2005
++++ src/t_main.c Sun Feb 13 00:32:11 2005
+@@ -19,14 +19,6 @@
+ #include <stdlib.h>
+
+ /*
+- * The following variable is a special hack that is needed in order for
+- * Sun shared libraries to be used for Tcl.
+- */
+-
+-extern int matherr(void);
+-int *tclDummyMathPtr = (int *) matherr;
+-
+-/*
+ *----------------------------------------------------------------------
+ *
+ * main --