parent
da0ff27279
commit
ed33a7aff7
25
1161747-src-man.c-do_extern-Pass-the-l-option-through.patch
Normal file
25
1161747-src-man.c-do_extern-Pass-the-l-option-through.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 2b6858ce7a82ed01ac02cb1ddb3afc98055ab123 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Chaloupka <jchaloup@redhat.com>
|
||||
Date: Thu, 13 Nov 2014 10:59:59 +0100
|
||||
Subject: [PATCH] src/man.c (do_extern): Pass the -l option through
|
||||
|
||||
---
|
||||
src/man.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/man.c b/src/man.c
|
||||
index 5a72e1f..e65935a 100644
|
||||
--- a/src/man.c
|
||||
+++ b/src/man.c
|
||||
@@ -740,6 +740,8 @@ static void do_extern (int argc, char *argv[])
|
||||
/* Please keep these in the same order as they are in whatis.c. */
|
||||
if (debug_level)
|
||||
pipecmd_arg (cmd, "-d");
|
||||
+ if (local_man_file) /* actually apropos/whatis --long */
|
||||
+ pipecmd_arg (cmd, "-l");
|
||||
if (colon_sep_section_list)
|
||||
pipecmd_args (cmd, "-s", colon_sep_section_list, NULL);
|
||||
if (alt_system_name)
|
||||
--
|
||||
1.9.3
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: Tools for searching and reading man pages
|
||||
Name: man-db
|
||||
Version: 2.7.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# GPLv2+ .. man-db
|
||||
# GPLv3+ .. gnulib
|
||||
License: GPLv2+ and GPLv3+
|
||||
@ -15,6 +15,7 @@ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.ta
|
||||
Source1: man-db.service
|
||||
Source2: man-db.timer
|
||||
Patch0: 1151558-switch-man-and-root-in-init-systemd-man-db.conf.patch
|
||||
Patch1: 1161747-src-man.c-do_extern-Pass-the-l-option-through.patch
|
||||
|
||||
Obsoletes: man < 2.0
|
||||
Provides: man = %{version}
|
||||
@ -134,6 +135,10 @@ fi
|
||||
%lang(zh_CN) %{_datadir}/man/zh_CN/man*/*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 13 2014 jchaloup <jchaloup@redhat.com> - 2.7.1-2
|
||||
- src/man.c (do_extern): Pass the -l option through
|
||||
resolves: #1161747
|
||||
|
||||
* Wed Nov 12 2014 jchaloup <jchaloup@redhat.com> - 2.7.1-1
|
||||
- update to 2.7.1
|
||||
resolves: #1163167
|
||||
|
Loading…
Reference in New Issue
Block a user