From 05b7b11ec4bcbf8d6394d58ea645bc4cf324c16e Mon Sep 17 00:00:00 2001 From: Alexey Neyman <stilor@att.net> Date: Thu, 1 Oct 2015 00:38:22 -0700 Subject: [PATCH] Pick up a fix for glibc-2.22 on sparc32. --- ...100-sparc32-sem_open-missing-include.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch diff --git a/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch b/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch new file mode 100644 index 00000000..b481046e --- /dev/null +++ b/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch @@ -0,0 +1,21 @@ +commit 3f512ca79fda7854da188df0585e71467119206e +Author: Brett Neumeier <brett@neumeier.us> +Date: Mon Aug 31 15:27:21 2015 -0700 + + Fix non-v9 32-bit sparc build. + + [BZ #18870] + * sysdeps/sparc/sparc32/sem_open.c: Add missing #include + +diff --git a/sysdeps/sparc/sparc32/sem_open.c b/sysdeps/sparc/sparc32/sem_open.c +index 16cb9ad..59df2d7 100644 +--- a/sysdeps/sparc/sparc32/sem_open.c ++++ b/sysdeps/sparc/sparc32/sem_open.c +@@ -29,6 +29,7 @@ + #include <sys/mman.h> + #include <sys/stat.h> + #include "semaphoreP.h" ++#include <futex-internal.h> + #include <shm-directory.h> + +