- added aligned_u64.patch
authorSzymon Siwek <sls@pld-linux.org>
Sat, 9 Jun 2012 21:46:01 +0000 (21:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aligned_u64.patch -> 1.1
    klibc.spec -> 1.87

aligned_u64.patch [new file with mode: 0644]
klibc.spec

diff --git a/aligned_u64.patch b/aligned_u64.patch
new file mode 100644 (file)
index 0000000..269138a
--- /dev/null
@@ -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...
+  */
index 70c3f08f3e6bd8b9a47a884f3560e0a8727cf8f1..e3995d6e9b102a39a7a6341b782f1584b54e9d00 100644 (file)
@@ -17,6 +17,7 @@ Group:                Libraries
 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
@@ -126,6 +127,7 @@ Programy zawarte w tym pakiecie zawierajÄ… informacje dla debuggera.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p2
 
 %build
 cd usr/include
This page took 0.032336 seconds and 4 git commands to generate.