rpms/libcap-ng/devel libcap-ng-0.4.2-bswap.patch, NONE, 1.1 libcap-ng.spec, 1.4, 1.5
Steve Grubb
sgrubb at fedoraproject.org
Fri Jun 12 17:06:36 UTC 2009
Author: sgrubb
Update of /cvs/pkgs/rpms/libcap-ng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv644
Modified Files:
libcap-ng.spec
Added Files:
libcap-ng-0.4.2-bswap.patch
Log Message:
Add patch for ppc
libcap-ng-0.4.2-bswap.patch:
--- NEW FILE libcap-ng-0.4.2-bswap.patch ---
diff -urp libcap-ng-0.4.2.orig/src/cap-ng.c libcap-ng-0.4.2/src/cap-ng.c
--- libcap-ng-0.4.2.orig/src/cap-ng.c 2009-06-12 10:56:45.000000000 -0400
+++ libcap-ng-0.4.2/src/cap-ng.c 2009-06-12 11:56:57.000000000 -0400
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <stdarg.h>
#include <errno.h>
+#include <byteswap.h>
/* External syscall prototypes */
extern int capset(cap_user_header_t header, cap_user_data_t data);
Index: libcap-ng.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libcap-ng/devel/libcap-ng.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- libcap-ng.spec 12 Jun 2009 15:34:57 -0000 1.4
+++ libcap-ng.spec 12 Jun 2009 17:06:06 -0000 1.5
@@ -6,6 +6,7 @@ License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
+Patch1: libcap-ng-0.4.2-bswap.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kernel-headers >= 2.6.11
BuildRequires: libattr-devel
@@ -36,6 +37,7 @@ lets you set the file system based capab
%prep
%setup -q
+%patch1 -p1
%build
%configure --libdir=/%{_lib}
More information about the fedora-extras-commits
mailing list