]> git.pld-linux.org Git - packages/ac3dec.git/blob - ac3dec-make.patch
- tabs in preamble
[packages/ac3dec.git] / ac3dec-make.patch
1 diff -urN ac3dec-0.6.1.org/Makefile.am ac3dec-0.6.1/Makefile.am
2 --- ac3dec-0.6.1.org/Makefile.am        Wed Mar 14 14:54:26 2001
3 +++ ac3dec-0.6.1/Makefile.am    Wed Mar 14 15:11:12 2001
4 @@ -1,15 +1,15 @@
5  # # Process this file with automake to produce Makefile.in.
6  AUTOMAKE_OPTIONS = 1.3 foreign
7  
8 -CFLAGS = -Wall -Werror -O3 -g
9 +CFLAGS = @CFLAGS@ -Wall -Werror
10  
11  bin_PROGRAMS = ac3dec 
12  
13 -ac3dec_LDADD= -L./libac3 -lac3 -lm 
14 +ac3dec_LDADD= ./libac3/libac3.la -lm 
15  
16  noinst_HEADERS = output.h
17  ac3dec_SOURCES = ac3dec.c output.c
18 -ac3dec_DEPENDENCIES = libac3/libac3.a
19 +ac3dec_DEPENDENCIES = libac3/libac3.la
20  
21  
22  EXTRA_DIST = README Changelog TODO plot_spectrum.m autogen.sh\
23 diff -urN ac3dec-0.6.1.org/configure.in ac3dec-0.6.1/configure.in
24 --- ac3dec-0.6.1.org/configure.in       Wed Mar 14 14:54:26 2001
25 +++ ac3dec-0.6.1/configure.in   Wed Mar 14 15:13:23 2001
26 @@ -11,7 +11,7 @@
27  AM_MAINTAINER_MODE
28  AC_PROG_CC
29  AC_PROG_GCC_TRADITIONAL
30 -AC_PROG_RANLIB
31 +AM_PROG_LIBTOOL
32  
33  AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBS="$LIBS -lossaudio")
34  
35 diff -urN ac3dec-0.6.1.org/libac3/Makefile.am ac3dec-0.6.1/libac3/Makefile.am
36 --- ac3dec-0.6.1.org/libac3/Makefile.am Wed Mar 14 14:54:26 2001
37 +++ ac3dec-0.6.1/libac3/Makefile.am     Wed Mar 14 15:14:57 2001
38 @@ -1,15 +1,16 @@
39  # # Process this file with automake to produce Makefile.in.
40  AUTOMAKE_OPTIONS = 1.3 foreign
41  
42 -CFLAGS = -Wall -Werror -O1 -g
43 +CFLAGS = @CFLAGS@ -Wall -Werror
44  
45 -noinst_LIBRARIES = libac3.a
46 +lib_LTLIBRARIES = libac3.la
47  
48 -libac3_a_SOURCES = bitstream.c decode.c imdct.c coeff.c exponent.c stats.c\
49 +libac3_la_SOURCES = bitstream.c decode.c imdct.c coeff.c exponent.c stats.c\
50         bit_allocate.c  parse.c crc.c debug.c rematrix.c downmix.c dither.c \
51         sanity_check.c
52  
53 -noinst_HEADERS = ac3_internal.h bitstream.h decode.h imdct.h ac3.h stats.h coeff.h\
54 +ac3includedir = $(includedir)/ac3
55 +ac3include_HEADERS = ac3_internal.h bitstream.h decode.h imdct.h ac3.h stats.h coeff.h\
56         exponent.h bit_allocate.h parse.h crc.h debug.h rematrix.h downmix.h dither.h \
57         sanity_check.h
58  
59 diff -urN ac3dec-0.6.1.org/libac3/bitstream.c ac3dec-0.6.1/libac3/bitstream.c
60 --- ac3dec-0.6.1.org/libac3/bitstream.c Wed Mar 14 14:54:26 2001
61 +++ ac3dec-0.6.1/libac3/bitstream.c     Wed Mar 14 14:55:10 2001
62 @@ -23,6 +23,7 @@
63  
64  #include <stdlib.h>
65  #include <stdio.h>
66 +#include <string.h>
67  
68  #include "ac3.h"
69  #include "ac3_internal.h"
70 diff -urN ac3dec-0.6.1.org/tools/Makefile.am ac3dec-0.6.1/tools/Makefile.am
71 --- ac3dec-0.6.1.org/tools/Makefile.am  Wed Mar 14 14:54:26 2001
72 +++ ac3dec-0.6.1/tools/Makefile.am      Wed Mar 14 14:56:18 2001
73 @@ -1,7 +1,7 @@
74  # # Process this file with automake to produce Makefile.in.
75  AUTOMAKE_OPTIONS = 1.3 foreign
76  
77 -CFLAGS = -Wall -Werror -O3 -g 
78 +CFLAGS = @CFLAGS@ -Wall -Werror
79  
80  bin_PROGRAMS = extract_ac3 
81  
This page took 0.026053 seconds and 3 git commands to generate.