Skip to content

Commit 99cdafa

Browse files
timschumilinusg
authored andcommitted
Ports: Replace the x264 config.sub patch with our download
1 parent 1371d1d commit 99cdafa

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

Ports/x264/package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ useconfigure=true
66
files="https://code.videolan.org/videolan/x264/-/archive/${version}/x264-master.tar.gz libx264-${version}.tar.gz 2ca2344fc2d657150599687e128dac8816b07e8d5c991fa2281e51fe647bbbe7"
77
auth_type=sha256
88
configopts=("--enable-shared")
9+
use_fresh_config_sub=true

Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure-and-config.patch renamed to Ports/x264/patches/0001-Add-definitions-for-serenity-to-configure.patch

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
11
From 6f4145f606671d7be8597af7854bda59ef594802 Mon Sep 17 00:00:00 2001
22
From: Hunter Kvalevog <hunterkva@protonmail.com>
33
Date: Sat, 2 Apr 2022 19:14:23 -0500
4-
Subject: [PATCH] Add definitions for serenity to configure and config.sub
4+
Subject: [PATCH] Add definitions for serenity to configure
55

66
---
7-
config.sub | 2 ++
87
configure | 4 ++++
9-
2 files changed, 6 insertions(+)
8+
1 file changed, 4 insertions(+)
109

11-
diff --git a/config.sub b/config.sub
12-
index 72e9265..2ee3877 100755
13-
--- a/config.sub
14-
+++ b/config.sub
15-
@@ -1514,6 +1514,8 @@ case $os in
16-
;;
17-
-nacl*)
18-
;;
19-
+ -serenity)
20-
+ ;;
21-
-none)
22-
;;
23-
*)
2410
diff --git a/configure b/configure
2511
index e242e73..1f60a1a 100755
2612
--- a/configure

Ports/x264/patches/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Patches for x264 on SerenityOS
22

3-
## `0001-Add-definitions-for-serenity-to-configure-and-config.patch`
3+
## `0001-Add-definitions-for-serenity-to-configure.patch`
44

5-
Add definitions for serenity to configure and config.sub
5+
Add definitions for serenity to configure
66

77

0 commit comments

Comments
 (0)