summaryrefslogtreecommitdiff
path: root/Ports/x264/patches/serenity-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/x264/patches/serenity-configure.patch')
-rw-r--r--Ports/x264/patches/serenity-configure.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/Ports/x264/patches/serenity-configure.patch b/Ports/x264/patches/serenity-configure.patch
new file mode 100644
index 0000000000..e35282839c
--- /dev/null
+++ b/Ports/x264/patches/serenity-configure.patch
@@ -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"
+ ;;