Commit 281d4aed authored by Natanael Copa's avatar Natanael Copa

core/uclibc: another threading fix

parent 9f6783f5
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=uclibc
pkgver=0.9.30.1
pkgrel=9
pkgrel=10
pkgdesc="C library for developing embedded Linux systems"
url=http://uclibc.org
license="LGPL-2"
......@@ -17,6 +17,7 @@ source="http://uclibc.org/downloads/$_mynamever.tar.bz2
0001-linuxthreads-fixes-from-Will-Newton-will.newton-AT-g.patch
pthread-new-aliasing-fix.diff
uclibc-resolv-cname-fix.diff
uclibc-i386-floating-stacks.diff
ppoll.patch
uclibcconfig
"
......@@ -35,6 +36,8 @@ _compile() {
cd "$srcdir/$_mynamever/"
cp ../uclibcconfig .config
make silentoldconfig
# this is a hack to get uclibc-i386-floating-stacks.diff working
touch libc/sysdeps/linux/i386/sysdep.h
make || return 1
}
......@@ -55,5 +58,6 @@ cf80c0d44a41e02f389be427ee615d61 uclibc-0.9.30.1-pthread_getattr_np.patch
bcd1c4c9c87f092fb4631559e6ec13ba 0001-linuxthreads-fixes-from-Will-Newton-will.newton-AT-g.patch
969187e1da84d0a0a5957b392a3d5a2b pthread-new-aliasing-fix.diff
bbb8475963e791f596c34c81ef5583d7 uclibc-resolv-cname-fix.diff
0b3966ab7774ac42ecf34a7b596c661b uclibc-i386-floating-stacks.diff
60738298e377295d359768a09adac0bb ppoll.patch
0a87f57d3e5001027f43b7c959d96319 uclibcconfig"
--- uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/i386/pt-machine.h Thu Sep 25 13:55:14 2008
+++ /root/uClibc-0.9.30.1-patched/libpthread/linuxthreads/sysdeps/i386/pt-machine.h Wed Jun 24 13:13:31 2009
@@ -113,6 +113,8 @@
}
#endif /* __ASSEMBLER__ */
+#include "./useldt.h"
+
#endif /* pt-machine.h */
#endif
--- uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/i386/useldt.h Tue May 15 00:35:00 2007
+++ /root/uClibc-0.9.30.1-patched/libpthread/linuxthreads/sysdeps/i386/useldt.h Wed Jun 24 13:22:38 2009
@@ -23,7 +23,8 @@
#include <stddef.h> /* For offsetof. */
#include <stdlib.h> /* For abort(). */
#include <sysdep.h>
-
+#include <sys/syscall.h>
+#include <kernel-features.h>
/* We don't want to include the kernel header. So duplicate the
information. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment