mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 17:47:34 +00:00
Ports: Add x264
This commit is contained in:
parent
9ca15793e7
commit
a0bbadac14
4 changed files with 42 additions and 0 deletions
5
Ports/x264/patches/ReadMe.md
Normal file
5
Ports/x264/patches/ReadMe.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Patches for x264 on SerenityOS
|
||||
|
||||
## `serenity-configure.patch`
|
||||
|
||||
Adds `serenity` as a valid platform
|
28
Ports/x264/patches/serenity-configure.patch
Normal file
28
Ports/x264/patches/serenity-configure.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
diff --git a/config.sub b/config.sub
|
||||
index 72e9265b..2ee38778 100755
|
||||
--- a/config.sub
|
||||
+++ b/config.sub
|
||||
@@ -1514,6 +1514,8 @@ case $os in
|
||||
;;
|
||||
-nacl*)
|
||||
;;
|
||||
+ -serenity)
|
||||
+ ;;
|
||||
-none)
|
||||
;;
|
||||
*)
|
||||
diff --git a/configure b/configure
|
||||
index e242e73c..1f60a1ab 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -729,6 +729,10 @@ case $host_os in
|
||||
*haiku*)
|
||||
SYS="HAIKU"
|
||||
;;
|
||||
+ serenity)
|
||||
+ SYS="SERENITY"
|
||||
+ libm="-lm"
|
||||
+ ;;
|
||||
*)
|
||||
die "Unknown system $host, edit the configure"
|
||||
;;
|
Loading…
Add table
Add a link
Reference in a new issue