rpms/libcap/devel libcap-2.16-headerfix.patch, 1.1, 1.2 libcap.spec, 1.42, 1.43

Karsten Hopp karsten at fedoraproject.org
Tue Jun 16 19:42:33 UTC 2009


Author: karsten

Update of /cvs/extras/rpms/libcap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12743

Modified Files:
	libcap-2.16-headerfix.patch libcap.spec 
Log Message:
- fix build problems with p.e. cdrkit



libcap-2.16-headerfix.patch:

Index: libcap-2.16-headerfix.patch
===================================================================
RCS file: /cvs/extras/rpms/libcap/devel/libcap-2.16-headerfix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- libcap-2.16-headerfix.patch	22 Mar 2009 17:02:16 -0000	1.1
+++ libcap-2.16-headerfix.patch	16 Jun 2009 19:42:32 -0000	1.2
@@ -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;


Index: libcap.spec
===================================================================
RCS file: /cvs/extras/rpms/libcap/devel/libcap.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -r1.42 -r1.43
--- libcap.spec	22 Mar 2009 17:02:16 -0000	1.42
+++ libcap.spec	16 Jun 2009 19:42:32 -0000	1.43
@@ -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 at redhat.com> 2.16-4
+- fix build problems with p.e. cdrkit
+
 * Sun Mar 22 2009 Karsten Hopp <karsten at redhat.com> 2.16-1
 - update, with a fix for rebuild problems
 




More information about the fedora-extras-commits mailing list