]> git.sesse.net Git - vlc/commitdiff
uclibc support for xml2
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 14 May 2007 15:26:49 +0000 (15:26 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 14 May 2007 15:26:49 +0000 (15:26 +0000)
extras/contrib/src/Makefile
extras/contrib/src/Patches/xml2-uclibc.patch [new file with mode: 0644]

index c76a3f8e78dbd74f0ffe951f13423d5e5dfc8ff6..a598eb59d7415ceb05231fbf10b6d8168ff39f14 100644 (file)
@@ -1470,6 +1470,9 @@ ifdef HAVE_WIN32
        patch -p0 < Patches/xml2-win32.patch
        rm -f xml/aclocal.m4
 endif
+ifdef HAVE_UCLIBC
+       patch -p0 < Patches/xml2-uclibc.patch
+endif
 
 .xml: xml
        (cd xml; CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-minimal --with-catalog --with-reader --with-tree --with-push --with-xptr --with-valid --with-xpath --with-xinclude --with-sax1 --without-zlib --without-iconv --without-http --without-ftp && make && make install)
diff --git a/extras/contrib/src/Patches/xml2-uclibc.patch b/extras/contrib/src/Patches/xml2-uclibc.patch
new file mode 100644 (file)
index 0000000..08c9011
--- /dev/null
@@ -0,0 +1,12 @@
+--- xml/config.sub.orig        2007-05-14 17:21:21.000000000 +0200
++++ xml/config.sub     2007-05-14 17:22:29.000000000 +0200
+@@ -1110,6 +1110,9 @@
+       -unixware*)
+               os=-sysv4.2uw
+               ;;
++      -uclibc*)
++              os=-linux
++              ;;
+       -gnu/linux*)
+               os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+               ;;