mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Ports: Update SDL2-mixer's patches to use git patches
This commit is contained in:
parent
f901f98814
commit
7574dc0258
2 changed files with 28 additions and 8 deletions
|
@ -1,7 +1,17 @@
|
||||||
diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in
|
From a8e2b31abe3f56f21b4835af00620ce29ce6becb Mon Sep 17 00:00:00 2001
|
||||||
--- SDL2_mixer-2.0.4/Makefile.in 2018-10-31 15:58:59.000000000 +0100
|
From: Andreas Kling <kling@serenityos.org>
|
||||||
+++ SDL2_mixer-2.0.4-patched/Makefile.in 2021-03-08 13:11:59.083146376 +0100
|
Date: Mon, 8 Mar 2021 13:15:35 +0100
|
||||||
@@ -38,7 +38,7 @@
|
Subject: [PATCH] Skip building the playmus and playwav utilities
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile.in | 14 ++------------
|
||||||
|
1 file changed, 2 insertions(+), 12 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile.in b/Makefile.in
|
||||||
|
index 2ff24b2..0e120a1 100644
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -38,7 +38,7 @@ VERSION_OBJECTS = @VERSION_OBJECTS@
|
||||||
PLAYWAVE_OBJECTS = @PLAYWAVE_OBJECTS@
|
PLAYWAVE_OBJECTS = @PLAYWAVE_OBJECTS@
|
||||||
PLAYMUS_OBJECTS = @PLAYMUS_OBJECTS@
|
PLAYMUS_OBJECTS = @PLAYMUS_OBJECTS@
|
||||||
|
|
||||||
|
@ -10,7 +20,7 @@ diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in
|
||||||
|
|
||||||
LT_AGE = @LT_AGE@
|
LT_AGE = @LT_AGE@
|
||||||
LT_CURRENT = @LT_CURRENT@
|
LT_CURRENT = @LT_CURRENT@
|
||||||
@@ -46,7 +46,7 @@
|
@@ -46,7 +46,7 @@ LT_RELEASE = @LT_RELEASE@
|
||||||
LT_REVISION = @LT_REVISION@
|
LT_REVISION = @LT_REVISION@
|
||||||
LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||||
|
|
||||||
|
@ -19,7 +29,7 @@ diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in
|
||||||
|
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in
|
$(srcdir)/configure: $(srcdir)/configure.in
|
||||||
@echo "Warning, configure.in is out of date"
|
@echo "Warning, configure.in is out of date"
|
||||||
@@ -64,12 +64,6 @@
|
@@ -64,12 +64,6 @@ $(objects):
|
||||||
$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
|
$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
|
||||||
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
|
||||||
|
|
||||||
|
@ -32,7 +42,7 @@ diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in
|
||||||
install: all install-hdrs install-lib #install-bin
|
install: all install-hdrs install-lib #install-bin
|
||||||
install-hdrs:
|
install-hdrs:
|
||||||
$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL2
|
$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL2
|
||||||
@@ -84,8 +78,6 @@
|
@@ -84,8 +78,6 @@ install-lib: $(objects) $(objects)/$(TARGET)
|
||||||
$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
|
$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
|
||||||
install-bin:
|
install-bin:
|
||||||
$(SHELL) $(auxdir)/mkinstalldirs $(bindir)
|
$(SHELL) $(auxdir)/mkinstalldirs $(bindir)
|
||||||
|
@ -41,7 +51,7 @@ diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in
|
||||||
|
|
||||||
uninstall: uninstall-hdrs uninstall-lib uninstall-bin
|
uninstall: uninstall-hdrs uninstall-lib uninstall-bin
|
||||||
uninstall-hdrs:
|
uninstall-hdrs:
|
||||||
@@ -99,8 +91,6 @@
|
@@ -99,8 +91,6 @@ uninstall-hdrs:
|
||||||
uninstall-lib:
|
uninstall-lib:
|
||||||
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
|
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
|
||||||
uninstall-bin:
|
uninstall-bin:
|
||||||
|
@ -50,3 +60,6 @@ diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(objects)
|
rm -rf $(objects)
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
7
Ports/SDL2_mixer/patches/ReadMe.md
Normal file
7
Ports/SDL2_mixer/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Patches for SDL2_mixer on SerenityOS
|
||||||
|
|
||||||
|
## `0001-Skip-building-the-playmus-and-playwav-utilities.patch`
|
||||||
|
|
||||||
|
Skip building the playmus and playwav utilities
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue