diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-01-20 14:47:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-01-20 14:47:53 +0000 |
commit | dc6d881733e996255fec6bf2fbd4816b4eac5281 (patch) | |
tree | 4504a8b2c04ac9688e277418f08eaf1bf84900e6 /toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch | |
parent | 34d45d5d6485da73bc7d27e8a2f23f1704c71cc1 (diff) | |
download | mtk-20170518-dc6d881733e996255fec6bf2fbd4816b4eac5281.zip mtk-20170518-dc6d881733e996255fec6bf2fbd4816b4eac5281.tar.gz mtk-20170518-dc6d881733e996255fec6bf2fbd4816b4eac5281.tar.bz2 |
uClibc: compile fix for the new linuxthreads implementation on mips
SVN-Revision: 14118
Diffstat (limited to 'toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch')
-rw-r--r-- | toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch b/toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch new file mode 100644 index 0000000..bb76dc1 --- /dev/null +++ b/toolchain/uClibc/patches/220-libpthread_sysdep_fixes.patch @@ -0,0 +1,37 @@ +--- /dev/null ++++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h +@@ -0,0 +1,24 @@ ++/* Copyright (C) 2003, 2004 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ Contributed by Guido Guenther <agx@sigxcpu.org>, 2003. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, write to the Free ++ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA ++ 02111-1307 USA. */ ++ ++#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt ++ ++# define SINGLE_THREAD_P (1) ++ ++#endif +--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h ++++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h +@@ -17,7 +17,6 @@ + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +-#include <sysdep.h> + #ifndef __ASSEMBLER__ + # include <linuxthreads/internals.h> + #endif |