summaryrefslogtreecommitdiffstats
path: root/audio/pd
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-02-13 05:37:22 +0000
committerdas <das@FreeBSD.org>2005-02-13 05:37:22 +0000
commita386ca54fbc20598e91cb9dd74dfcb5256d2cfdb (patch)
tree529b71154026680e427d554d3f9882015c26a70a /audio/pd
parent721b4947da6cf56f578d42ff05c7f5fc12797f68 (diff)
downloadFreeBSD-ports-a386ca54fbc20598e91cb9dd74dfcb5256d2cfdb.zip
FreeBSD-ports-a386ca54fbc20598e91cb9dd74dfcb5256d2cfdb.tar.gz
Make this port build again by removing a SunOS shared library hack
copied from an old version of Tcl.
Diffstat (limited to 'audio/pd')
-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 0000000..cbc0e71
--- /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 --
OpenPOWER on IntegriCloud