Fix avahi-browse --help output
This commit is contained in:
parent
5a6a0ff883
commit
17b155d49f
18
avahi-0.6.21-avahi-browse-help-fix.patch
Normal file
18
avahi-0.6.21-avahi-browse-help-fix.patch
Normal file
@ -0,0 +1,18 @@
|
||||
Index: avahi-utils/avahi-browse.c
|
||||
===================================================================
|
||||
--- avahi-utils/avahi-browse.c (revision 1518)
|
||||
+++ avahi-utils/avahi-browse.c (revision 1519)
|
||||
@@ -586,9 +586,12 @@
|
||||
"%s [options] -a\n"
|
||||
"%s [options] -D\n"
|
||||
#if defined(HAVE_GDBM) || defined(HAVE_DBM)
|
||||
- "%s [options] -b\n",
|
||||
+ "%s [options] -b\n"
|
||||
#endif
|
||||
"\n",
|
||||
+#if defined(HAVE_GDBM) || defined(HAVE_DBM)
|
||||
+ argv0,
|
||||
+#endif
|
||||
argv0, argv0, argv0);
|
||||
|
||||
fprintf(f,
|
11
avahi.spec
11
avahi.spec
@ -6,7 +6,7 @@
|
||||
%endif
|
||||
Name: avahi
|
||||
Version: 0.6.21
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Local network service discovery
|
||||
Group: System Environment/Base
|
||||
License: LGPL
|
||||
@ -36,7 +36,8 @@ BuildRequires: mono-devel >= 1.1.13
|
||||
Obsoletes: howl
|
||||
Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
|
||||
# enable mono's mcs to work in beehive buildroot:
|
||||
Patch6: avahi-0.6.3-MONO_SHARED_DIR.patch
|
||||
Patch1: avahi-0.6.21-avahi-browse-help-fix.patch
|
||||
Patch2: avahi-0.6.3-MONO_SHARED_DIR.patch
|
||||
|
||||
%description
|
||||
Avahi is a system which facilitates service discovery on
|
||||
@ -206,8 +207,9 @@ fashion with mDNS.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p0 -b .avahi-browse-help-fix
|
||||
%if %{WITH_MONO}
|
||||
%patch6 -p1 -b .MONO_SHARED_DIR
|
||||
%patch2 -p1 -b .MONO_SHARED_DIR
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -462,6 +464,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Aug 12 2007 Lennart Poettering <lpoetter@redhat.com> - 0.6.21-2
|
||||
- Fix avahi-browse --help output
|
||||
|
||||
* Sun Aug 12 2007 Lennart Poettering <lpoetter@redhat.com> - 0.6.21-1
|
||||
- New upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user