Ports: Replace the x264 config.sub patch with our download

This commit is contained in:
Tim Schumacher 2022-05-25 22:32:13 +02:00 committed by Linus Groh
parent 1371d1d952
commit 99cdafa5bc
3 changed files with 5 additions and 18 deletions

View file

@ -6,3 +6,4 @@ useconfigure=true
files="https://code.videolan.org/videolan/x264/-/archive/${version}/x264-master.tar.gz libx264-${version}.tar.gz 2ca2344fc2d657150599687e128dac8816b07e8d5c991fa2281e51fe647bbbe7"
auth_type=sha256
configopts=("--enable-shared")
use_fresh_config_sub=true

View file

@ -1,26 +1,12 @@
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
Subject: [PATCH] Add definitions for serenity to configure
---
config.sub | 2 ++
configure | 4 ++++
2 files changed, 6 insertions(+)
1 file changed, 4 insertions(+)
diff --git a/config.sub b/config.sub
index 72e9265..2ee3877 100755
--- a/config.sub
+++ b/config.sub
@@ -1514,6 +1514,8 @@ case $os in
;;
-nacl*)
;;
+ -serenity)
+ ;;
-none)
;;
*)
diff --git a/configure b/configure
index e242e73..1f60a1a 100755
--- a/configure

View file

@ -1,7 +1,7 @@
# Patches for x264 on SerenityOS
## `0001-Add-definitions-for-serenity-to-configure-and-config.patch`
## `0001-Add-definitions-for-serenity-to-configure.patch`
Add definitions for serenity to configure and config.sub
Add definitions for serenity to configure