summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-05-16 23:55:07 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-19 20:17:10 +0430
commit26ca20a55d08daa6a159bf6888ed6b5b0983b6e3 (patch)
treedcd6acafc3292c842380774164a10b71649d6f7b
parent73f92f49c2d8715a14bfebc6350a05d70f81764a (diff)
downloadserenity-26ca20a55d08daa6a159bf6888ed6b5b0983b6e3.zip
Ports: Update x264's patches to use git patches
-rw-r--r--Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure-and-config.patch (renamed from Ports/x264/patches/serenity-configure.patch)17
-rw-r--r--Ports/x264/patches/ReadMe.md6
2 files changed, 19 insertions, 4 deletions
diff --git a/Ports/x264/patches/serenity-configure.patch b/Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure-and-config.patch
index e35282839c..22e0d1be65 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 <hunterkva@protonmail.com>
+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 3693b21bf8..c5dfc44d97 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