forked from pool/openscap
Accepting request 174495 from systemsmanagement:spacewalk
- fix build on SLE11 - possible 64Bit issue - fix-missing-include.dif OBS-URL: https://build.opensuse.org/request/show/174495 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=76
This commit is contained in:
parent
d4e59709ba
commit
973b9bbcd4
12
fix-missing-include.dif
Normal file
12
fix-missing-include.dif
Normal file
@ -0,0 +1,12 @@
|
||||
Index: openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c
|
||||
===================================================================
|
||||
--- openscap-0.9.7.orig/src/OVAL/probes/unix/linux/rpminfo.c
|
||||
+++ openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c
|
||||
@@ -66,6 +66,7 @@
|
||||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/header.h>
|
||||
+#include <rpm/rpmfi.h>
|
||||
|
||||
#ifndef HAVE_HEADERFORMAT
|
||||
# define HAVE_LIBRPM44 1 /* hack */
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 4 15:37:25 UTC 2013 - mc@suse.com
|
||||
|
||||
- fix build on SLE11 - possible 64Bit issue
|
||||
- fix-missing-include.dif
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 09:21:35 UTC 2013 - meissner@suse.com
|
||||
|
||||
|
@ -33,6 +33,7 @@ Source3: scap-yast2sec-xccdf.xml
|
||||
Source4: scap-yast2sec-oval.xml
|
||||
#
|
||||
#
|
||||
Patch0: fix-missing-include.dif
|
||||
Url: http://www.open-scap.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libacl-devel
|
||||
@ -146,6 +147,7 @@ commonly used and require additional dependencies.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user