Ticket #24248: patch-10.5-to-10.6.diff
File patch-10.5-to-10.6.diff, 7.1 KB (added by drkp (Dan Ports), 15 years ago) |
---|
-
10.6/fusefs/fusefs.xcodeproj/project.pbxproj
550 550 isa = XCBuildConfiguration; 551 551 baseConfigurationReference = 54A06B920C9DE6060045DC0D /* MacFUSE.xcconfig */; 552 552 buildSettings = { 553 ARCHS = ( 554 x86_64, 555 i386, 556 ppc, 557 ); 553 ARCHS = i386; 558 554 COPY_PHASE_STRIP = NO; 559 555 GCC_C_LANGUAGE_STANDARD = "compiler-default"; 560 556 GCC_DYNAMIC_NO_PIC = NO; … … 591 587 INFOPLIST_PREPROCESS = YES; 592 588 INFOPLIST_PREPROCESSOR_DEFINITIONS = ""; 593 589 INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions"; 594 MACOSX_DEPLOYMENT_TARGET = 10.5;595 590 "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.6][arch=x86_64]" = 10.6; 596 591 MODULE_NAME = com.google.filesystems.fusefs; 597 592 MODULE_START = fusefs_start; … … 612 607 isa = XCBuildConfiguration; 613 608 baseConfigurationReference = 54A06B920C9DE6060045DC0D /* MacFUSE.xcconfig */; 614 609 buildSettings = { 615 ARCHS = ( 616 x86_64, 617 i386, 618 ppc, 619 ); 610 ARCHS = i386; 620 611 COPY_PHASE_STRIP = YES; 621 612 DEPLOYMENT_POSTPROCESSING = YES; 622 613 EXPORTED_SYMBOLS_FILE = MacFUSE.exports; … … 653 644 INFOPLIST_PREPROCESS = YES; 654 645 INFOPLIST_PREPROCESSOR_DEFINITIONS = ""; 655 646 INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions"; 656 MACOSX_DEPLOYMENT_TARGET = 10.5;657 647 "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.6][arch=x86_64]" = 10.6; 658 648 MODULE_NAME = com.google.filesystems.fusefs; 659 649 MODULE_START = fusefs_start; … … 675 665 isa = XCBuildConfiguration; 676 666 baseConfigurationReference = 54A06B920C9DE6060045DC0D /* MacFUSE.xcconfig */; 677 667 buildSettings = { 678 ARCHS = ( 679 i386, 680 ppc, 681 ); 668 ARCHS = i386; 682 669 GCC_TREAT_WARNINGS_AS_ERRORS = YES; 683 670 GCC_WARN_ABOUT_RETURN_TYPE = YES; 684 671 GCC_WARN_UNUSED_VARIABLE = YES; … … 686 673 INFOPLIST_PREPROCESS = YES; 687 674 INFOPLIST_PREPROCESSOR_DEFINITIONS = ""; 688 675 PREBINDING = NO; 689 SDKROOT = macosx10. 5;676 SDKROOT = macosx10.6; 690 677 }; 691 678 name = Debug; 692 679 }; … … 694 681 isa = XCBuildConfiguration; 695 682 baseConfigurationReference = 54A06B920C9DE6060045DC0D /* MacFUSE.xcconfig */; 696 683 buildSettings = { 697 ARCHS = ( 698 i386, 699 ppc, 700 ); 684 ARCHS = i386; 701 685 COPY_PHASE_STRIP = NO; 702 686 GCC_TREAT_WARNINGS_AS_ERRORS = YES; 703 687 GCC_WARN_ABOUT_RETURN_TYPE = YES; … … 706 690 INFOPLIST_PREPROCESS = YES; 707 691 INFOPLIST_PREPROCESSOR_DEFINITIONS = ""; 708 692 PREBINDING = NO; 709 SDKROOT = macosx10. 5;693 SDKROOT = macosx10.6; 710 694 STRIP_INSTALLED_PRODUCT = NO; 711 695 }; 712 696 name = Release; … … 714 698 540966220C33B4F800F5E227 /* Debug */ = { 715 699 isa = XCBuildConfiguration; 716 700 buildSettings = { 717 ARCHS = "$(ARCHS_STANDARD_32_BIT)";701 ARCHS = i386; 718 702 COPY_PHASE_STRIP = NO; 719 703 GCC_C_LANGUAGE_STANDARD = c99; 720 704 GCC_DYNAMIC_NO_PIC = NO; … … 747 731 GCC_WARN_UNUSED_PARAMETER = YES; 748 732 GCC_WARN_UNUSED_VALUE = YES; 749 733 INSTALL_PATH = "$(HOME)/bin"; 750 MACOSX_DEPLOYMENT_TARGET = 10.5;751 734 PREBINDING = NO; 752 735 PRODUCT_NAME = mount_fusefs; 753 736 ZERO_LINK = YES; … … 757 740 540966230C33B4F800F5E227 /* Release */ = { 758 741 isa = XCBuildConfiguration; 759 742 buildSettings = { 760 ARCHS = "$(ARCHS_STANDARD_32_BIT)";743 ARCHS = i386; 761 744 COPY_PHASE_STRIP = YES; 762 745 DEPLOYMENT_POSTPROCESSING = YES; 763 746 GCC_C_LANGUAGE_STANDARD = c99; … … 790 773 GCC_WARN_UNUSED_VALUE = YES; 791 774 INSTALL_PATH = "$(HOME)/bin"; 792 775 LINK_WITH_STANDARD_LIBRARIES = YES; 793 MACOSX_DEPLOYMENT_TARGET = 10.5;794 776 PREBINDING = NO; 795 777 PRODUCT_NAME = mount_fusefs; 796 778 STRIP_INSTALLED_PRODUCT = YES; … … 849 831 54D47B910B4F614B00A8FE1C /* Debug */ = { 850 832 isa = XCBuildConfiguration; 851 833 buildSettings = { 852 ARCHS = "$(ARCHS_STANDARD_32_BIT)";834 ARCHS = i386; 853 835 COPY_PHASE_STRIP = NO; 854 836 GCC_DYNAMIC_NO_PIC = NO; 855 837 GCC_ENABLE_FIX_AND_CONTINUE = YES; … … 882 864 GCC_WARN_UNUSED_PARAMETER = YES; 883 865 GCC_WARN_UNUSED_VALUE = YES; 884 866 INSTALL_PATH = "$(HOME)/bin"; 885 MACOSX_DEPLOYMENT_TARGET = 10.5;886 867 PREBINDING = NO; 887 868 PRODUCT_NAME = load_fusefs; 888 869 ZERO_LINK = YES; … … 892 873 54D47B920B4F614B00A8FE1C /* Release */ = { 893 874 isa = XCBuildConfiguration; 894 875 buildSettings = { 895 ARCHS = "$(ARCHS_STANDARD_32_BIT)";876 ARCHS = i386; 896 877 COPY_PHASE_STRIP = YES; 897 878 DEPLOYMENT_POSTPROCESSING = YES; 898 879 GCC_ENABLE_FIX_AND_CONTINUE = NO; … … 924 905 GCC_WARN_UNUSED_PARAMETER = YES; 925 906 GCC_WARN_UNUSED_VALUE = YES; 926 907 INSTALL_PATH = "$(HOME)/bin"; 927 MACOSX_DEPLOYMENT_TARGET = 10.5;928 908 PREBINDING = NO; 929 909 PRODUCT_NAME = load_fusefs; 930 910 STRIP_INSTALLED_PRODUCT = YES; -
10.6/libfuse/fuse-2.7.3-macosx.patch
375 375 + 376 376 +Making a Universal build of libfuse: 377 377 + 378 +1. Run "/bin/sh ./darwin_configure.sh /path/to/macfuse/core/10. 5/fusefs/"378 +1. Run "/bin/sh ./darwin_configure.sh /path/to/macfuse/core/10.6/fusefs/" 379 379 +2. Run make 380 380 + 381 381 +If you begin with the "raw" patch, you need to perform a step 0 as follows: … … 37607 37607 +MACFUSE_SRCROOT=${MACFUSE_SRCROOT:-$1} 37608 37608 +MACFUSE_SRCROOT=${MACFUSE_SRCROOT:?} 37609 37609 + 37610 +CFLAGS="-D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L -I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch i386 -arch ppc -arch x86_64 -arch ppc64 -isysroot /Developer/SDKs/MacOSX10.5.sdk" LDFLAGS="-arch i386 -arch ppc -arch x86_64 -arch ppc64-framework CoreFoundation" ./configure --prefix=/usr/local --disable-dependency-tracking --disable-static37610 +CFLAGS="-D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L -I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk" LDFLAGS="-arch i386 -arch x86_64 -framework CoreFoundation" ./configure --prefix=/usr/local --disable-dependency-tracking --disable-static 37611 37611 diff -Naur old/darwin_configure_ino64.sh new/darwin_configure_ino64.sh 37612 37612 --- old/darwin_configure_ino64.sh 1969-12-31 16:00:00.000000000 -0800 37613 37613 +++ new/darwin_configure_ino64.sh 2008-11-26 21:50:02.000000000 -0800 … … 37617 37617 +MACFUSE_SRCROOT=${MACFUSE_SRCROOT:-$1} 37618 37618 +MACFUSE_SRCROOT=${MACFUSE_SRCROOT:?} 37619 37619 + 37620 +CFLAGS="-D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L -I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch i386 -arch ppc -arch x86_64 -arch ppc64 -isysroot /Developer/SDKs/MacOSX10.5.sdk" LDFLAGS="-arch i386 -arch ppc -arch x86_64 -arch ppc64 -framework CoreFoundation" ./configure --prefix=/usr/local --disable-dependency-tracking --disable-static37620 +CFLAGS="-D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L -I$MACFUSE_SRCROOT/common -O -gdwarf-2 -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk" LDFLAGS="-arch i386 -arch x86_64 -framework CoreFoundation" ./configure --prefix=/usr/local --disable-dependency-tracking --disable-static 37621 37621 diff -Naur old/example/Makefile.am new/example/Makefile.am 37622 37622 --- old/example/Makefile.am 2008-02-19 11:51:22.000000000 -0800 37623 37623 +++ new/example/Makefile.am 2008-11-26 21:50:02.000000000 -0800