[vlc-devel] [PATCH] contrib: tiger: fix autotools invocation

Gilles Sabourin gilles.sabourin at free.fr
Sun May 18 10:02:15 CEST 2014


Applying this patch, I have successfully built a vlc binary (from master 
branch) in a 32 bits virtualized openSUSE 13.1 with contrib libraries. 
However, I get a segfault in SessionsSetup() of access/live555.cpp when trying 
to retrieve the file descriptor socket.

This issue had already been described in forum, last year : 
https://forum.videolan.org/viewtopic.php?f=13&t=116134
but no bug report had been opened about this issue. Should I open one?

Additional issues occur when trying to build in a 64 bits environment, during 
linking phase, since half of the libraries target ($HOST)/lib64 and the others 
target ($HOST)/lib...

Greetings,
Gilles

Le jeudi 8 mai 2014 17:15:41, vous avez écrit :
> diff --git a/contrib/src/tiger/autotools.patch
> b/contrib/src/tiger/autotools.patch new file mode 100644
> index 0000000..9587b38
> --- /dev/null
> +++ b/contrib/src/tiger/autotools.patch
> @@ -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
> diff --git a/contrib/src/tiger/rules.mak b/contrib/src/tiger/rules.mak
> index 6d6a620..72a88db 100644
> --- a/contrib/src/tiger/rules.mak
> +++ b/contrib/src/tiger/rules.mak
> @@ -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)




More information about the vlc-devel mailing list