rpms/libcap/F-11 libcap-2.16-headerfix.patch, 1.1, 1.2 libcap.spec, 1.43, 1.44

Karsten Hopp karsten at fedoraproject.org
Mon Jun 15 12:53:02 UTC 2009


Author: karsten

Update of /cvs/extras/rpms/libcap/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10976

Modified Files:
	libcap-2.16-headerfix.patch libcap.spec 
Log Message:
- make it build again on 32bit

libcap-2.16-headerfix.patch:

Index: libcap-2.16-headerfix.patch
===================================================================
RCS file: /cvs/extras/rpms/libcap/F-11/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	15 Jun 2009 12:53:01 -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/F-11/libcap.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- libcap.spec	8 Jun 2009 10:33:09 -0000	1.43
+++ libcap.spec	15 Jun 2009 12:53:01 -0000	1.44
@@ -1,6 +1,6 @@
 Name: libcap
 Version: 2.16
-Release: 3%{?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
@@ -31,7 +31,7 @@ libcap.
 
 %prep
 %setup -q
-#patch0 -p1
+%patch0 -p1
 
 %build
 # libcap can not be build with _smp_mflags:
@@ -77,6 +77,9 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.
 rm -rf ${RPM_BUILD_ROOT}
 
 %changelog
+* Mon Jun 15 2009 Karsten Hopp <karsten at redhat.com> 2.16-4
+- make it build again on 32bit
+
 * Mon Jun 08 2009 Karsten Hopp <karsten at redhat.com> 2.16-3
 - disable headerfix patch (#503927)
 




More information about the fedora-extras-commits mailing list