diff options
author | Alexey Neyman <stilor@att.net> | 2022-02-11 02:00:59 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2022-02-11 08:47:51 (GMT) |
commit | 86c2982568de1ad4d4cc12a65b19231331484405 (patch) | |
tree | 2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/glibc/2.34 | |
parent | 1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff) |
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any
future forward ports easier) and standardizes the patch/file headers
(which makes them easier to read).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/glibc/2.34')
-rw-r--r-- | packages/glibc/2.34/0000-typedef-caddr.patch | 2 | ||||
-rw-r--r-- | packages/glibc/2.34/0001-Add-ARC700-support.patch | 23 |
2 files changed, 8 insertions, 17 deletions
diff --git a/packages/glibc/2.34/0000-typedef-caddr.patch b/packages/glibc/2.34/0000-typedef-caddr.patch index 451884c..a328da1 100644 --- a/packages/glibc/2.34/0000-typedef-caddr.patch +++ b/packages/glibc/2.34/0000-typedef-caddr.patch @@ -4,7 +4,7 @@ --- a/posix/sys/types.h +++ b/posix/sys/types.h -@@ -112,7 +112,10 @@ typedef __ssize_t ssize_t; +@@ -112,7 +112,10 @@ #ifdef __USE_MISC # ifndef __daddr_t_defined typedef __daddr_t daddr_t; diff --git a/packages/glibc/2.34/0001-Add-ARC700-support.patch b/packages/glibc/2.34/0001-Add-ARC700-support.patch index 23c94a7..22ae16c 100644 --- a/packages/glibc/2.34/0001-Add-ARC700-support.patch +++ b/packages/glibc/2.34/0001-Add-ARC700-support.patch @@ -11,16 +11,14 @@ pieces. I looked at uClibc-ng and a patch by Synopsis for glibc. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> --- - sysdeps/arc/atomic-machine.h | 4 ++++ - sysdeps/unix/sysv/linux/arc/syscall.S | 5 +++++ - sysdeps/unix/sysv/linux/arc/sysdep.h | 8 ++++++++ + sysdeps/arc/atomic-machine.h | 4 ++++ + sysdeps/unix/sysv/linux/arc/syscall.S | 5 +++++ + sysdeps/unix/sysv/linux/arc/sysdep.h | 8 ++++++++ 3 files changed, 17 insertions(+) -diff --git a/sysdeps/arc/atomic-machine.h b/sysdeps/arc/atomic-machine.h -index 1c8638bb44..bde66ae137 100644 --- a/sysdeps/arc/atomic-machine.h +++ b/sysdeps/arc/atomic-machine.h -@@ -64,6 +64,10 @@ typedef uintmax_t uatomic_max_t; +@@ -64,6 +64,10 @@ __atomic_val_bysize (__arch_compare_and_exchange_val, int, \ mem, new, old, __ATOMIC_ACQUIRE) @@ -31,11 +29,9 @@ index 1c8638bb44..bde66ae137 100644 +#endif #endif /* _ARC_BITS_ATOMIC_H */ -diff --git a/sysdeps/unix/sysv/linux/arc/syscall.S b/sysdeps/unix/sysv/linux/arc/syscall.S -index 6227dbf499..0609dbeeba 100644 --- a/sysdeps/unix/sysv/linux/arc/syscall.S +++ b/sysdeps/unix/sysv/linux/arc/syscall.S -@@ -24,8 +24,13 @@ ENTRY (syscall) +@@ -24,8 +24,13 @@ mov_s r1, r2 mov_s r2, r3 mov_s r3, r4 @@ -49,11 +45,9 @@ index 6227dbf499..0609dbeeba 100644 ARC_TRAP_INSN brhi r0, -4096, L (call_syscall_err) -diff --git a/sysdeps/unix/sysv/linux/arc/sysdep.h b/sysdeps/unix/sysv/linux/arc/sysdep.h -index 8465a2f623..3faff27b1c 100644 --- a/sysdeps/unix/sysv/linux/arc/sysdep.h +++ b/sysdeps/unix/sysv/linux/arc/sysdep.h -@@ -128,7 +128,11 @@ L (call_syscall_err): ASM_LINE_SEP \ +@@ -128,7 +128,11 @@ mov r8, __NR_##syscall_name ASM_LINE_SEP \ ARC_TRAP_INSN ASM_LINE_SEP @@ -65,7 +59,7 @@ index 8465a2f623..3faff27b1c 100644 #else /* !__ASSEMBLER__ */ -@@ -139,7 +143,11 @@ extern long int __syscall_error (long int); +@@ -139,7 +143,11 @@ hidden_proto (__syscall_error) # endif @@ -77,6 +71,3 @@ index 8465a2f623..3faff27b1c 100644 # undef INTERNAL_SYSCALL_NCS # define INTERNAL_SYSCALL_NCS(number, nr_args, args...) \ --- -2.16.2 - |