Skip to content

Commit

Permalink
Ports: Format patches without numbering, commit hash or version number
Browse files Browse the repository at this point in the history
  • Loading branch information
timschumi authored and linusg committed Jun 8, 2022
1 parent d69a79b commit d426c5a
Show file tree
Hide file tree
Showing 371 changed files with 806 additions and 1,884 deletions.
2 changes: 1 addition & 1 deletion Ports/.port_include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ do_dev() {
if [ "$first_hash" != "$current_hash" ]; then
>&2 echo "Note: Regenerating patches as there are some commits in the port repo (started at $first_hash, now is $current_hash)"
rm -fr patches/*.patch
git -C "$git_repo" format-patch "$first_hash" -o "$(realpath patches)"
git -C "$git_repo" format-patch --no-numbered --zero-commit --no-signature "$first_hash" -o "$(realpath patches)"
do_generate_patch_readme
fi
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a85ea6751a9628b9a6ff3caede0a1365490d3cec Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Pavel Safar <[email protected]>
Date: Mon, 7 Jun 2021 14:26:26 +0200
Subject: [PATCH] Skip using find_package() for SDL2
Expand All @@ -24,6 +24,3 @@ index 38f6ba8..d0d8463 100644
+target_link_libraries(raw SDL2)
target_link_libraries(raw z)

--
2.36.1

7 changes: 2 additions & 5 deletions Ports/RetroArch/patches/0001-Add-SerenityOS-platform.patch
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 53eae76554d4e4629fc1568cec785b644bde1f86 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <[email protected]>
Date: Sat, 7 May 2022 18:19:42 +0200
Subject: [PATCH 1/6] Add SerenityOS platform
Subject: [PATCH] Add SerenityOS platform

---
qb/qb.system.sh | 5 +++--
Expand All @@ -27,6 +27,3 @@ index c7ac141..f7f198d 100644
*) OS="Win32";;
esac
fi
--
2.36.0

7 changes: 2 additions & 5 deletions Ports/RetroArch/patches/0002-Find-libgl.patch
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d65b301e331c52fd78a1b0205e4b3630a6200950 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <[email protected]>
Date: Sat, 7 May 2022 18:20:09 +0200
Subject: [PATCH 2/6] Find libgl
Subject: [PATCH] Find libgl

---
qb/config.libs.sh | 2 +-
Expand All @@ -20,6 +20,3 @@ index 19cd2a6..672fb02 100644
fi

if [ "$HAVE_OPENGL" = 'yes' ]; then
--
2.36.0

7 changes: 2 additions & 5 deletions Ports/RetroArch/patches/0003-Add-strlcat.patch
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 05fc282bdbe985fb77d746003ce213012a0292f8 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <[email protected]>
Date: Sat, 7 May 2022 18:20:35 +0200
Subject: [PATCH 3/6] Add strlcat()
Subject: [PATCH] Add strlcat()

---
Makefile.common | 4 ++++
Expand All @@ -22,6 +22,3 @@ index 580beba..dbfbd39 100644
ifeq ($(HAVE_UNIX), 1)
OBJ += frontend/drivers/platform_unix.o

--
2.36.0

7 changes: 2 additions & 5 deletions Ports/RetroArch/patches/0004-Disable-pthread_attr_setschedpolicy.patch
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 365f17fb8bb303608d351f3a91219256746cdc60 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <[email protected]>
Date: Sat, 7 May 2022 18:20:52 +0200
Subject: [PATCH 4/6] Disable pthread_attr_setschedpolicy()
Subject: [PATCH] Disable pthread_attr_setschedpolicy()

---
libretro-common/rthreads/rthreads.c | 2 +-
Expand All @@ -20,6 +20,3 @@ index 30ec6ff..08c8a96 100644
#define HAVE_THREAD_ATTR
#endif

--
2.36.0

7 changes: 2 additions & 5 deletions Ports/RetroArch/patches/0005-Use-SDL-software-instead-of-hardware-rendering.patch
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 8494fc6dbd6abc799a2eb02933103361ea0202b0 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <[email protected]>
Date: Sat, 7 May 2022 18:21:50 +0200
Subject: [PATCH 5/6] Use SDL software instead of hardware rendering
Subject: [PATCH] Use SDL software instead of hardware rendering

---
gfx/drivers/sdl2_gfx.c | 2 +-
Expand All @@ -20,6 +20,3 @@ index 4dbe33f..dd67b4a 100644

if (vid->video.vsync)
flags |= SDL_RENDERER_PRESENTVSYNC;
--
2.36.0

9 changes: 3 additions & 6 deletions Ports/RetroArch/patches/0006-Set-default-options-for-SerenityOS.patch
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
From 53b20c98eed2b0ac68ad733c18b45da1bcbc771e Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <[email protected]>
Date: Sat, 7 May 2022 18:26:21 +0200
Subject: [PATCH 6/6] Set default options for SerenityOS
Subject: [PATCH] Set default options for SerenityOS

Set Libretro cores path to `/usr/lib/libretro`
Set libretro cores path to `/usr/lib/libretro`
Set video and audio driver to sdl2
Disable vsync
The libretro core won't keep running in the background when we are in the menu.
Expand Down Expand Up @@ -1055,6 +1055,3 @@ index 0000000..088e883
+content_favorites_path = "~/.config/retroarch/content_favorites.lpl"
+log_dir = "~/.config/retroarch/logs"
+video_layout_directory = "~/.config/retroarch/layouts"
--
2.36.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 0b3d749c08bada65bc6868befe6c7190c2caf32b Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <[email protected]>
Date: Sun, 15 May 2022 17:39:49 +0430
Subject: [PATCH] Rewrite the makefile for serenity
Expand Down Expand Up @@ -88,6 +88,3 @@ index 8730b6c..bc1fefb 100644
- rm -f *gnuboy sdl2gnuboy.exe mac-sdl2gnuboy gmon.out *.o sys/*.o lib/*/*.o sys/*/*.o src/*.o
\ No newline at end of file
+ rm -f *gnuboy sdl2gnuboy.exe gmon.out *.o sys/*.o sys/*/*.o $(OBJS)
--
2.36.1

7 changes: 2 additions & 5 deletions Ports/SDL2/patches/0001-Add-SerenityOS-platform-support.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From f9447fa6782eef2c4791c963cedf469d9062c792 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Andreas Kling <[email protected]>
Date: Sat, 27 Mar 2021 22:05:09 +0100
Subject: [PATCH 1/2] Add SerenityOS platform support
Subject: [PATCH] Add SerenityOS platform support

Co-Authored-By: Robin Burchell <[email protected]>
Co-Authored-By: tgsm <[email protected]>
Expand Down Expand Up @@ -1704,6 +1704,3 @@ index 0000000..b5c6759
+#endif /* SDL_serenityvideo_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From a788810465ed48f0c80494a463a89eec262acd60 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sat, 21 May 2022 23:33:31 +0200
Subject: [PATCH 2/2] Make sdl2-config prefixes configurable again
Subject: [PATCH] Make sdl2-config prefixes configurable again

These were accidentally removed in
6956f4aa1982b66b234026b46f7bb2dd44c67894.
Expand All @@ -26,6 +26,3 @@ index 2400d53..7a55d25 100644
if(SDL_STATIC)
set(ENABLE_STATIC_TRUE "")
set(ENABLE_STATIC_FALSE "#")
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 0f827bb1e7e70c292982d68d1be79c0c64317333 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sun, 29 May 2022 15:01:28 +0200
Subject: [PATCH] libtool: Enable shared library support for SerenityOS
Expand Down Expand Up @@ -71,6 +71,3 @@ index ddcc961..4767551 100755
*)
dynamic_linker=no
;;
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 1f0f0c7055a0f2556d9094b5d1c13381541c00bd Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sun, 29 May 2022 15:01:28 +0200
Subject: [PATCH] libtool: Enable shared library support for SerenityOS
Expand Down Expand Up @@ -71,6 +71,3 @@ index 7eb305d..4299214 100755
*)
dynamic_linker=no
;;
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 45c3472482141099e7a14fa67c159b0dcd4164da Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Andreas Kling <[email protected]>
Date: Mon, 8 Mar 2021 13:15:35 +0100
Subject: [PATCH 1/2] Skip building the playmus and playwav utilities
Subject: [PATCH] Skip building the playmus and playwav utilities

---
Makefile.in | 14 ++------------
Expand Down Expand Up @@ -60,6 +60,3 @@ index 2ff24b2..0e120a1 100644

clean:
rm -rf $(objects)
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 2bc8e2c1b321c59ef39c7dbe95871f0f08d1d139 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sun, 29 May 2022 15:01:28 +0200
Subject: [PATCH 2/2] libtool: Enable shared library support for SerenityOS
Subject: [PATCH] libtool: Enable shared library support for SerenityOS

For some odd reason, libtool handles the configuration for shared
libraries entirely statically and in its configure script. If no
Expand Down Expand Up @@ -71,6 +71,3 @@ index 4df0be5..9a5f606 100755
*)
dynamic_linker=no
;;
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 1e79dfd03eeaf33b9249b2a74a9dede5c5da3a59 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <[email protected]>
Date: Wed, 16 Jun 2021 11:08:32 +0200
Subject: [PATCH 1/3] Undefine 'SIOCGIFCONF' on serenity
Subject: [PATCH] Undefine 'SIOCGIFCONF' on serenity

FIXME: We don't know why yet.
---
Expand All @@ -23,6 +23,3 @@ index 53d125a..87eab4c 100644
int SDLNet_GetLocalAddresses(IPaddress *addresses, int maxcount)
{
int count = 0;
--
2.36.1

7 changes: 2 additions & 5 deletions Ports/SDL2_net/patches/0002-Include-sys-select.h.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From ef51fb40f756e2d7a7de4d285590305c782ba9b7 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <[email protected]>
Date: Wed, 16 Jun 2021 11:08:32 +0200
Subject: [PATCH 2/3] Include sys/select.h
Subject: [PATCH] Include sys/select.h

---
SDLnetsys.h | 1 +
Expand All @@ -19,6 +19,3 @@ index 6f6dfae..bd9139d 100644
#ifdef __FreeBSD__
#include <sys/socket.h>
#endif
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 3986e0cc88c73b1ecb21b831f807333e1c46dad7 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sun, 29 May 2022 15:01:28 +0200
Subject: [PATCH 3/3] libtool: Enable shared library support for SerenityOS
Subject: [PATCH] libtool: Enable shared library support for SerenityOS

For some odd reason, libtool handles the configuration for shared
libraries entirely statically and in its configure script. If no
Expand Down Expand Up @@ -89,6 +89,3 @@ index 8c1d2d4..8ea327f 100755
*)
dynamic_linker=no
;;
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 1aec7f15c8d70f249b051a65823215c382fa0498 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sun, 29 May 2022 15:01:28 +0200
Subject: [PATCH] libtool: Enable shared library support for SerenityOS
Expand Down Expand Up @@ -89,6 +89,3 @@ index 02724d0..fec4760 100755
*)
dynamic_linker=no
;;
--
2.36.1

7 changes: 2 additions & 5 deletions Ports/SDLPoP/patches/0001-Disable-some-extra-features.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 79a5522062cf03b1f7dc878799c66389e689b1d5 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Manuel Palenzuela <[email protected]>
Date: Sat, 3 Apr 2021 17:53:44 +0200
Subject: [PATCH 1/4] Disable some extra features
Subject: [PATCH] Disable some extra features

This just disables some extra features the game has such as screenshots, hardware acceleration, etc.
---
Expand Down Expand Up @@ -95,6 +95,3 @@ index 698e7ed..0a935ee 100644

// Speed up the sound during fast forward using resampling.
// If disabled, the sound is sped up by clipping out parts from it.
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d352df3380953ce7acb34aa26dc3b343853c32df Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <[email protected]>
Date: Mon, 19 Apr 2021 16:17:10 +0200
Subject: [PATCH 2/4] Use the correct include paths for SDL
Subject: [PATCH] Use the correct include paths for SDL

The SDL port is installed into /usr/local, and its headers are
accessible as <SDL2/...>.
Expand All @@ -24,6 +24,3 @@ index 1f696d1..b5ede07 100644
//#endif

#if SDL_BYTEORDER != SDL_LIL_ENDIAN
--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 4776a79fcc39601e79b79909f1fa3c69a42d958c Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Manuel Palenzuela <[email protected]>
Date: Sat, 3 Apr 2021 17:53:44 +0200
Subject: [PATCH 3/4] Remove some unsupported scanf format specifiers
Subject: [PATCH] Remove some unsupported scanf format specifiers

(Note that scanf has been rewritten since and probably supports these
modifiers now, so this patch might not be necessary)
Expand Down Expand Up @@ -47,6 +47,3 @@ index 139c2d8..e2047fb 100644
perror(names_path);
continue;
}
--
2.36.1

7 changes: 2 additions & 5 deletions Ports/SDLPoP/patches/0004-Fix-SDL2-include-path.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From ddde9196a6a165ff06ac725c567f7e9aebe1d4a8 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <[email protected]>
Date: Mon, 19 Apr 2021 16:17:10 +0200
Subject: [PATCH 4/4] Fix SDL2 include path
Subject: [PATCH] Fix SDL2 include path

SDL2 headers are installed into /usr/local under SDL2, make it so
they're found.
Expand All @@ -26,6 +26,3 @@ index 3558a6c..d074e48 100644
link_directories(${SDL2}/lib)
endif()

--
2.36.1

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From bdb6569ba8bcc1332ee220b3128e94c8c69d47f7 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tim Schumacher <[email protected]>
Date: Sun, 29 May 2022 15:01:28 +0200
Subject: [PATCH] libtool: Enable shared library support for SerenityOS
Expand All @@ -17,7 +17,7 @@ static library into a shared library.
1 file changed, 23 insertions(+)

diff --git a/configure b/configure
index e7c8c97..37ef6b5 100755
index e7c8c97..c8a27a7 100755
--- a/configure
+++ b/configure
@@ -4244,6 +4244,10 @@ sysv4 | sysv4.3*)
Expand Down Expand Up @@ -71,6 +71,3 @@ index e7c8c97..37ef6b5 100755
*)
dynamic_linker=no
;;
--
2.36.1

Loading

0 comments on commit d426c5a

Please sign in to comment.