From c98155a82a115a5de8dbbdb70d0721950b59fde7 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 1 Feb 2015 03:31:33 +0100 Subject: [PATCH] Add patch to fix building glibc 2.20 on sparc This actually comes from upstream: https://sourceware.org/ml/libc-alpha/2014-09/msg00317.html It is needed for plain glibc as well as linaro's version. A symlink is added for the latter's version 2.20-2014.11. Signed-off-by: Waldemar Brodkorb Signed-off-by: Stefan Tauner --- patches/glibc/2.20/100-sparc-nptl.patch | 14 ++++++++++++++ patches/glibc/linaro-2.20-2014.11 | 1 + 2 files changed, 15 insertions(+) create mode 100644 patches/glibc/2.20/100-sparc-nptl.patch create mode 120000 patches/glibc/linaro-2.20-2014.11 diff --git a/patches/glibc/2.20/100-sparc-nptl.patch b/patches/glibc/2.20/100-sparc-nptl.patch new file mode 100644 index 00000000..21f03379 --- /dev/null +++ b/patches/glibc/2.20/100-sparc-nptl.patch @@ -0,0 +1,14 @@ +diff --git a/sysdeps/sparc/sparc32/sem_trywait.c b/sysdeps/sparc/sparc32/sem_trywait.c +index 7d0fc55..ad9b4ad 100644 +--- a/sysdeps/sparc/sparc32/sem_trywait.c ++++ b/sysdeps/sparc/sparc32/sem_trywait.c +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + #include + + + diff --git a/patches/glibc/linaro-2.20-2014.11 b/patches/glibc/linaro-2.20-2014.11 new file mode 120000 index 00000000..9761f734 --- /dev/null +++ b/patches/glibc/linaro-2.20-2014.11 @@ -0,0 +1 @@ +2.20 \ No newline at end of file