man: fix several annoying compile/build warnings
PATCH v4 1/1 man: fix several annoying compile/build warnings
Fixed the build error when building man.config.5 (a remnant of a long ago previous patch). Optimized the manpages Makefile for parallel builds. Drop a FHS patch that is no longer needed, as the standard Makefile puts the man pages in the proper location. Also, fix compile warnings in a couple other files.
[YOCTO #9341]
Signed-off-by Bill Randle <[email protected]>
---
[Note: should be applied after previous man patch "fix src/Makefile to work with parallel make".]
v4: redo patch to src/gripes.c
.../man/man/man-1.5m2-tv_fhs.patch | 31 ------- .../man/man/man-1.6g-compile-warnings.patch | 101 +++++++++++++++++++++ meta/recipes-extended/man/man_1.6g.bb | 2 +- 3 files changed, 102 insertions(+), 32 deletions(-) delete mode 100644 meta/recipes-extended/man/man/man-1.5m2-tv_fhs.patch create mode 100644 meta/recipes-extended/man/man/man-1.6g-compile-warnings.patch
meta/recipes-extended/man/man/man-1.5m2-tv_fhs.patch deleted +0 -31
@@ -1,31 +0,0 @@ -Upstream-Status: Pending - -Signed-off-by: Scott Garman <[email protected]> - ---- man/Makefile.in 2008-12-21 19:19:33.000000000 +0100 -+++ man/Makefile.in.oden 2008-12-21 19:19:39.000000000 +0100 -@@ -34,6 +34,15 @@ - for i in $(MAN8); \ - do if test -f $$i.8; then $(INSTALL) $$i.8 $(mandir)/man8/$$i.@man8ext@; fi; done - -+install-l10n: $(ALL) -+ mkdir -p $(mandir)/$(SLANG)/man1 $(mandir)/$(SLANG)/man5 $(mandir)/$(SLANG)/man8 -+ for i in $(MAN1); \ -+ do $(INSTALL) $$i.1 $(mandir)/$(SLANG)/man1/$$i.@man1ext@; done -+ for i in $(MAN5); \ -+ do $(INSTALL) $$i.5 $(mandir)/$(SLANG)/man5/$$i.@man5ext@; done -+ for i in $(MAN8); \ -+ do if test -f $$i.8; then $(INSTALL) $$i.8 $(mandir)/$(SLANG)/man8/$$i.@man8ext@; fi; done -+ - clean: - rm -f core *.in *.@man1ext@ *.@man5ext@ *.@man8ext@ *~ - -@@ -49,7 +58,7 @@ - @for i in @languages@; do if test -d $$i; then echo; \ - echo "==== Installing the `cat $$i.txt` man pages. ===="; \ - cd $$i; SLANG=/$$i; if test $$SLANG = /en; then SLANG= ; fi; \ -- export SLANG; make -f ../Makefile install; cd ..; \ -+ export SLANG; make -f ../Makefile install-l10n; cd ..; \ - else echo "==== No $$i man pages found. ===="; fi; done - - cleansubdirs:
meta/recipes-extended/man/man/man-1.6g-compile-warnings.patch new file +105 -0
105 lines not on this page · raw message
meta/recipes-extended/man/man_1.6g.bb +1 -1
@@ -39,7 +39,6 @@ SRC_URI = "http://pkgs.fedoraproject.org/lookaside/pkgs/man2html/${BP}.tar.gz/ba file://man-1.5i2-initial.patch \ file://man-1.5h1-gencat.patch;striplevel=0 \ file://man-1.5g-nonrootbuild.patch \ - file://man-1.5m2-tv_fhs.patch;striplevel=0 \ file://man-1.5j-i18n.patch \ file://man-1.6e-whatis2.patch \ file://man-1.6e-use_i18n_vars_in_a_std_way.patch \
@@ -54,6 +53,7 @@ SRC_URI = "http://pkgs.fedoraproject.org/lookaside/pkgs/man2html/${BP}.tar.gz/ba file://man-1.6g-whatis3.patch \ file://configure_sed.patch \ file://man-1.6g-parallel.patch \ + file://man-1.6g-compile-warnings.patch \ " SRC_URI[md5sum] = "ba154d5796928b841c9c69f0ae376660"
--
2.5.0