[PD-dev] [ pure-data-Patches-1371497 ] tiny fix on optional MacOS X/Jack

SourceForge.net noreply at sourceforge.net
Sat Dec 31 06:36:05 CET 2005


Patches item #1371497, was opened at 2005-12-01 22:59
Message generated for change (Comment added) made by millerpuckette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1371497&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 7
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: tiny fix on optional MacOS X/Jack

Initial Comment:

This patch has no effect unless Pd is compiled with
--enable-jack on Mac OS X.  It will not affect any
other kind of build.  This patch makes the Jack
dependency optional. Apple calls it  "weak libraries",
aka "soft imports". 

Here's the very simple patch:

--- configure.in        16 Aug 2005 04:06:28 -0000    
 1.15
+++ configure.in        2 Dec 2005 06:56:30 -0000
@@ -316,11 +316,11 @@
     EXTERNTARGET=pd_darwin
     if test x$jack == "xyes";
     then
-       LDFLAGS=$LDFLAGS" -framework Jack"
+       LDFLAGS=$LDFLAGS" -weak_framework Jack"
     fi
     if test x$jack == "xrun";
     then
-        LDFLAGS=$LDFLAGS" -framework Jack"
+        LDFLAGS=$LDFLAGS" -weak_framework Jack"
     fi
 fi


----------------------------------------------------------------------

>Comment By: Miller Puckette (millerpuckette)
Date: 2005-12-30 21:36

Message:
Logged In: YES 
user_id=313747

OK, will drop this in.  I'm curious how Pd will avoid
crashing when asked to use jack when it isn't there - will
put it on my dolist to try to test this someday.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1371497&group_id=55736




More information about the Pd-dev mailing list