From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- libgc/patches/001-os_dep.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libgc/patches/001-os_dep.patch (limited to 'libgc/patches/001-os_dep.patch') 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; -- cgit v1.2.3