summaryrefslogtreecommitdiff
path: root/lang/gcc48/patches/patch-boehm-gc_threadlibs.c
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-05-31 13:06:25 +0000
committerryoon <ryoon@pkgsrc.org>2014-05-31 13:06:25 +0000
commit37c7c9670242dd640290a4f962f4bfed87bae65a (patch)
treea67c5bcb5d37c50aa22a8a59d7a19a4e62b88b07 /lang/gcc48/patches/patch-boehm-gc_threadlibs.c
parentdfae4c030c18d0254896031c50a150609f257cb2 (diff)
downloadpkgsrc-37c7c9670242dd640290a4f962f4bfed87bae65a.tar.gz
Update to 4.8.3
* Convert gcc48 to simple meta-pkg * Potentially fix non-NetBSD packaging * Fix gcc48-libs/gcc48-cc++ build under OpenBSD/amd64 5.5 * Enable graphite option, from wip/gcc48snapshot via Xiyue Deng * Tweak nls option Changelog: GCC 4.8.3 This is the [35]list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 4.8.3 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here). Support for the new powerpc64le-linux platform has been added. It defaults to generating code that conforms to the ELFV2
Diffstat (limited to 'lang/gcc48/patches/patch-boehm-gc_threadlibs.c')
-rw-r--r--lang/gcc48/patches/patch-boehm-gc_threadlibs.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/gcc48/patches/patch-boehm-gc_threadlibs.c b/lang/gcc48/patches/patch-boehm-gc_threadlibs.c
new file mode 100644
index 00000000000..91553ac4a8f
--- /dev/null
+++ b/lang/gcc48/patches/patch-boehm-gc_threadlibs.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-boehm-gc_threadlibs.c,v 1.1 2014/05/31 13:06:25 ryoon Exp $
+
+--- boehm-gc/threadlibs.c.orig 2012-11-04 22:56:02.000000000 +0000
++++ boehm-gc/threadlibs.c
+@@ -16,6 +16,9 @@ int main()
+ || defined(GC_GNU_THREADS)
+ printf("-lpthread\n");
+ # endif
++# if defined(GC_OPENBSD_THREADS)
++ printf("-pthread\n");
++# endif
+ # if defined(GC_FREEBSD_THREADS)
+ # if (__FREEBSD_version >= 500000)
+ printf("-lpthread\n");