aboutsummaryrefslogtreecommitdiff
path: root/packages/darwin_app/patches/darwin_build-0.38.patch
blob: 3bc13d71a5fa81c527bb85c3fb1d7711253bf5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Index: configure.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure.in,v
retrieving revision 1.7
diff -w -r1.7 configure.in
14a15
> AC_SUBST(TCLTK_FRAMEWORKS_PATH)
175a177
> 
213a216,224
> 
>     if test x$jack == "xyes";
>     then
>         LDFLAGS=$LDFLAGS" -lrt -ljack"
>     fi
>     if test x$jack == "xrun";
>     then
>         LDFLAGS=$LDFLAGS" -lrt -ljack"
>     fi
241,244c252,265
<     GUIFLAGS="-F../../Frameworks -framework Tcl -framework Tk \
<         -I../../Frameworks/Tk.framework/Versions/Current/Headers \
<         -I../../Frameworks/Tcl.framework/Versions/Current/Headers \
<         -I../../Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders"
---
> #
> # find the Tcl/Tk Frameworks
> 	 if test -d "../../Frameworks";
>     then
>         # Miller's location
>         TCLTK_FRAMEWORKS_PATH="../../Frameworks"
>     else
> 	     # get it from the default install location
>         TCLTK_FRAMEWORKS_PATH="/Library/Frameworks"
>     fi		 
>     GUIFLAGS="-F$TCLTK_FRAMEWORKS_PATH -framework Tcl -framework Tk \
>         -I$TCLTK_FRAMEWORKS_PATH/Tk.framework/Versions/Current/Headers \
>         -I$TCLTK_FRAMEWORKS_PATH/Tcl.framework/Versions/Current/Headers \
>         -I$TCLTK_FRAMEWORKS_PATH/Tcl.framework/Versions/8.4/PrivateHeaders"
249c270
< 	OPT_CFLAGS="-O2"
---
>         OPT_CFLAGS="-O2 -fast -fPIC -mcpu=7450 -faltivec"
252a274
> 
256,257c278,281
< 	MORECFLAGS=$MORECFLAGS" -DUSEAPI_JACK"
< 	SYSSRC=$SYSSRC" s_audio_jack.c"
---
>     fi
>     if test x$jack == "xrun";
>     then
>         LDFLAGS=$LDFLAGS" -framework Jack"
267d290
<     LDFLAGS=$LDFLAGS" -lrt -ljack"
273d295
<     LDFLAGS=$LDFLAGS" -lrt -ljack"
Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.5
diff -w -r1.5 makefile.in
102,103c102,103
< 	../../Frameworks/Tk.framework/Versions/Current/Tk \
< 	../../Frameworks/Tcl.framework/Versions/Current/Tcl \
---
> 	@TCLTK_FRAMEWORKS_PATH@/Tk.framework/Versions/Current/Tk \
> 	@TCLTK_FRAMEWORKS_PATH@/Tcl.framework/Versions/Current/Tcl \