[51784] trunk/dports/graphics/exempi

toby at macports.org toby at macports.org
Wed Jun 3 01:06:39 PDT 2009


Revision: 51784
          http://trac.macports.org/changeset/51784
Author:   toby at macports.org
Date:     2009-06-03 01:06:39 -0700 (Wed, 03 Jun 2009)
Log Message:
-----------
#19853 (exempi won't build; fails making MD5)

Modified Paths:
--------------
    trunk/dports/graphics/exempi/Portfile

Added Paths:
-----------
    trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp

Modified: trunk/dports/graphics/exempi/Portfile
===================================================================
--- trunk/dports/graphics/exempi/Portfile	2009-06-03 08:05:57 UTC (rev 51783)
+++ trunk/dports/graphics/exempi/Portfile	2009-06-03 08:06:39 UTC (rev 51784)
@@ -22,7 +22,10 @@
                 sha1    b85feac36f32b15be17b8d76240b848b8801fbc5 \
                 rmd160  4d2734a68ba4eb5522474a3cd4b9e9850c8f5672
 
-patchfiles      patch-bugzilla-20554.diff
+# make autoreconf work, should be able to remove once 1.8 ships
+depends_build   port:autoconf port:automake port:libtool
+
+patchfiles      patch-bugzilla-20554.diff patch-source__common__LargeFileAccess.cpp
 patch.args      -p1
 
 post-patch {

Added: trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp	2009-06-03 08:06:39 UTC (rev 51784)
@@ -0,0 +1,20 @@
+--- bogus/source/common/LargeFileAccess.cpp.orig	2009-06-03 00:52:35.000000000 -0700
++++ bogus/source/common/LargeFileAccess.cpp	2009-06-03 00:53:01.000000000 -0700
+@@ -37,7 +37,7 @@
+ 		FSRef fileRef;
+ 		SInt8 perm = ( (mode == 'r') ? fsRdPerm : fsRdWrPerm );
+ 		HFSUniStr255 dataForkName;
+-		SInt16 refNum;
++		FSIORefNum refNum;
+ 		
+ 		OSErr err = FSGetDataForkName ( &dataForkName );
+ 		if ( err != noErr ) LFA_Throw ( "LFA_Open: FSGetDataForkName failure", kLFAErr_ExternalFailure );
+@@ -98,7 +98,7 @@
+ 		FSRef fileRef;
+ 		SInt8 perm = ( (mode == 'r') ? fsRdPerm : fsRdWrPerm );
+ 		HFSUniStr255 rsrcForkName;
+-		SInt16 refNum;
++		FSIORefNum refNum;
+ 		
+ 		OSErr err = FSGetResourceForkName ( &rsrcForkName );
+ 		if ( err != noErr ) LFA_Throw ( "LFA_OpenRsrc: FSGetResourceForkName failure", kLFAErr_ExternalFailure );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090603/6996c2ac/attachment.html>


More information about the macports-changes mailing list