[63485] trunk/dports/audio/faust

ryandesign at macports.org ryandesign at macports.org
Fri Feb 5 17:21:46 PST 2010


Revision: 63485
          http://trac.macports.org/changeset/63485
Author:   ryandesign at macports.org
Date:     2010-02-05 17:21:46 -0800 (Fri, 05 Feb 2010)
Log Message:
-----------
faust: update to 0.9.10

Modified Paths:
--------------
    trunk/dports/audio/faust/Portfile
    trunk/dports/audio/faust/files/patch-prefix.diff

Modified: trunk/dports/audio/faust/Portfile
===================================================================
--- trunk/dports/audio/faust/Portfile	2010-02-05 23:19:51 UTC (rev 63484)
+++ trunk/dports/audio/faust/Portfile	2010-02-06 01:21:46 UTC (rev 63485)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    faust
-version                 0.9.9.4b
+version                 0.9.10
 worksrcdir              ${name}-[strsed ${version} {s/[^0-9.]*$//}]
 categories              audio lang
 platforms               darwin
@@ -18,15 +18,17 @@
                         specifically designed for realtime audio applications \
                         and plugins.
 
-checksums               md5     1b9b955f812e346bbecb171b0f932a86 \
-                        sha1    65882219ccd96fb8a64eec208bbad3a127b7a777 \
-                        rmd160  c126b11f23451a28ec932f9b51bf080613fab4e7
+checksums               md5     56fb3717aa07f2d6ec317bf88a767556 \
+                        sha1    1021da26de85c153a30a80a63fb7c31e0f861404 \
+                        rmd160  e8efabc111439bf999ed71f2808cb9e90bbf1c1f
 
 patchfiles-append       patch-prefix.diff
 
 post-patch {
     reinplace "s|/usr/local|${prefix}|g" \
         ${worksrcpath}/compiler/parser/enrobage.cpp \
+        ${worksrcpath}/compiler/tlib/compatibility.cpp \
+        ${worksrcpath}/examples/Makefile.csound \
         ${worksrcpath}/examples/Makefile.mspcompile \
         ${worksrcpath}/examples/Makefile.qtcompile \
         ${worksrcpath}/examples/Makefile.vstcompile

Modified: trunk/dports/audio/faust/files/patch-prefix.diff
===================================================================
--- trunk/dports/audio/faust/files/patch-prefix.diff	2010-02-05 23:19:51 UTC (rev 63484)
+++ trunk/dports/audio/faust/files/patch-prefix.diff	2010-02-06 01:21:46 UTC (rev 63485)
@@ -1,20 +1,25 @@
---- compiler/parser/enrobage.cpp.orig	2008-03-27 09:59:12.000000000 -0500
-+++ compiler/parser/enrobage.cpp	2009-12-16 22:48:30.000000000 -0600
-@@ -106,7 +106,7 @@
- 		return f;
- 	} else {
- 		const char* p1 = getenv("FAUST_PATH");
--		const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/:/usr/lib/faust/";
-+		const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/";
- 		return open_path_stream(p2, filename);
+--- compiler/parser/enrobage.cpp.orig	2010-01-23 01:01:19.000000000 -0600
++++ compiler/parser/enrobage.cpp	2010-02-05 19:01:09.000000000 -0600
+@@ -102,12 +102,6 @@
+ 		f->open(filename); 
+ 		if (f->good()) return f; else delete f;
  	}
+-	err = chdir(old);
+-	if (chdir("/usr/lib/faust")==0) {
+-        ifstream* f = new ifstream();
+-		f->open(filename); 
+-		if (f->good()) return f; else delete f;
+-	}
+ 	
+ 	return 0;
  }
-@@ -142,7 +142,7 @@
- 		return f;
- 	} else {
- 		const char* p1 = getenv("FAUST_PATH");
--		const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/:/usr/lib/faust/";
-+		const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/";
- 		return fopenpath(p2, filename);
- 	}
+@@ -279,9 +273,6 @@
+     if ((f = fopenat(fullpath, "/usr/local/lib/faust", filename))) { 
+     	return f;
+     }
+-    if ((f = fopenat(fullpath, "/usr/lib/faust", filename))) { 
+-    	return f;
+-    }
+     return 0;
  }
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100205/464abaa0/attachment.html>


More information about the macports-changes mailing list