packages: klibc/klibc.spec, klibc/aligned_u64.patch (NEW)=?UTF-8?Q?=20?=- added aligned_u...
sls
sls at pld-linux.org
Sat Jun 9 23:46:07 CEST 2012
Author: sls Date: Sat Jun 9 21:46:07 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- added aligned_u64.patch
---- Files affected:
packages/klibc:
klibc.spec (1.86 -> 1.87) , aligned_u64.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/klibc/klibc.spec
diff -u packages/klibc/klibc.spec:1.86 packages/klibc/klibc.spec:1.87
--- packages/klibc/klibc.spec:1.86 Tue Aug 2 19:41:46 2011
+++ packages/klibc/klibc.spec Sat Jun 9 23:46:01 2012
@@ -18,6 +18,7 @@
Source0: http://www.kernel.org/pub/linux/libs/klibc/Current/%{name}-%{version}.tar.bz2
# Source0-md5: 4df9b0d3d7f9f366c4b5c171cac3c6c3
Patch0: %{name}-klcc.patch
+Patch1: aligned_u64.patch
URL: http://www.zytor.com/mailman/listinfo/klibc/
# ld.bfd binary
BuildRequires: binutils >= 2.20.51.0.6
@@ -127,6 +128,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p2
%build
cd usr/include
@@ -227,6 +229,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.87 2012/06/09 21:46:01 sls
+- added aligned_u64.patch
+
Revision 1.86 2011/08/02 17:41:46 qboosh
- updated to 1.5.24
- removed obsolete make patch
================================================================
Index: packages/klibc/aligned_u64.patch
diff -u /dev/null packages/klibc/aligned_u64.patch:1.1
--- /dev/null Sat Jun 9 23:46:07 2012
+++ packages/klibc/aligned_u64.patch Sat Jun 9 23:46:01 2012
@@ -0,0 +1,15 @@
+* __aligned_u64 definition
+* patch from http://www.zytor.com/pipermail/klibc/2011-November/003151.html
+--- a/klibc/usr/include/sys/types.h
++++ b/klibc/usr/include/sys/types.h
+@@ -100,6 +100,10 @@ typedef uint16_t __sum16;
+ typedef uint32_t __sum32;
+ typedef uint64_t __sum64;
+
++#define __aligned_u64 __u64 __attribute__((aligned(8)))
++#define __aligned_be64 __be64 __attribute__((aligned(8)))
++#define __aligned_le64 __le64 __attribute__((aligned(8)))
++
+ /*
+ * Some headers seem to require this...
+ */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/klibc/klibc.spec?r1=1.86&r2=1.87
More information about the pld-cvs-commit
mailing list