Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lavabit/magma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLadar Levison <ladar@lavabit.com>2018-08-26 22:42:25 +0300
committerLadar Levison <ladar@lavabit.com>2018-08-26 22:42:25 +0300
commit20f0b2b552f8b3fa2110dff6bd5ef7e145b086d0 (patch)
treecda63e74f48b729d76abae6a0e1a40ca5590e65f /lib
parente6d877f7f489e0c52ef2b08b6c69f99756d9e1ab (diff)
Bundled libs man page path fixes.
Diffstat (limited to 'lib')
-rw-r--r--lib/patches/bzip2/man_path_1.0.6.patch79
1 files changed, 79 insertions, 0 deletions
diff --git a/lib/patches/bzip2/man_path_1.0.6.patch b/lib/patches/bzip2/man_path_1.0.6.patch
new file mode 100644
index 00000000..7770d415
--- /dev/null
+++ b/lib/patches/bzip2/man_path_1.0.6.patch
@@ -0,0 +1,79 @@
+diff --git a/Makefile b/Makefile
+index 3e26f64..45c6c46 100644
+--- a/Makefile
++++ b/Makefile
+@@ -88,61 +88,61 @@ test: bzip2
+ cmp sample2.bz2 sample2.rb2
+ cmp sample3.bz2 sample3.rb2
+ @cat words3
+ cmp sample1.tst sample1.ref
+ cmp sample2.tst sample2.ref
+ cmp sample3.tst sample3.ref
+
+ install: bzip2 bzip2recover libbz2.a
+ if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
+ if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
+- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
+- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
++ if ( test ! -d $(PREFIX)/share/man ) ; then mkdir -p $(PREFIX)/share/man ; fi
++ if ( test ! -d $(PREFIX)/share/man/man1 ) ; then mkdir -p $(PREFIX)/share/man/man1 ; fi
+ if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
+ cp -f bzip2 $(PREFIX)/bin/bzip2
+ cp -f bzip2 $(PREFIX)/bin/bunzip2
+ cp -f bzip2 $(PREFIX)/bin/bzcat
+ cp -f bzip2recover $(PREFIX)/bin/bzip2recover
+ chmod a+x $(PREFIX)/bin/bzip2
+ chmod a+x $(PREFIX)/bin/bunzip2
+ chmod a+x $(PREFIX)/bin/bzcat
+ chmod a+x $(PREFIX)/bin/bzip2recover
+- cp -f bzip2.1 $(PREFIX)/man/man1
+- chmod a+r $(PREFIX)/man/man1/bzip2.1
++ cp -f bzip2.1 $(PREFIX)/share/man/man1
++ chmod a+r $(PREFIX)/share/man/man1/bzip2.1
+ ln -s -f bzip2.1 $(PREFIX)/share/man/man1/bunzip2.1
+ ln -s -f bzip2.1 $(PREFIX)/share/man/man1/bzcat.1
+ ln -s -f bzip2.1 $(PREFIX)/share/man/man1/bzip2recover.1
+ cp -f bzlib.h $(PREFIX)/include
+ chmod a+r $(PREFIX)/include/bzlib.h
+ cp -fa libbz2.a libbz2.so* $(PREFIX)/lib
+ chmod a+r $(PREFIX)/lib/libbz2.a
+ cp -f bzexe $(PREFIX)/bin/bzexe
+ chmod a+x $(PREFIX)/bin/bzexe
+ cp -f bzgrep $(PREFIX)/bin/bzgrep
+ ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
+ ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
+ chmod a+x $(PREFIX)/bin/bzgrep
+ cp -f bzmore $(PREFIX)/bin/bzmore
+ ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
+ chmod a+x $(PREFIX)/bin/bzmore
+ cp -f bzdiff $(PREFIX)/bin/bzdiff
+ ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
+ chmod a+x $(PREFIX)/bin/bzdiff
+- cp -f bzexe.1 bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
+- chmod a+r $(PREFIX)/man/man1/bzexe.1
+- chmod a+r $(PREFIX)/man/man1/bzgrep.1
+- chmod a+r $(PREFIX)/man/man1/bzmore.1
+- chmod a+r $(PREFIX)/man/man1/bzdiff.1
+- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
+- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
+- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
+- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
++ cp -f bzexe.1 bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/share/man/man1
++ chmod a+r $(PREFIX)/share/man/man1/bzexe.1
++ chmod a+r $(PREFIX)/share/man/man1/bzgrep.1
++ chmod a+r $(PREFIX)/share/man/man1/bzmore.1
++ chmod a+r $(PREFIX)/share/man/man1/bzdiff.1
++ echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzegrep.1
++ echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzfgrep.1
++ echo ".so man1/bzmore.1" > $(PREFIX)/share/man/man1/bzless.1
++ echo ".so man1/bzdiff.1" > $(PREFIX)/share/man/man1/bzcmp.1
+
+ clean:
+ rm -f *.o *.sho l libbz2.a bzip2 bzip2recover \
+ sample1.rb2 sample2.rb2 sample3.rb2 \
+ sample1.tst sample2.tst sample3.tst
+
+ distclean: clean
+ rm -f manual.ps manual.html manual.pdf
+
+ DISTNAME=bzip2-1.0.6