[packages/klibc] - rediffed klcc patch - removed obsolete aligned_u64 patch

qboosh qboosh at pld-linux.org
Sun May 9 17:16:31 CEST 2021


commit 107ae0b7bb35a0f2fffb3d3356bd260eecf9fc73
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 9 17:18:44 2021 +0200

    - rediffed klcc patch
    - removed obsolete aligned_u64 patch

 aligned_u64.patch | 15 ---------------
 klibc-klcc.patch  |  9 ++++-----
 klibc.spec        |  2 --
 3 files changed, 4 insertions(+), 22 deletions(-)
---
diff --git a/klibc.spec b/klibc.spec
index 4b8d8a1..b1908f3 100644
--- a/klibc.spec
+++ b/klibc.spec
@@ -17,7 +17,6 @@ Group:		Libraries
 Source0:	https://www.kernel.org/pub/linux/libs/klibc/2.0/%{name}-%{version}.tar.xz
 # Source0-md5:	7554a9759ae71e9ba3729991c8ae7f63
 Patch0:		%{name}-klcc.patch
-Patch1:		aligned_u64.patch
 URL:		https://lists.zytor.com/klibc/
 # ld.bfd binary
 BuildRequires:	binutils >= 2.20.51.0.6
@@ -129,7 +128,6 @@ Programy zawarte w tym pakiecie zawierają informacje dla debuggera.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p2
 
 %build
 cd usr/include
diff --git a/aligned_u64.patch b/aligned_u64.patch
deleted file mode 100644
index 269138a..0000000
--- a/aligned_u64.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-* __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...
-  */
diff --git a/klibc-klcc.patch b/klibc-klcc.patch
index 80a40f7..5610a9b 100644
--- a/klibc-klcc.patch
+++ b/klibc-klcc.patch
@@ -1,8 +1,7 @@
-diff -urN klibc-1.1.16.org/klcc/Kbuild klibc-1.1.16/klcc/Kbuild
---- klibc-1.1.16.org/klcc/Kbuild	2006-01-06 07:11:43.000000000 +0100
-+++ klibc-1.1.16/klcc/Kbuild	2006-01-06 19:31:36.327836000 +0100
-@@ -22,10 +22,10 @@
- 	$(Q)echo 'EMAIN=$(KLIBCEMAIN)' >> $@
+--- klibc-2.0.9/klcc/Kbuild.orig	2021-05-09 17:11:57.600121311 +0200
++++ klibc-2.0.9/klcc/Kbuild	2021-05-09 17:12:54.373071231 +0200
+@@ -24,10 +24,10 @@ $(obj)/$(KLIBCCROSS)klibc.config: $(src)
+ 	$(Q)echo 'CRTSHARED=$(notdir $(KLIBCCRTSHARED))' >> $@
  	$(Q)echo 'BITSIZE=$(KLIBCBITSIZE)' >> $@
  	$(Q)echo 'VERSION=$(shell cat $(srctree)/usr/klibc/version)' >> $@
 -	$(Q)echo 'prefix=$(INSTALLDIR)' >> $@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/klibc.git/commitdiff/107ae0b7bb35a0f2fffb3d3356bd260eecf9fc73



More information about the pld-cvs-commit mailing list