Skip to content

Commit

Permalink
Patch PhysFS in the mac build until there is a new release.
Browse files Browse the repository at this point in the history
Refs #3700.
  • Loading branch information
dak180 committed Aug 31, 2012
1 parent c3ba962 commit a05e8c9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions macosx/Warzone.xcodeproj/project.pbxproj
Expand Up @@ -17,6 +17,7 @@
438B0C26137732A5008184FC /* Ogg - Fetch source */,
438B0C1E13773258008184FC /* Png - Fetch source */,
438B0C32137733B4008184FC /* PhysFS - Fetch source */,
43962C5C15F0F1D200B146F2 /* PhysFS - Patch */,
438B0C2B1377336E008184FC /* Vorbis - Fetch source */,
43964E45150EDCE2007BCC60 /* Vorbis - Patch */,
438B0C3A137733F8008184FC /* Theora - Fetch source */,
Expand Down Expand Up @@ -4378,6 +4379,20 @@
shellPath = /bin/sh;
shellScript = ". configs/fetchscripts/Theora-FetchSource.sh";
};
43962C5C15F0F1D200B146F2 /* PhysFS - Patch */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "PhysFS - Patch";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd ${SRCROOT}/external/physfs\n\nif [ -f \"882cdbd7d0a3.diff\" ]; then\n\texit 0\nfi\n\nif ! curl -LfC - --connect-timeout \"30\" -o \"882cdbd7d0a3.diff\" \"http://hg.icculus.org/icculus/physfs/raw-rev/882cdbd7d0a3\"; then\n\tif ! curl -LfOC - --connect-timeout \"30\" \"http://wz2100.net/~dak180/BuildTools/Mac/882cdbd7d0a3.diff\"; then\n\t\techo \"error: Unable to fetch vorbis.diff\" >&2\n\t\texit 1\n\tfi\nfi\n\nif ! cat \"882cdbd7d0a3.diff\" | patch --posix -sNfp1; then\n\techo \"error: Unable to apply vorbis.diff\" >&2\n\texit 1\nfi\n\nexit 0\n";
};
43964E45150EDCE2007BCC60 /* Vorbis - Patch */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down

0 comments on commit a05e8c9

Please sign in to comment.