diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-09-06 15:36:10 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-09-06 15:36:10 +0000 |
commit | 8c8b73c08bcebedb7c9fd1d92a0d139be1475c16 (patch) | |
tree | e45c1b61ff452a51a0c345400a6e2ad402ad4604 /sys-apps/preload/files/preload-0.6.4-use-help2man-as-usual.patch | |
parent | Version bump. Now compiles again in full debug mode; closes bug #335790 by Lu... (diff) | |
download | historical-8c8b73c08bcebedb7c9fd1d92a0d139be1475c16.tar.gz historical-8c8b73c08bcebedb7c9fd1d92a0d139be1475c16.tar.bz2 historical-8c8b73c08bcebedb7c9fd1d92a0d139be1475c16.zip |
Apply Flameeyes' patches to fix parallel compilation (bug #244966 by Jeremy Olexa). Also use 'elog' instead of 'einfo' and drop old 'eerror' message. Move to EAPI 2.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/preload/files/preload-0.6.4-use-help2man-as-usual.patch')
-rw-r--r-- | sys-apps/preload/files/preload-0.6.4-use-help2man-as-usual.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/preload/files/preload-0.6.4-use-help2man-as-usual.patch b/sys-apps/preload/files/preload-0.6.4-use-help2man-as-usual.patch new file mode 100644 index 000000000000..d5d44e614edd --- /dev/null +++ b/sys-apps/preload/files/preload-0.6.4-use-help2man-as-usual.patch @@ -0,0 +1,31 @@ +--- src/Makefile.am~ 2009-04-15 23:46:04.000000000 +0200 ++++ src/Makefile.am 2010-04-09 12:56:45.000000000 +0200 +@@ -54,23 +54,11 @@ + + dist_man_MANS = preload.8 + +-$(srcdir)/preload.8: cmdline.c ../configure.ac preload.8.i +- $(MAKE) $(AM_MAKEFLAGS) preload +- @echo "Creating $@ using help2man(1)" +- @$(top_builddir)/missing --run \ +- help2man --no-info --section=8 --include=preload.8.i \ +- --help-option="-H" --output="$@.tmp" \ +- --name 'Adaptive readahead daemon' ./preload \ +- && mv "$@.tmp" "$@" \ +- || ($(RM) "$@"; \ +- echo Failed to update preload.8, the man page may be outdated >&2; \ +- (test -f "$@" || echo help2man is required to generate this file. >> "$@")); +- +-install-data-hook: +- @cd "$(DESTDIR)$(man8dir)" && gzip -c preload.8 > preload.8.gz.tmp && mv preload.8.gz.tmp preload.8.gz && $(RM) preload.8 +- +-uninstall-hook: +- $(RM) "$(DESTDIR)$(man8dir)/preload.8.gz" ++preload.8: preload preload.8.i ++ -$(HELP2MAN) \ ++ --no-info --section=8 --include=preload.8.i \ ++ --help-option="-H" --output="$@" \ ++ --name 'Adaptive readahead daemon' ./$^ + + ###################################################################### + |