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 <wbx@openadk.org>
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
This commit is contained in:
Stefan 2015-02-01 03:31:33 +01:00 committed by Stefan Tauner
parent efd8225d2a
commit c98155a82a
2 changed files with 15 additions and 0 deletions

View File

@ -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 <lowlevellock.h>
#include <internaltypes.h>
#include <semaphore.h>
+#include <sparc-nptl.h>
#include <shlib-compat.h>

View File

@ -0,0 +1 @@
2.20