From a1a0a03d789f7d008290788c88f1e1de5b94e7cb61249b07e44158fcb4554f26 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sun, 13 Dec 2009 23:07:51 +0000 Subject: [PATCH] Accepting request 26365 from home:jengelh:branches:Base:System Copy from home:jengelh:branches:Base:System/man via accept of submit request 26365 revision 2. Request was accepted with message: thanks OBS-URL: https://build.opensuse.org/request/show/26365 OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=11 --- man-db-2.4.3-firefox.dif | 10 ++++++---- man-db-2.4.3-section.dif | 14 ++++++++------ man-db-2.5.2-fastpipe.dif | 12 +++++++----- man.changes | 10 ++++++++++ man.spec | 4 ++-- 5 files changed, 33 insertions(+), 17 deletions(-) diff --git a/man-db-2.4.3-firefox.dif b/man-db-2.4.3-firefox.dif index dc4cf0e..539e12c 100644 --- a/man-db-2.4.3-firefox.dif +++ b/man-db-2.4.3-firefox.dif @@ -1,6 +1,8 @@ ---- src/man.c -+++ src/man.c 2007-07-18 14:45:24.091833039 +0200 -@@ -2280,21 +2280,23 @@ static void format_display (pipeline *fo +Index: src/man.c +=================================================================== +--- src/man.c.orig ++++ src/man.c +@@ -2031,21 +2031,23 @@ static void format_display (pipeline *de if (!status) break; } @@ -27,4 +29,4 @@ + html_pager); } else #endif /* TROFF_IS_GROFF */ - if (format_cmd) { + /* TODO: check format_cmd status too? */ diff --git a/man-db-2.4.3-section.dif b/man-db-2.4.3-section.dif index fc4cb3f..b05e5d3 100644 --- a/man-db-2.4.3-section.dif +++ b/man-db-2.4.3-section.dif @@ -1,6 +1,8 @@ ---- src/man.c -+++ src/man.c 2006-06-13 16:01:19.000000000 +0200 -@@ -1312,7 +1312,7 @@ +Index: src/man.c +=================================================================== +--- src/man.c.orig ++++ src/man.c +@@ -1142,7 +1142,7 @@ static inline const char *is_section (co { const char **vs; @@ -8,8 +10,8 @@ + for (vs = section_list; vs && *vs; vs++) { if (STREQ (*vs, name)) return name; - if (strlen (*vs) == 1 && STRNEQ (*vs, name, 1)) -@@ -2714,7 +2714,8 @@ + /* allow e.g. 3perl but disallow 8139too and libfoo */ +@@ -2565,7 +2565,8 @@ static int compare_candidates (const str * section_list. */ const char **sp; @@ -19,7 +21,7 @@ if (!*(*sp + 1)) { /* No extension */ if (!sec_left && **sp == *(left->ext)) -@@ -3397,7 +3398,7 @@ +@@ -3209,7 +3210,7 @@ static int man (const char *name, int *f } else { const char **sp; diff --git a/man-db-2.5.2-fastpipe.dif b/man-db-2.5.2-fastpipe.dif index 05ba8aa..e68c53b 100644 --- a/man-db-2.5.2-fastpipe.dif +++ b/man-db-2.5.2-fastpipe.dif @@ -1,8 +1,10 @@ ---- lib/pipeline.c -+++ lib/pipeline.c 2008-11-21 11:53:20.554776039 +0100 -@@ -50,6 +50,20 @@ - #include "error.h" - #include "pipeline.h" +Index: lib/pipeline.c +=================================================================== +--- lib/pipeline.c.orig ++++ lib/pipeline.c +@@ -54,6 +54,20 @@ + # include "zio.h" + #endif /* HAVE_ZIO */ +#ifdef __linux__ +# include diff --git a/man.changes b/man.changes index 54b81d6..aa81dc6 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Dec 13 17:02:44 CET 2009 - jengelh@medozas.de + +- enable parallel building + +------------------------------------------------------------------- +Tue Nov 3 19:09:30 UTC 2009 - coolo@novell.com + +- updated patches to apply with fuzz=0 + ------------------------------------------------------------------- Tue Sep 22 00:19:11 CEST 2009 - crrodriguez@suse.de diff --git a/man.spec b/man.spec index af7e48e..918be85 100644 --- a/man.spec +++ b/man.spec @@ -31,7 +31,7 @@ BuildRequires: gettext-runtime gettext-tools BuildRequires: gettext gettext-devel %endif Version: 2.5.2 -Release: 21 +Release: 22 Summary: A Program for Displaying man Pages License: GPL v2 or later Url: https://savannah.nongnu.org/projects/man-db @@ -150,7 +150,7 @@ Authors: --with-config-file=%{_sysconfdir}/manpath.config \ --without-included-gettext \ --with-sections="${SEC}" - make nls=all + make %{?jobs:-j%jobs} nls=all for man in $(find man/ -type f -a -name '*.man[0-9]'); do pp="$(head -n 1 $man)" case "$pp" in