Accepting request 17355 from Base:System
Copy from Base:System/pciutils based on submit request 17355 from user anicka OBS-URL: https://build.opensuse.org/request/show/17355 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pciutils?expand=0&rev=19
This commit is contained in:
parent
edac14faf9
commit
38c03b2aec
10
pciutils-3.1.3-fclose.patch
Normal file
10
pciutils-3.1.3-fclose.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- lib/dump.c
|
||||
+++ lib/dump.c
|
||||
@@ -114,6 +114,7 @@
|
||||
a->error("dump: Malformed line");
|
||||
}
|
||||
}
|
||||
+ fclose(f);
|
||||
}
|
||||
|
||||
static void
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 16:04:26 CEST 2009 - anicka@suse.cz
|
||||
|
||||
- add fclose to dump_init (bnc#529469)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 3 14:33:26 CEST 2009 - anicka@suse.cz
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
Name: pciutils
|
||||
BuildRequires: zlib-devel
|
||||
Version: 3.1.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Requires: pciutils-ids
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
@ -36,6 +36,7 @@ Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: update-pciutils-dist
|
||||
Patch1: %{name}-%{version}_pkgconfig.patch
|
||||
Patch2: %{name}-%{version}-fclose.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -81,6 +82,7 @@ Authors:
|
||||
%setup -q
|
||||
%patch -p1
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
make OPT="$RPM_OPT_FLAGS -Wall" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user