diff options
Diffstat (limited to 'app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch')
-rw-r--r-- | app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch b/app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch new file mode 100644 index 000000000000..7592b5ef8e25 --- /dev/null +++ b/app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch @@ -0,0 +1,17 @@ +http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/linuxthreads/linuxthreads/FAQ.html?rev=1.2.2.1&content-type=text/html&cvsroot=glibc#E + +use sched_yield, not pthread_yield + +http://bugs.gentoo.org/119762 + +--- libconsole.c ++++ libconsole.c +@@ -439,7 +439,7 @@ + ret = 0; + } + } else +- pthread_yield(); ++ sched_yield(); + + return ret; + } |