From 17133e151892bb750c625ef9bb099e21afe921c7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 7 Feb 2025 12:29:39 -0800
Subject: [PATCH] Fixed building libxmp under Xcode
(cherry picked from commit 8f6fb804c89c58e7286bf0be05c8764d5d0897fa)
---
Xcode/xmp/xmp.xcodeproj/project.pbxproj | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/Xcode/xmp/xmp.xcodeproj/project.pbxproj b/Xcode/xmp/xmp.xcodeproj/project.pbxproj
index 77ea16099..75bfbf66c 100644
--- a/Xcode/xmp/xmp.xcodeproj/project.pbxproj
+++ b/Xcode/xmp/xmp.xcodeproj/project.pbxproj
@@ -97,6 +97,8 @@
F3E29CEF2881FC900006D108 /* sample.c in Sources */ = {isa = PBXBuildFile; fileRef = F3E29CEC2881FC900006D108 /* sample.c */; };
F3E29CF02881FC900006D108 /* itsex.c in Sources */ = {isa = PBXBuildFile; fileRef = F3E29CED2881FC900006D108 /* itsex.c */; };
F3E29D6F288237030006D108 /* filetype.c in Sources */ = {isa = PBXBuildFile; fileRef = F3E29D6E288237030006D108 /* filetype.c */; };
+ F3EFA5AF2D56A3ED00BCF22F /* rng.c in Sources */ = {isa = PBXBuildFile; fileRef = F3EFA5AE2D56A3ED00BCF22F /* rng.c */; };
+ F3EFA5B12D56A44300BCF22F /* flow.c in Sources */ = {isa = PBXBuildFile; fileRef = F3EFA5B02D56A44300BCF22F /* flow.c */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -191,6 +193,8 @@
F3E29CEC2881FC900006D108 /* sample.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sample.c; path = ../../external/libxmp/src/loaders/sample.c; sourceTree = "<group>"; };
F3E29CED2881FC900006D108 /* itsex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = itsex.c; path = ../../external/libxmp/src/loaders/itsex.c; sourceTree = "<group>"; };
F3E29D6E288237030006D108 /* filetype.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = filetype.c; path = ../../external/libxmp/src/filetype.c; sourceTree = "<group>"; };
+ F3EFA5AE2D56A3ED00BCF22F /* rng.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = rng.c; path = /Users/valve/projects/SDL_mixer/external/libxmp/src/rng.c; sourceTree = "<absolute>"; };
+ F3EFA5B02D56A44300BCF22F /* flow.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = flow.c; path = /Users/valve/projects/SDL_mixer/external/libxmp/src/flow.c; sourceTree = "<absolute>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -297,30 +301,32 @@
F3023FBD2881DB7C002F32D6 /* control.c */,
F3023FC82881DB7C002F32D6 /* dataio.c */,
F3023FB42881DB7C002F32D6 /* effects.c */,
+ 631064382A98AF290082F715 /* extras.c */,
+ 6310643A2A98AF6F0082F715 /* far_extras.c */,
F3E29D6E288237030006D108 /* filetype.c */,
F3023FBC2881DB7C002F32D6 /* filter.c */,
+ F3EFA5B02D56A44300BCF22F /* flow.c */,
F3E29CE72881FB610006D108 /* format.c */,
F3023FC22881DB7C002F32D6 /* hio.c */,
+ 6310643B2A98AF6F0082F715 /* hmn_extras.c */,
F3023FBB2881DB7C002F32D6 /* lfo.c */,
- F3023FCC2881DB7C002F32D6 /* load_helpers.c */,
F3023FCA2881DB7C002F32D6 /* load.c */,
+ F3023FCC2881DB7C002F32D6 /* load_helpers.c */,
+ 6310643C2A98AF6F0082F715 /* md5.c */,
+ 6310643D2A98AF6F0082F715 /* med_extras.c */,
F3023FC62881DB7C002F32D6 /* memio.c */,
+ 6310643E2A98AF6F0082F715 /* miniz_tinfl.c */,
F3023FB72881DB7C002F32D6 /* misc.c */,
F3023FC52881DB7C002F32D6 /* mix_all.c */,
+ 6310643F2A98AF6F0082F715 /* mix_paula.c */,
F3023FC92881DB7C002F32D6 /* mixer.c */,
F3023FBE2881DB7C002F32D6 /* period.c */,
F3023FC72881DB7C002F32D6 /* player.c */,
F3023FC42881DB7C002F32D6 /* read_event.c */,
+ F3EFA5AE2D56A3ED00BCF22F /* rng.c */,
F3023FB92881DB7C002F32D6 /* scan.c */,
F3023FB62881DB7C002F32D6 /* smix.c */,
F3023FBA2881DB7C002F32D6 /* virtual.c */,
- 631064382A98AF290082F715 /* extras.c */,
- 6310643A2A98AF6F0082F715 /* far_extras.c */,
- 6310643B2A98AF6F0082F715 /* hmn_extras.c */,
- 6310643C2A98AF6F0082F715 /* md5.c */,
- 6310643D2A98AF6F0082F715 /* med_extras.c */,
- 6310643F2A98AF6F0082F715 /* mix_paula.c */,
- 6310643E2A98AF6F0082F715 /* miniz_tinfl.c */,
);
name = Source;
sourceTree = "<group>";
@@ -454,7 +460,9 @@
631064422A98AF6F0082F715 /* md5.c in Sources */,
631064432A98AF6F0082F715 /* med_extras.c in Sources */,
631064442A98AF6F0082F715 /* miniz_tinfl.c in Sources */,
+ F3EFA5AF2D56A3ED00BCF22F /* rng.c in Sources */,
631064452A98AF6F0082F715 /* mix_paula.c in Sources */,
+ F3EFA5B12D56A44300BCF22F /* flow.c in Sources */,
631064622A98AFEE0082F715 /* gal4_load.c in Sources */,
631064632A98AFEE0082F715 /* gal5_load.c in Sources */,
631064642A98AFEE0082F715 /* gdm_load.c in Sources */,