Ticket #23007: patch-macfuse-10.5.diff

File patch-macfuse-10.5.diff, 2.9 KB (added by drkp (Dan Ports), 15 years ago)
  • Portfile

    diff -urN /opt/local/var/macports/sources/rsync.macports.org/release/ports/fuse/macfuse/Portfile ./Portfile
    old new  
    3232                    patch-macfuse_buildtool.sh.diff \
    3333                    patch-sdk-objc_GMUserFileSystem.m.diff \
    3434                    patch-sdk-objc_MacFuse.xcodeproj.diff \
    35                     patch-10.4_libfuse_fuse-2.7.3-macosx.patch.diff \
     35                    patch-10.5_fusefs_fusefs.xcodeproj_project.pbxproj.diff \
    3636                    patch-10.5_libfuse_fuse-2.7.3-macosx.patch.diff \
    3737                    patch-10.6_libfuse_fuse-2.7.3-macosx.patch.diff
    3838
     
    4646    # and we don't want to error out if someone says +universal
    4747}
    4848
    49 # ensure that user is running OS X 10.4 or higher
     49# ensure that user is running OS X 10.5 or higher: MacFUSE requires XCode 3
    5050pre-fetch {
    51     if {${os.platform} != "darwin" || [rpm-vercomp ${os.version} 8.0.0] < 0} {
    52         return -code error "MacFUSE requires at least Mac OS X 10.4 to run"
     51    if {${os.platform} != "darwin" || [rpm-vercomp ${os.version} 9.0.0] < 0} {
     52        return -code error "MacFUSE requires at least Mac OS X 10.5 to build"
    5353    }
    5454}
    5555
     
    6464post-patch {
    6565    reinplace s,/usr/local,${prefix},g ${worksrcpath}/macfuse_buildtool.sh
    6666    reinplace s,/usr/local,${prefix},g ${worksrcpath}/sdk-objc/MacFUSE.xcodeproj/project.pbxproj
     67    reinplace s,@@PREFIX@@,${prefix},g ${worksrcpath}/10.5/libfuse/fuse-2.7.3-macosx.patch
    6768    reinplace s,@@PREFIX@@,${prefix},g ${worksrcpath}/10.6/libfuse/fuse-2.7.3-macosx.patch
    6869    reinplace s,@@WORKPATH@@,${workpath},g ${worksrcpath}/macfuse_buildtool.sh
    6970    reinplace s,@@DESTPATH@@,${destpath},g ${worksrcpath}/macfuse_buildtool.sh
  • files/patch-10.5_fusefs_fusefs.xcodeproj_project.pbxproj.diff

    diff -urN /opt/local/var/macports/sources/rsync.macports.org/release/ports/fuse/macfuse/files/patch-10.5_fusefs_fusefs.xcodeproj_project.pbxproj.diff ./files/patch-10.5_fusefs_fusefs.xcodeproj_project.pbxproj.diff
    old new  
     1--- 10.5/fusefs/fusefs.xcodeproj/project.pbxproj        2008-11-06 15:41:14.000000000 -0800
     2+++ 10.5/fusefs/fusefs.xcodeproj/project.pbxproj        2009-12-23 19:18:15.000000000 -0800
     3@@ -551,7 +551,7 @@
     4                        baseConfigurationReference = 54A06B920C9DE6060045DC0D /* MacFUSE.xcconfig */;
     5                        buildSettings = {
     6                                ARCHS = (
     7-                                       x86_64,
     8+                                       /*x86_64,*/
     9                                        i386,
     10                                        ppc,
     11                                );
     12@@ -613,7 +613,7 @@
     13                        baseConfigurationReference = 54A06B920C9DE6060045DC0D /* MacFUSE.xcconfig */;
     14                        buildSettings = {
     15                                ARCHS = (
     16-                                       x86_64,
     17+                                       /*x86_64,*/
     18                                        i386,
     19                                        ppc,
     20                                );