diff options
author | jperkin <jperkin> | 2013-04-02 09:57:51 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-04-02 09:57:51 +0000 |
commit | b1ae98addc1abad3c20fec8100f459504f4b132b (patch) | |
tree | 339d4b6a9c63afa40f98e156b2aee3bca192614b /lang/gcc47 | |
parent | a5eb966dac7b81c010c82497e9daf9db1863185f (diff) | |
download | pkgsrc-b1ae98addc1abad3c20fec8100f459504f4b132b.tar.gz |
Enable Go support on SunOS.
Bump PKGREVISIONs.
Diffstat (limited to 'lang/gcc47')
-rw-r--r-- | lang/gcc47/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc47/distinfo | 3 | ||||
-rw-r--r-- | lang/gcc47/options.mk | 4 | ||||
-rw-r--r-- | lang/gcc47/patches/patch-libgo_runtime_proc.c | 17 |
4 files changed, 23 insertions, 5 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 74e260ef51b..b1a1fcc0573 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2013/03/23 19:10:45 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2013/04/02 09:57:51 jperkin Exp $ GCC_PKGNAME= gcc47 .include "version.mk" @@ -8,7 +8,7 @@ PKGNAME= ${GCC_PKGNAME}-${GCC_DIST_VERSION} ## When bumping the PKGREVISION of this package the PKGREVISION of ## lang/gcc47-libs needs to be bump to be at least 1 more than the ## PKGREVISION of this package! -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_DIST_VERSION}/} EXTRACT_SUFX= .tar.bz2 diff --git a/lang/gcc47/distinfo b/lang/gcc47/distinfo index 511749d92ac..82815eaeef4 100644 --- a/lang/gcc47/distinfo +++ b/lang/gcc47/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2013/03/01 15:22:25 jperkin Exp $ +$NetBSD: distinfo,v 1.15 2013/04/02 09:57:51 jperkin Exp $ SHA1 (ecj-4.5.jar) = 58c1d79c64c8cd718550f32a932ccfde8d1e6449 RMD160 (ecj-4.5.jar) = d3f4da657f086b6423f74e93f001132f4855368a @@ -25,6 +25,7 @@ SHA1 (patch-libgcc_crtstuff.c) = 88500ea895cd683608f8f2b7177149f11947e3b4 SHA1 (patch-libgcc_unwind-dw2-fde-dip.c) = 2a0b8c6d2f86d985506578b4e74947d3fb1766a5 SHA1 (patch-libgfortran_configure) = b3bbc7d9201073a1bed0b7e10141465bab52c8be SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3 +SHA1 (patch-libgo_runtime_proc.c) = 55b2c449f4d43fe9b6d7ca1c7f075feebca8ebd6 SHA1 (patch-libjava_boehm.cc) = b18bc9d410a62543583c77e011f50b86f41ca18a SHA1 (patch-libjava_configure) = 48ea2baffe87e09dda8133d286bd9b1bfe4c3f8a SHA1 (patch-libjava_contrib_rebuild-gcj-db.in) = bb01d738fc7db05046ae37e8ade32574de1d8297 diff --git a/lang/gcc47/options.mk b/lang/gcc47/options.mk index 02f39fee7c8..d77e27b397c 100644 --- a/lang/gcc47/options.mk +++ b/lang/gcc47/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.9 2013/02/05 07:12:23 adam Exp $ +# $NetBSD: options.mk,v 1.10 2013/04/02 09:57:51 jperkin Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.${GCC_PKGNAME} PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran gcc-java \ @@ -10,7 +10,7 @@ PKG_SUGGESTED_OPTIONS+= nls gcc-java .elif ${OPSYS} == "DragonFly" PKG_SUGGESTED_OPTIONS+= nls .elif ${OPSYS} == "SunOS" -PKG_SUGGESTED_OPTIONS+= gcc-inplace-math +PKG_SUGGESTED_OPTIONS+= gcc-go gcc-inplace-math .else PKG_SUGGESTED_OPTIONS+= gcc-java .endif diff --git a/lang/gcc47/patches/patch-libgo_runtime_proc.c b/lang/gcc47/patches/patch-libgo_runtime_proc.c new file mode 100644 index 00000000000..18c20d7500d --- /dev/null +++ b/lang/gcc47/patches/patch-libgo_runtime_proc.c @@ -0,0 +1,17 @@ +$NetBSD: patch-libgo_runtime_proc.c,v 1.1 2013/04/02 09:57:52 jperkin Exp $ + +SunOS libelf does not support largefile. + +--- libgo/runtime/proc.c.orig 2012-07-26 01:57:22.000000000 +0000 ++++ libgo/runtime/proc.c +@@ -10,6 +10,10 @@ + #include "config.h" + + #ifdef HAVE_DL_ITERATE_PHDR ++#ifdef __sun ++#undef _FILE_OFFSET_BITS ++#define _FILE_OFFSET_BITS 32 ++#endif + #include <link.h> + #endif + |