[58242] trunk/dports/aqua/MacBiff

toby at macports.org toby at macports.org
Thu Sep 24 13:56:50 PDT 2009


Revision: 58242
          http://trac.macports.org/changeset/58242
Author:   toby at macports.org
Date:     2009-09-24 13:56:49 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
#21602 (MacBiff: compile error on 10.6)

Modified Paths:
--------------
    trunk/dports/aqua/MacBiff/Portfile

Added Paths:
-----------
    trunk/dports/aqua/MacBiff/files/
    trunk/dports/aqua/MacBiff/files/patch-main.m

Modified: trunk/dports/aqua/MacBiff/Portfile
===================================================================
--- trunk/dports/aqua/MacBiff/Portfile	2009-09-24 20:48:18 UTC (rev 58241)
+++ trunk/dports/aqua/MacBiff/Portfile	2009-09-24 20:56:49 UTC (rev 58242)
@@ -21,6 +21,8 @@
 distname	macbiff-${version}
 worksrcdir	${name}
 
+patchfiles	patch-main.m
+
 checksums	md5 2bea0866c2d6fe05e8204cfb2e2f916d \
 			sha1 63efebd8a5763f29abfc4c021ebc64cc7ee984c1 \
 			rmd160 f40a9f27dd1f395d6c53ae160c63b01ecb6a2a8d

Added: trunk/dports/aqua/MacBiff/files/patch-main.m
===================================================================
--- trunk/dports/aqua/MacBiff/files/patch-main.m	                        (rev 0)
+++ trunk/dports/aqua/MacBiff/files/patch-main.m	2009-09-24 20:56:49 UTC (rev 58242)
@@ -0,0 +1,15 @@
+--- main.m.orig	2009-09-24 13:55:00.000000000 -0700
++++ main.m	2009-09-24 13:55:40.000000000 -0700
+@@ -28,10 +28,11 @@
+ #endif
+ #include "debug.h"
+ 
+-FILE *_dbgfp = stderr;
++FILE *_dbgfp;
+ 
+ int main(int argc, const char *argv[])
+ {
++	_dbgfp = stderr;
+ #if defined(EBUG) && EBUG && defined(EBUGFILE)
+ 	char debugfile[64];
+ 	snprintf(debugfile, 64, "/tmp/MacBiff.debug.%u", getpid());
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/c820f37d/attachment.html>


More information about the macports-changes mailing list