package/libxslt: fix static build
[buildroot-gz.git] / package / lame / 0001-configure.patch
blob7e407f28c0c54036044bd2ef0e207eba861919c3
1 Various patches to fix autoreconf errors.
3 All patches besides
4 - AM_ICONV in configure.in
5 are already applied upstream:
6 http://lame.cvs.sourceforge.net/viewvc/lame/lame/configure.in?r1=1.145&r2=1.146
7 http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/Makefile.am?r1=1.8&r2=1.9
8 http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/man/Makefile.am?r1=1.1&r2=1.2
10 libmp3lame/i386/Makefile.am patch ported from Debian
11 http://anonscm.debian.org/cgit/pkg-multimedia/lame.git/tree/debian/patches/ansi2knr2devnull.patch
13 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
15 diff -uNr lame-3.99.5.org/configure.in lame-3.99.5/configure.in
16 --- lame-3.99.5.org/configure.in 2012-02-28 19:50:27.000000000 +0100
17 +++ lame-3.99.5/configure.in 2015-04-11 11:36:15.464835008 +0200
18 @@ -77,9 +77,6 @@
19 AC_MSG_RESULT(${GCC_version})
22 -dnl more automake stuff
23 -AM_C_PROTOTYPES
25 AC_CHECK_HEADER(dmalloc.h)
26 if test "${ac_cv_header_dmalloc_h}" = "yes"; then
27 AM_WITH_DMALLOC
28 @@ -376,8 +373,6 @@
29 AC_CHECK_LIB(curses, initscr, HAVE_TERMCAP="curses")
30 AC_CHECK_LIB(ncurses, initscr, HAVE_TERMCAP="ncurses")
32 -AM_ICONV
34 dnl math lib
35 AC_CHECK_LIB(m, cos, USE_LIBM="-lm")
36 dnl free fast math library
37 diff -uNr lame-3.99.5.org/doc/html/Makefile.am lame-3.99.5/doc/html/Makefile.am
38 --- lame-3.99.5.org/doc/html/Makefile.am 2010-09-30 22:58:40.000000000 +0200
39 +++ lame-3.99.5/doc/html/Makefile.am 2015-04-11 11:37:02.880239754 +0200
40 @@ -1,6 +1,6 @@
41 ## $Id: Makefile.am,v 1.7 2010/09/30 20:58:40 jaz001 Exp $
43 -AUTOMAKE_OPTIONS = foreign ansi2knr
44 +AUTOMAKE_OPTIONS = foreign
46 docdir = $(datadir)/doc
47 pkgdocdir = $(docdir)/$(PACKAGE)
48 diff -uNr lame-3.99.5.org/doc/man/Makefile.am lame-3.99.5/doc/man/Makefile.am
49 --- lame-3.99.5.org/doc/man/Makefile.am 2000-10-22 13:39:44.000000000 +0200
50 +++ lame-3.99.5/doc/man/Makefile.am 2015-04-11 11:37:08.704167318 +0200
51 @@ -1,6 +1,6 @@
52 ## $Id: Makefile.am,v 1.1 2000/10/22 11:39:44 aleidinger Exp $
54 -AUTOMAKE_OPTIONS = foreign ansi2knr
55 +AUTOMAKE_OPTIONS = foreign
57 man_MANS = lame.1
58 EXTRA_DIST = ${man_MANS}
59 diff -uNr lame-3.99.5.org/libmp3lame/i386/Makefile.am lame-3.99.5/libmp3lame/i386/Makefile.am
60 --- lame-3.99.5.org/libmp3lame/i386/Makefile.am 2011-04-04 11:42:34.000000000 +0200
61 +++ lame-3.99.5/libmp3lame/i386/Makefile.am 2015-04-11 11:37:35.191833351 +0200
62 @@ -1,6 +1,6 @@
63 ## $Id: Makefile.am,v 1.26 2011/04/04 09:42:34 aleidinger Exp $
65 -AUTOMAKE_OPTIONS = foreign $(top_srcdir)/ansi2knr
66 +AUTOMAKE_OPTIONS = foreign
68 DEFS = @DEFS@ @CONFIG_DEFS@