summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-24 02:07:24 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-24 02:07:24 +0000
commitd0c10785e702f0e56029aee4c4f8f9bfcf03a5e9 (patch)
tree9d6f7295056441b2f0941d9807b9d01c92c9dad9 /toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch
parent89167b9397299681674c890d68559b4390dec3ad (diff)
[toolchain] uClibc cleanup:
- use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch b/toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch
deleted file mode 100644
index 9c3a420595..0000000000
--- a/toolchain/uClibc/patches-0.9.28/100-revert_broken_stuff.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -ur uClibc-0.9.28.2/libc/sysdeps/linux/common/bits/uClibc_pthread.h uClibc-0.9.28.1/libc/sysdeps/linux/common/bits/uClibc_pthread.h
---- uClibc-0.9.28.2/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2007-02-22 00:28:41.000000000 +0100
-+++ uClibc-0.9.28.1/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2007-01-26 00:54:19.000000000 +0100
-@@ -24,27 +23,27 @@
- #define _UCLIBC_PTHREAD_H
-
- #ifndef _PTHREAD_H
--# error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>"
-+#error Always include <pthread.h> rather than <bits/uClibc_pthread.h>
- #endif
-
--#if defined _LIBC
--/* Threading functions internal to uClibc. Make these thread functions
-- * weak so that we can elide them from single-threaded processes. */
--extern int weak_function __pthread_mutex_init (pthread_mutex_t *__mutex,
-- __const pthread_mutexattr_t *__mutex_attr);
--extern int weak_function __pthread_mutex_destroy (pthread_mutex_t *__mutex);
--extern int weak_function __pthread_mutex_lock (pthread_mutex_t *__mutex);
--extern int weak_function __pthread_mutex_unlock (pthread_mutex_t *__mutex);
--extern void __uclibc_mutex_unlock (void *) attribute_hidden;
--extern int weak_function __pthread_mutex_trylock (pthread_mutex_t *__mutex);
--
--struct _pthread_cleanup_buffer;
--extern void weak_function _pthread_cleanup_push_defer (
-- struct _pthread_cleanup_buffer *__buffer,
-- void (*__routine) (void *), void *__arg);
--extern void weak_function _pthread_cleanup_pop_restore (
-- struct _pthread_cleanup_buffer *__buffer,
-- int __execute);
--#endif
-+#if defined _LIBC
-+/* Threading functions internal to uClibc. Make these thread functions
-+ * weak so that we can elide them from single-threaded processes. */
-+extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
-+ __const pthread_mutexattr_t *__mutex_attr);
-+extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
-+extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
-+extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
-+extern void __uclibc_mutex_unlock (void *) attribute_hidden;
-+extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex);
-+
-+struct _pthread_cleanup_buffer;
-+extern void _pthread_cleanup_push_defer (
-+ struct _pthread_cleanup_buffer *__buffer,
-+ void (*__routine) (void *), void *__arg);
-+extern void _pthread_cleanup_pop_restore (
-+ struct _pthread_cleanup_buffer *__buffer,
-+ int __execute);
-+#endif
-
- #endif