commit libcap for openSUSE:Factory
Hello community, here is the log from the commit of package libcap for openSUSE:Factory checked in at Tue Mar 24 18:34:53 CET 2009. -------- --- libcap/libcap.changes 2009-03-10 16:40:06.000000000 +0100 +++ libcap/libcap.changes 2009-03-23 16:28:19.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Mar 18 16:25:43 CET 2009 - tiwai@suse.de + +- fix a typo in the previous patch (__le64) (bnc#487453) +- don't define __u32 & co if _LINUX_TYPES_H is defined (bnc#487453) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcap.spec ++++++ --- /var/tmp/diff_new_pack.j14406/_old 2009-03-24 18:33:50.000000000 +0100 +++ /var/tmp/diff_new_pack.j14406/_new 2009-03-24 18:33:50.000000000 +0100 @@ -26,7 +26,7 @@ AutoReqProv: on Summary: Library for Capabilities (linux-privs) Support Version: 2.16 -Release: 2 +Release: 3 Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.bz2 Patch: libcap-u64-typedef-fix.diff #URL: http://www.kernel.org/ @@ -126,6 +126,9 @@ %{_mandir}/man3/* %changelog +* Wed Mar 18 2009 tiwai@suse.de +- fix a typo in the previous patch (__le64) (bnc#487453) +- don't define __u32 & co if _LINUX_TYPES_H is defined (bnc#487453) * Tue Mar 10 2009 tiwai@suse.de - fix build error on i386 due to missing __u64 definition in sys/capability.h ++++++ libcap-u64-typedef-fix.diff ++++++ --- /var/tmp/diff_new_pack.j14406/_old 2009-03-24 18:33:51.000000000 +0100 +++ /var/tmp/diff_new_pack.j14406/_new 2009-03-24 18:33:51.000000000 +0100 @@ -1,19 +1,28 @@ --- - libcap/include/sys/capability.h | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) + libcap/include/sys/capability.h | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) --- a/libcap/include/sys/capability.h +++ b/libcap/include/sys/capability.h -@@ -31,8 +31,11 @@ +@@ -26,13 +26,19 @@ + * Make sure we can be included from userland by preventing + * capability.h from including other kernel headers + */ +-#define _LINUX_TYPES_H + #define _LINUX_FS_H #define __LINUX_COMPILER_H #define __user -typedef unsigned int __u32; ++/* HACK to fix build of libcap itself */ ++#ifndef _LINUX_TYPES_H ++#define _LINUX_TYPES_H +#include <stdint.h> +typedef uint32_t __u32; typedef __u32 __le32; +typedef uint64_t __u64; -+typedef __u32 __le64; ++typedef __u64 __le64; ++#endif /* HACK */ #include <linux/capability.h> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de