uclibc: fix pthread.h
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 24 Oct 2016 03:21:51 +0000 (05:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 24 Oct 2016 12:50:00 +0000 (14:50 +0200)
Fixes:
 bfin: http://autobuild.buildroot.net/results/fbf/fbf63bbe0974b490b875a95fb930ba601364b85a/
 m68k: http://autobuild.buildroot.net/results/cc9/cc9b87c4c695f97a056cc53f19e7662750dffeff/
 microblazeel: http://autobuild.buildroot.net/results/941/941c06e29f6542e258f20799dc6f3f94b2f8af88/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/uclibc/0001-linuxthreads-add-back-signal.h.patch [new file with mode: 0644]

diff --git a/package/uclibc/0001-linuxthreads-add-back-signal.h.patch b/package/uclibc/0001-linuxthreads-add-back-signal.h.patch
new file mode 100644 (file)
index 0000000..1a957c5
--- /dev/null
@@ -0,0 +1,28 @@
+From 543308f6c46cf2edf8a524bc9c631e472570fe72 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@uclibc-ng.org>
+Date: Mon, 24 Oct 2016 05:15:07 +0200
+Subject: [PATCH] linuxthreads: add back signal.h
+
+Somehow this got removed with f1d7505e40654a185843bdc8f1cf1fd00ab55c04.
+
+Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
+---
+ libpthread/linuxthreads/sysdeps/pthread/pthread.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libpthread/linuxthreads/sysdeps/pthread/pthread.h b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+index cf043b5..cc13a52 100644
+--- a/libpthread/linuxthreads/sysdeps/pthread/pthread.h
++++ b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+@@ -20,6 +20,7 @@
+ #include <sched.h>
+ #include <time.h>
++#include <signal.h>
+ #include <bits/pthreadtypes.h>
+ #include <bits/initspin.h>
+-- 
+2.1.4
+