1 diff -urNp -x '*.orig' bzip2-1.0.8.org/Makefile.am bzip2-1.0.8/Makefile.am
2 --- bzip2-1.0.8.org/Makefile.am 1970-01-01 01:00:00.000000000 +0100
3 +++ bzip2-1.0.8/Makefile.am 2021-03-21 00:16:33.329899186 +0100
5 +include_HEADERS = bzlib.h bzlib_private.h
6 +lib_LTLIBRARIES = libbz2.la
7 +bin_PROGRAMS = bzip2 bzip2recover
8 +bin_SCRIPTS = bzdiff bzgrep bzmore
9 +man_MANS = bzip2.1 bzgrep.1 bzmore.1 bzdiff.1
11 +libbz2_la_SOURCES = \
21 +libbz2_la_LDFLAGS = -version-info 1:0:0
23 +bzip2_SOURCES = bzip2.c
24 +bzip2_LDADD = libbz2.la
27 + $(LN_S) -f bzip2 $(DESTDIR)$(bindir)/bunzip2
28 + $(LN_S) -f bzip2 $(DESTDIR)$(bindir)/bzcat
29 + $(LN_S) -f bzgrep $(DESTDIR)$(bindir)/bzegrep
30 + $(LN_S) -f bzgrep $(DESTDIR)$(bindir)/bzfgrep
31 + $(LN_S) -f bzmore $(DESTDIR)$(bindir)/bzless
32 + $(LN_S) -f bzdiff $(DESTDIR)$(bindir)/bzcmp
35 + echo '.so bzip2.1' >$(DESTDIR)$(mandir)/man1/bzip2recover.1
36 + echo '.so bzip2.1' >$(DESTDIR)$(mandir)/man1/bunzip2.1
37 + echo '.so bzip2.1' >$(DESTDIR)$(mandir)/man1/bzcat.1
38 + echo '.so bzgrep.1' >$(DESTDIR)$(mandir)/man1/bzegrep.1
39 + echo '.so bzgrep.1' >$(DESTDIR)$(mandir)/man1/bzfgrep.1
40 + echo '.so bzmore.1' >$(DESTDIR)$(mandir)/man1/bzless.1
41 + echo '.so bzdiff.1' >$(DESTDIR)$(mandir)/man1/bzcmp.1
42 diff -urNp -x '*.orig' bzip2-1.0.8.org/configure.ac bzip2-1.0.8/configure.ac
43 --- bzip2-1.0.8.org/configure.ac 1970-01-01 01:00:00.000000000 +0100
44 +++ bzip2-1.0.8/configure.ac 2021-03-21 00:16:33.329899186 +0100
46 +AC_INIT([bzip2], [1.0.6])
48 +AC_CONFIG_HEADER([config.h])
53 +AC_CONFIG_FILES([Makefile])
55 diff -urNp -x '*.orig' bzip2-1.0.8.org/crctable.c bzip2-1.0.8/crctable.c
56 --- bzip2-1.0.8.org/crctable.c 2019-07-13 19:50:05.000000000 +0200
57 +++ bzip2-1.0.8/crctable.c 2021-03-21 00:16:33.329899186 +0100
58 @@ -98,6 +98,9 @@ UInt32 BZ2_crc32Table[256] = {
59 0xbcb4666dL, 0xb8757bdaL, 0xb5365d03L, 0xb1f740b4L
66 /*-------------------------------------------------------------*/
67 /*--- end crctable.c ---*/
68 diff -urNp -x '*.orig' bzip2-1.0.8.org/decompress.c bzip2-1.0.8/decompress.c
69 --- bzip2-1.0.8.org/decompress.c 2019-07-13 19:50:05.000000000 +0200
70 +++ bzip2-1.0.8/decompress.c 2021-03-21 00:16:33.330899186 +0100
71 @@ -35,6 +35,9 @@ void makeMaps_d ( DState* s )
79 /*---------------------------------------------------*/
81 diff -urNp -x '*.orig' bzip2-1.0.8.org/dlltest.c bzip2-1.0.8/dlltest.c
82 --- bzip2-1.0.8.org/dlltest.c 2019-07-13 19:50:05.000000000 +0200
83 +++ bzip2-1.0.8/dlltest.c 2021-03-21 00:16:33.330899186 +0100
85 usage: minibz2 [-d] [-{1,2,..9}] [[srcfilename] destfilename]
\r
95 diff -urNp -x '*.orig' bzip2-1.0.8.org/randtable.c bzip2-1.0.8/randtable.c
96 --- bzip2-1.0.8.org/randtable.c 2019-07-13 19:50:05.000000000 +0200
97 +++ bzip2-1.0.8/randtable.c 2021-03-21 00:16:33.330899186 +0100
98 @@ -78,6 +78,9 @@ Int32 BZ2_rNums[512] = {
102 +#ifdef HAVE_CONFIG_H
106 /*-------------------------------------------------------------*/
107 /*--- end randtable.c ---*/
108 diff -urNp -x '*.orig' bzip2-1.0.8.org/spewG.c bzip2-1.0.8/spewG.c
109 --- bzip2-1.0.8.org/spewG.c 2019-07-13 19:50:05.000000000 +0200
110 +++ bzip2-1.0.8/spewG.c 2021-03-21 00:16:33.330899186 +0100
112 ------------------------------------------------------------------ */
115 -#define _FILE_OFFSET_BITS 64
116 +#ifdef HAVE_CONFIG_H
122 diff -urNp -x '*.orig' bzip2-1.0.8.org/unzcrash.c bzip2-1.0.8/unzcrash.c
123 --- bzip2-1.0.8.org/unzcrash.c 2019-07-13 19:50:05.000000000 +0200
124 +++ bzip2-1.0.8/unzcrash.c 2021-03-21 00:16:33.330899186 +0100
126 ------------------------------------------------------------------ */
129 +#ifdef HAVE_CONFIG_H