From 26ca20a55d08daa6a159bf6888ed6b5b0983b6e3 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 16 May 2022 23:55:07 +0430 Subject: [PATCH] Ports: Update x264's patches to use git patches --- ...-for-serenity-to-configure-and-config.patch} | 17 +++++++++++++++-- Ports/x264/patches/ReadMe.md | 6 ++++-- 2 files changed, 19 insertions(+), 4 deletions(-) rename Ports/x264/patches/{serenity-configure.patch => 0001-Add-definitions-for-serenity-to-configure-and-config.patch} (55%) diff --git a/Ports/x264/patches/serenity-configure.patch b/Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure-and-config.patch similarity index 55% rename from Ports/x264/patches/serenity-configure.patch rename to Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure-and-config.patch index e35282839ca..22e0d1be65a 100644 --- a/Ports/x264/patches/serenity-configure.patch +++ b/Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure-and-config.patch @@ -1,5 +1,15 @@ +From 6f4145f606671d7be8597af7854bda59ef594802 Mon Sep 17 00:00:00 2001 +From: Hunter Kvalevog +Date: Sat, 2 Apr 2022 19:14:23 -0500 +Subject: [PATCH] Add definitions for serenity to configure and config.sub + +--- + config.sub | 2 ++ + configure | 4 ++++ + 2 files changed, 6 insertions(+) + diff --git a/config.sub b/config.sub -index 72e9265b..2ee38778 100755 +index 72e9265..2ee3877 100755 --- a/config.sub +++ b/config.sub @@ -1514,6 +1514,8 @@ case $os in @@ -12,7 +22,7 @@ index 72e9265b..2ee38778 100755 ;; *) diff --git a/configure b/configure -index e242e73c..1f60a1ab 100755 +index e242e73..1f60a1a 100755 --- a/configure +++ b/configure @@ -729,6 +729,10 @@ case $host_os in @@ -26,3 +36,6 @@ index e242e73c..1f60a1ab 100755 *) die "Unknown system $host, edit the configure" ;; +-- +2.36.1 + diff --git a/Ports/x264/patches/ReadMe.md b/Ports/x264/patches/ReadMe.md index 3693b21bf8b..c5dfc44d979 100644 --- a/Ports/x264/patches/ReadMe.md +++ b/Ports/x264/patches/ReadMe.md @@ -1,5 +1,7 @@ # Patches for x264 on SerenityOS -## `serenity-configure.patch` +## `0001-Add-definitions-for-serenity-to-configure-and-config.patch` + +Add definitions for serenity to configure and config.sub + -Adds `serenity` as a valid platform