]> git.pld-linux.org Git - packages/bzip2.git/blame - bzip2-libtoolizeautoconf.patch
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/bzip2.git] / bzip2-libtoolizeautoconf.patch
CommitLineData
12e8ce2c
JB
1--- bzip2-1.0.5.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100
2+++ bzip2-1.0.5/configure.ac 2008-03-22 16:15:55.057937371 +0100
3@@ -0,0 +1,9 @@
4+AC_INIT([bzip2], [1.0.5])
5+AM_INIT_AUTOMAKE
6+AC_CONFIG_HEADER([config.h])
7+AC_PROG_CC
8+AC_PROG_LIBTOOL
9+AC_PROG_LN_S
10+AC_SYS_LARGEFILE
11+AC_CONFIG_FILES([Makefile])
12+AC_OUTPUT
13--- bzip2-1.0.5.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
14+++ bzip2-1.0.5/Makefile.am 2008-03-22 16:14:38.913593962 +0100
15@@ -0,0 +1,37 @@
16+include_HEADERS = bzlib.h bzlib_private.h
17+lib_LTLIBRARIES = libbz2.la
18+bin_PROGRAMS = bzip2 bzip2recover
19+bin_SCRIPTS = bzdiff bzgrep bzmore
20+man_MANS = bzip2.1 bzgrep.1 bzmore.1 bzdiff.1
21+
22+libbz2_la_SOURCES = \
d967e3ec 23+ blocksort.c \
24+ huffman.c \
25+ crctable.c \
26+ randtable.c \
27+ compress.c \
28+ decompress.c \
29+ bzlib.c \
30+ bzlib.h \
31+ bzlib_private.h
d967e3ec 32+libbz2_la_LDFLAGS = -version-info 1:0:0
d967e3ec 33+
12e8ce2c
JB
34+bzip2_SOURCES = bzip2.c
35+bzip2_LDADD = libbz2.la
d967e3ec 36+
37+install-exec-hook:
38+ $(LN_S) -f bzip2 $(DESTDIR)$(bindir)/bunzip2
39+ $(LN_S) -f bzip2 $(DESTDIR)$(bindir)/bzcat
12e8ce2c
JB
40+ $(LN_S) -f bzgrep $(DESTDIR)$(bindir)/bzegrep
41+ $(LN_S) -f bzgrep $(DESTDIR)$(bindir)/bzfgrep
42+ $(LN_S) -f bzmore $(DESTDIR)$(bindir)/bzless
43+ $(LN_S) -f bzdiff $(DESTDIR)$(bindir)/bzcmp
44+
45+install-data-hook:
46+ echo '.so bzip2.1' >$(DESTDIR)$(mandir)/man1/bzip2recover.1
47+ echo '.so bzip2.1' >$(DESTDIR)$(mandir)/man1/bunzip2.1
48+ echo '.so bzip2.1' >$(DESTDIR)$(mandir)/man1/bzcat.1
49+ echo '.so bzgrep.1' >$(DESTDIR)$(mandir)/man1/bzegrep.1
50+ echo '.so bzgrep.1' >$(DESTDIR)$(mandir)/man1/bzfgrep.1
51+ echo '.so bzmore.1' >$(DESTDIR)$(mandir)/man1/bzless.1
52+ echo '.so bzdiff.1' >$(DESTDIR)$(mandir)/man1/bzcmp.1
15ee0650 53--- bzip2-1.0.2/crctable.c Sun Dec 30 03:19:28 2001
54+++ bzip2-1.0.2.new/crctable.c Fri Feb 1 04:19:11 2002
12e8ce2c 55@@ -58,6 +58,9 @@
d967e3ec 56 For more information on these sources, see the manual.
57 --*/
58
59+#ifdef HAVE_CONFIG_H
60+#include <config.h>
61+#endif
d967e3ec 62
63 #include "bzlib_private.h"
64
15ee0650 65--- bzip2-1.0.2/decompress.c Sun Dec 30 21:45:53 2001
66+++ bzip2-1.0.2.new/decompress.c Fri Feb 1 04:19:11 2002
12e8ce2c 67@@ -58,6 +58,9 @@
d967e3ec 68 For more information on these sources, see the manual.
69 --*/
70
71+#ifdef HAVE_CONFIG_H
72+#include <config.h>
73+#endif
d967e3ec 74
75 #include "bzlib_private.h"
76
15ee0650 77--- bzip2-1.0.2/dlltest.c Sun Dec 30 20:44:07 2001
78+++ bzip2-1.0.2.new/dlltest.c Fri Feb 1 04:19:11 2002
d967e3ec 79@@ -8,6 +8,10 @@
80 usage: minibz2 [-d] [-{1,2,..9}] [[srcfilename] destfilename]\r
81 */\r
82 \r
83+#ifdef HAVE_CONFIG_H
84+#include <config.h>
85+#endif
86+
87 #define BZ_IMPORT\r
88 #include <stdio.h>\r
89 #include <stdlib.h>\r
15ee0650 90--- bzip2-1.0.2/randtable.c Sun Dec 30 03:19:04 2001
91+++ bzip2-1.0.2.new/randtable.c Fri Feb 1 04:19:18 2002
12e8ce2c 92@@ -58,6 +58,9 @@
d967e3ec 93 For more information on these sources, see the manual.
94 --*/
95
96+#ifdef HAVE_CONFIG_H
97+#include <config.h>
98+#endif
d967e3ec 99
100 #include "bzlib_private.h"
101
15ee0650 102--- bzip2-1.0.2/spewG.c Thu Apr 6 01:24:45 2000
103+++ bzip2-1.0.2.new/spewG.c Fri Feb 1 04:19:18 2002
12e8ce2c 104@@ -9,7 +9,9 @@
d967e3ec 105 (but is otherwise harmless).
106 */
107
108-#define _FILE_OFFSET_BITS 64
109+#ifdef HAVE_CONFIG_H
110+#include <config.h>
111+#endif
d967e3ec 112
113 #include <stdio.h>
114 #include <stdlib.h>
15ee0650 115diff -Nru bzip2-1.0.2/unzcrash.c bzip2-1.0.2.new/unzcrash.c
116--- bzip2-1.0.2/unzcrash.c Thu Apr 6 01:24:46 2000
117+++ bzip2-1.0.2.new/unzcrash.c Fri Feb 1 04:19:18 2002
12e8ce2c 118@@ -13,6 +13,10 @@
d967e3ec 119 many hours.
120 */
121
122+#ifdef HAVE_CONFIG_H
123+#include <config.h>
124+#endif
d967e3ec 125+
126 #include <stdio.h>
127 #include <assert.h>
128 #include "bzlib.h"
This page took 0.09639 seconds and 4 git commands to generate.