- fix build problems with p.e. cdrkit
This commit is contained in:
parent
24c7369c90
commit
024414f9a2
@ -1,12 +1,11 @@
|
||||
diff -up libcap-2.16/libcap/include/sys/capability.h.incfix libcap-2.16/libcap/include/sys/capability.h
|
||||
--- libcap-2.16/libcap/include/sys/capability.h.incfix 2009-03-22 17:54:02.000000000 +0100
|
||||
+++ libcap-2.16/libcap/include/sys/capability.h 2009-03-22 17:54:09.000000000 +0100
|
||||
@@ -19,7 +19,7 @@ extern "C" {
|
||||
* information for the user library.
|
||||
*/
|
||||
diff -up libcap-2.16/libcap/include/sys/capability.h.hfix libcap-2.16/libcap/include/sys/capability.h
|
||||
--- libcap-2.16/libcap/include/sys/capability.h.hfix 2009-06-15 14:46:51.000000000 +0200
|
||||
+++ libcap-2.16/libcap/include/sys/capability.h 2009-06-15 14:47:00.000000000 +0200
|
||||
@@ -30,6 +30,7 @@ extern "C" {
|
||||
#define _LINUX_FS_H
|
||||
#define __LINUX_COMPILER_H
|
||||
#define __user
|
||||
+#define _ASM_X86_SIGCONTEXT_H
|
||||
|
||||
-#include <sys/types.h>
|
||||
+#include <linux/types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
typedef unsigned int __u32;
|
||||
typedef __u32 __le32;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: libcap
|
||||
Version: 2.16
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Library for getting and setting POSIX.1e capabilities
|
||||
Source: http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/%{name}-%{version}.tar.gz
|
||||
Patch0: libcap-2.16-headerfix.patch
|
||||
@ -77,6 +77,9 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%changelog
|
||||
* Tue Jun 16 2009 Karsten Hopp <karsten@redhat.com> 2.16-4
|
||||
- fix build problems with p.e. cdrkit
|
||||
|
||||
* Sun Mar 22 2009 Karsten Hopp <karsten@redhat.com> 2.16-1
|
||||
- update, with a fix for rebuild problems
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user