Update of /cvsroot/pure-data/packages/patches/darwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22991/darwin
Modified Files: darwin_jack_weak_linking-0.39.2.patch Log Message: cleaned up patch so that it doesn't conflict with other existing patches, and its just a cleaner way to handle setting the env var
Index: darwin_jack_weak_linking-0.39.2.patch =================================================================== RCS file: /cvsroot/pure-data/packages/patches/darwin/darwin_jack_weak_linking-0.39.2.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** darwin_jack_weak_linking-0.39.2.patch 20 Feb 2006 02:14:49 -0000 1.1 --- darwin_jack_weak_linking-0.39.2.patch 22 Feb 2006 05:25:08 -0000 1.2 *************** *** 5,9 **** diff -u -w -r1.15 configure.in --- configure.in 16 Aug 2005 04:06:28 -0000 1.15 ! +++ configure.in 20 Feb 2006 02:10:33 -0000 @@ -316,11 +316,11 @@ EXTERNTARGET=pd_darwin --- 5,9 ---- diff -u -w -r1.15 configure.in --- configure.in 16 Aug 2005 04:06:28 -0000 1.15 ! +++ configure.in 22 Feb 2006 05:19:42 -0000 @@ -316,11 +316,11 @@ EXTERNTARGET=pd_darwin *************** *** 26,43 **** diff -u -w -r1.8 makefile.in --- makefile.in 24 Jul 2005 19:41:14 -0000 1.8 ! +++ makefile.in 20 Feb 2006 02:10:33 -0000 ! @@ -85,9 +85,12 @@ ! $(BIN_DIR)/pdreceive: u_pdreceive.c ! $(CC) $(CFLAGS) $(STRIPFLAG) -o $(BIN_DIR)/pdreceive u_pdreceive.c ! ! +# MACOSX_DEPLOYMENT_TARGET=10.3 is necessary on Mac OS X to support weak ! +# linking of frameworks. Since its just a environment variable, it should be ! +# safely ignored on other platforms. hans@at.or.at ! $(PDEXEC): $(OBJ) ! - cd ../obj; $(CC) $(LDFLAGS) $(DBG_CFLAGS) -o $(PDEXEC) $(OBJ) \ ! - $(LIB) ! + cd ../obj; MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) $(DBG_CFLAGS) \ ! + -o $(PDEXEC) $(OBJ) $(LIB) ! ! $(BIN_DIR)/pd-gui: $(GOBJ) $(GSRC) ! cd ../obj; $(CC) $(INCLUDE) -o $(BIN_DIR)/$(GUINAME) $(GOBJ) \ --- 26,37 ---- 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 @@ ! +# 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 ! +export MACOSX_DEPLOYMENT_TARGET = 10.3 ! + ! VPATH = ../obj:./ ! OBJ_DIR = ../obj ! BIN_DIR = ../bin