[SCM] x264/master: Allow compilation on the Hurd

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Tue Aug 9 19:28:15 UTC 2011


The following commit has been merged in the master branch:
commit a9282fac9463a4b166752e27ac5c580464b0c9ff
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Tue Aug 9 21:27:47 2011 +0200

    Allow compilation on the Hurd

diff --git a/debian/patches/build-on-hurd.patch b/debian/patches/build-on-hurd.patch
new file mode 100644
index 0000000..ada24fa
--- /dev/null
+++ b/debian/patches/build-on-hurd.patch
@@ -0,0 +1,17 @@
+Description: Handle configuration on the Hurd
+Author: Reinhard Tartler <siretart at tauware.de>
+
+--- a/configure
++++ b/configure
+@@ -437,6 +437,11 @@ case $host_os in
+         define HAVE_MALLOC_H
+         LDFLAGS="$LDFLAGS -lm"
+         ;;
++    gnu*)
++        SYS="HURD"
++        define HAVE_MALLOC_H
++        LDFLAGS="$LDFLAGS -lm"
++        ;;
+     cygwin*)
+         EXE=".exe"
+         if cc_check "" -mno-cygwin; then
diff --git a/debian/patches/series b/debian/patches/series
index 94380b2..a49b1c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 basic-spell-check.patch
+build-on-hurd.patch

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list