diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
| commit | 9352995934adec8059077af241c35ccd1573bd80 (patch) | |
| tree | 60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /libgc/patches/001-os_dep.patch | |
| parent | ef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff) | |
| parent | 880bca260c4ce91554a49b2475232cf5c0ffd447 (diff) | |
| download | qipackages-fork-master.tar.gz | |
Conflicts:
links/Makefile
Diffstat (limited to 'libgc/patches/001-os_dep.patch')
| -rw-r--r-- | libgc/patches/001-os_dep.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libgc/patches/001-os_dep.patch b/libgc/patches/001-os_dep.patch new file mode 100644 index 0000000..42fc131 --- /dev/null +++ b/libgc/patches/001-os_dep.patch @@ -0,0 +1,19 @@ +--- gc-7.2alpha4.orig/os_dep.c 2010-09-25 17:47:19.651870610 +0400 ++++ gc-7.2alpha4/os_dep.c 2010-09-25 21:40:13.382745526 +0400 +@@ -1211,7 +1211,7 @@ + { + pthread_attr_t attr; + size_t size; +- ++/* + if (pthread_getattr_np(pthread_self(), &attr) != 0) { + WARN("pthread_getattr_np failed\n", 0); + return GC_UNIMPLEMENTED; +@@ -1219,6 +1219,7 @@ + if (pthread_attr_getstack(&attr, &(b -> mem_base), &size) != 0) { + ABORT("pthread_attr_getstack failed"); + } ++ */ + pthread_attr_destroy(&attr); + # ifdef STACK_GROWS_DOWN + b -> mem_base = (char *)(b -> mem_base) + size; |
