aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/macosx_deployment_target-0.40-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/patches/macosx_deployment_target-0.40-1.patch')
-rw-r--r--packages/patches/macosx_deployment_target-0.40-1.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/patches/macosx_deployment_target-0.40-1.patch b/packages/patches/macosx_deployment_target-0.40-1.patch
index d938b6fe..0aa88971 100644
--- a/packages/patches/macosx_deployment_target-0.40-1.patch
+++ b/packages/patches/macosx_deployment_target-0.40-1.patch
@@ -1,15 +1,17 @@
Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
-retrieving revision 1.8
-diff -u -w -r1.8 makefile.in
---- makefile.in 24 Jul 2005 19:41:14 -0000 1.8
-+++ makefile.in 22 Feb 2006 05:19:42 -0000
-@@ -1,3 +1,8 @@
+retrieving revision 1.14
+diff -u -w -r1.14 makefile.in
+--- makefile.in 8 Sep 2006 23:45:30 -0000 1.14
++++ makefile.in 28 Dec 2006 18:54:35 -0000
+@@ -1,3 +1,10 @@
+# On Mac OS X, this needs to be defined to enable dlopen and weak linking
+# support. Its safe on other platforms since gcc only checks this env var on
+# Apple's gcc. <hans@at.or.at>
++ifeq ($(shell uname -s),Darwin)
+export MACOSX_DEPLOYMENT_TARGET = 10.3
++endif
+
VPATH = ../obj:./
OBJ_DIR = ../obj