diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/wvstreams/wvstreams-4.6.1-gcc47.patch | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/wvstreams/wvstreams-4.6.1-gcc47.patch')
-rw-r--r-- | community/wvstreams/wvstreams-4.6.1-gcc47.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/community/wvstreams/wvstreams-4.6.1-gcc47.patch b/community/wvstreams/wvstreams-4.6.1-gcc47.patch deleted file mode 100644 index b284da8f3..000000000 --- a/community/wvstreams/wvstreams-4.6.1-gcc47.patch +++ /dev/null @@ -1,50 +0,0 @@ -http://bugs.gentoo.org/419563 -http://bugs.gentoo.org/419971 - -See -gcc47-patch and -magic.patch in Fedora git: - -http://pkgs.fedoraproject.org/gitweb/?p=libwvstreams.git;a=tree - ---- include/wvtask.h -+++ include/wvtask.h -@@ -45,7 +45,8 @@ - typedef void TaskFunc(void *userdata); - - static int taskcount, numtasks, numrunning; -- int magic_number, *stack_magic; -+ int volatile magic_number; -+ int *stack_magic; - WvString name; - int tid; - -@@ -84,7 +85,7 @@ - static WvTaskMan *singleton; - static int links; - -- static int magic_number; -+ static int volatile magic_number; - static WvTaskList all_tasks, free_tasks; - - static void get_stack(WvTask &task, size_t size); ---- include/wvuid.h -+++ include/wvuid.h -@@ -7,6 +7,7 @@ - #ifndef __WVUID_H - #define __WVUID_H - -+#include <unistd.h> - #include "wvstring.h" - - #if WIN32 ---- utils/wvtask.cc -+++ utils/wvtask.cc -@@ -58,7 +58,8 @@ - int WvTask::taskcount, WvTask::numtasks, WvTask::numrunning; - - WvTaskMan *WvTaskMan::singleton; --int WvTaskMan::links, WvTaskMan::magic_number; -+int WvTaskMan::links; -+int volatile WvTaskMan::magic_number; - WvTaskList WvTaskMan::all_tasks, WvTaskMan::free_tasks; - ucontext_t WvTaskMan::stackmaster_task, WvTaskMan::get_stack_return, - WvTaskMan::toplevel; |