summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-08-18 17:33:33 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-08-18 17:33:33 +0000
commit9bcdc3a581ad6a483789bb139db8f042d609fb69 (patch)
tree1ee363b999ef94932161ac84b453581a22d6adf9 /app-i18n/man-pages-de/files
parentbring back sysconf option. Add systemd unit file (diff)
downloadgentoo-2-9bcdc3a581ad6a483789bb139db8f042d609fb69.tar.gz
gentoo-2-9bcdc3a581ad6a483789bb139db8f042d609fb69.tar.bz2
gentoo-2-9bcdc3a581ad6a483789bb139db8f042d609fb69.zip
Version bump
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'app-i18n/man-pages-de/files')
-rw-r--r--app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch b/app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch
new file mode 100644
index 000000000000..f39472ac6e59
--- /dev/null
+++ b/app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch
@@ -0,0 +1,19 @@
+--- po/generate-manpage.sh.old 2012-11-29 13:26:30.000000000 +0100
++++ po/generate-manpage.sh 2013-08-18 18:34:37.715547485 +0200
+@@ -38,6 +38,16 @@
+ original="$uncompressed_manpage"
+ fi
+ fi
++# Try a bzip'ed version
++if [ ! -f "$original" ]; then
++ original=/usr/share/man/man$section/$manpage.bz2
++ if [ -f "$original" ]; then
++ # The manpage exists, but needs to be decompressed
++ uncompressed_manpage=`mktemp`
++ bzip2 -d -c "$original" > "$uncompressed_manpage"
++ original="$uncompressed_manpage"
++ fi
++fi
+ # Cannot generate manpage if the original could not be found
+ if [ ! -f "$original" ]; then
+ echo "The original manpage for $manpage could not be found." >&2