From 973b9bbcd4eb04580e186afb60f305070677955f425efe698774fc340fcd90bc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 6 May 2013 11:09:31 +0000 Subject: [PATCH] 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 --- fix-missing-include.dif | 12 ++++++++++++ openscap.changes | 6 ++++++ openscap.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 fix-missing-include.dif diff --git a/fix-missing-include.dif b/fix-missing-include.dif new file mode 100644 index 0000000..328a3be --- /dev/null +++ b/fix-missing-include.dif @@ -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 + #include + #include ++#include + + #ifndef HAVE_HEADERFORMAT + # define HAVE_LIBRPM44 1 /* hack */ diff --git a/openscap.changes b/openscap.changes index 5019132..f5da3d7 100644 --- a/openscap.changes +++ b/openscap.changes @@ -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 diff --git a/openscap.spec b/openscap.spec index 3921aea..7a59876 100644 --- a/openscap.spec +++ b/openscap.spec @@ -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