]> git.sesse.net Git - vlc/commitdiff
contrib: tiger: fix autotools invocation
authorGilles Sabourin <gilles.sabourin@free.fr>
Thu, 8 May 2014 14:36:14 +0000 (14:36 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 20 May 2014 09:19:47 +0000 (11:19 +0200)
This patch fixes libtiger generation failure when automake complains about 'linking libtool libraries using a non-POSIX'

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
contrib/src/tiger/autotools.patch [new file with mode: 0644]
contrib/src/tiger/rules.mak

diff --git a/contrib/src/tiger/autotools.patch b/contrib/src/tiger/autotools.patch
new file mode 100644 (file)
index 0000000..9587b38
--- /dev/null
@@ -0,0 +1,38 @@
+--- tiger/configure.ac.orig    2008-11-10 19:56:12.000000000 +0100
++++ tiger/configure.ac 2014-05-08 15:45:25.755258933 +0200
+@@ -3,7 +3,7 @@
+ AC_CONFIG_SRCDIR([include/tiger/tiger.h.in])
+ AC_CONFIG_AUX_DIR([misc/autotools])
+-AC_PREREQ(2.53)
++AC_PREREQ([2.69])
+ AC_CANONICAL_TARGET
+@@ -29,6 +29,7 @@
+ AC_PROG_GREP
+ AC_PROG_NM
+ AC_PROG_SED
++AM_PROG_AR
+ AC_C_CONST
+ AC_C_INLINE
+--- tiger/Makefile.am.orig     2008-11-10 11:48:46.000000000 +0100
++++ tiger/Makefile.am  2014-05-08 15:46:13.028469021 +0200
+@@ -11,7 +11,7 @@
+ tigerpc_DATA=misc/pkgconfig/tiger.pc
+ noinst_DATA=misc/pkgconfig/tiger-uninstalled.pc
+-LIBTOOLFLAGS=--silent
++AM_LIBTOOLFLAGS=--silent
+ AM_CPPFLAGS=-I $(top_srcdir)/src -I $(top_srcdir)/include
+--- tiger/doc/Makefile.am.orig 2008-11-11 21:45:33.000000000 +0100
++++ tiger//doc/Makefile.am     2014-05-08 15:46:16.782167744 +0200
+@@ -1,4 +1,4 @@
+-LIBTOOLFLAGS=--silent
++AM_LIBTOOLFLAGS=--silent
+ # dependency to get doc to be built
+ noinst_DATA = .doc-dummy-target
index 6d6a620e0f708ce4da0ef72161e7ef18a690aac5..72a88dbc0f9f0ca345c7df51eac3fa7bd7d177dc 100644 (file)
@@ -18,6 +18,7 @@ $(TARBALLS)/libtiger-$(TIGER_VERSION).tar.gz:
 
 libtiger: libtiger-$(TIGER_VERSION).tar.gz .sum-tiger
        $(UNPACK)
+       $(APPLY) $(SRC)/tiger/autotools.patch
        $(MOVE)
 
 DEPS_tiger = kate $(DEPS_kate)