Update pcc-current from 20101129 version to 1.0.0 BETA of 20110225.

Impetus to upgrade from Matthias Rampke.

Pkgsrc changes:
 o Changed package name to not include upstream version number (ouch!)

Upstream changes:
 o Lots of fixes; list of changes not easily available.
 o The main supported architectures are i386 and amd64; other targets
   have "less functionality".

Please help in testing this; report bugs via http://pcc.ludd.ltu.se/jira.
This commit is contained in:
he 2011-02-25 12:21:09 +00:00
parent 1e0ed6a2cf
commit 218f624f5c
3 changed files with 24 additions and 18 deletions

View file

@ -1,10 +1,12 @@
# $NetBSD: Makefile,v 1.6 2010/11/29 09:39:42 he Exp $
# $NetBSD: Makefile,v 1.7 2011/02/25 12:21:09 he Exp $
DISTNAME= pcc-${DATE_STR}
PKGNAME= pcc-current-0.9.9.20-${DATE_STR}
DATE_STR= 101129
PKGNAME= pcc-current-1.0.0.BETA.${DATE_STR}
DISTPREFIX= pcc-1.0.0.BETA
DISTNAME= ${DISTPREFIX}-${DATE_STR}
DATE_STR= 20110225
WRKSRC= ${WRKDIR}/${DISTPREFIX}
CATEGORIES= lang
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc/
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-beta/
EXTRACT_SUFX= .tgz
PKG_DESTDIR_SUPPORT= user-destdir
@ -13,6 +15,8 @@ MAINTAINER= he@NetBSD.org
HOMEPAGE= http://pcc.ludd.ltu.se/
COMMENT= Portable C compiler
LICENSE= pcc-license
CONFLICTS= pcc-[0-9]*
USE_TOOLS+= lex yacc

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.5 2010/11/29 09:39:42 he Exp $
$NetBSD: distinfo,v 1.6 2011/02/25 12:21:09 he Exp $
SHA1 (pcc-101129.tgz) = bc5eb81cc7ae7969b6e93fc9a71d7e5f7c08ac8c
RMD160 (pcc-101129.tgz) = 119aff203be93ac895432774765632f95f81548c
Size (pcc-101129.tgz) = 642663 bytes
SHA1 (patch-aa) = 3ca9662e342d240f2d896e95a65261e7e76cda79
SHA1 (pcc-1.0.0.BETA-20110225.tgz) = c3d088f461880e62c0a939db055be9c7ecd5c05a
RMD160 (pcc-1.0.0.BETA-20110225.tgz) = 005e2f8548a46453f5eab759f7af7f51c03f407f
Size (pcc-1.0.0.BETA-20110225.tgz) = 651604 bytes
SHA1 (patch-aa) = 09a38348102ae5ef623d646f2214fb36a135365b

View file

@ -1,7 +1,9 @@
$NetBSD: patch-aa,v 1.1 2009/04/30 18:19:28 hasso Exp $
$NetBSD: patch-aa,v 1.2 2011/02/25 12:21:09 he Exp $
--- os/dragonfly/ccconfig.h.orig 2008-06-03 08:58:22 +0300
+++ os/dragonfly/ccconfig.h 2009-04-30 15:37:16 +0300
Provide portability to newer versions of DragonFly.
--- os/dragonfly/ccconfig.h.orig 2008-06-03 05:58:22.000000000 +0000
+++ os/dragonfly/ccconfig.h
@@ -31,14 +31,26 @@
* Various settings that controls how the C compiler works.
*/
@ -19,11 +21,11 @@ $NetBSD: patch-aa,v 1.1 2009/04/30 18:19:28 hasso Exp $
#define LIBCLIBS { "-lc", "-L/usr/lib/gcc34", "-lgcc", NULL }
#define ENDFILES { "/usr/lib/gcc34/crtend.o", "/usr/lib/gcc34/crtn.o", NULL }
+#else
+#define CRT0FILE "/usr/lib/crt1.o"
+#define CRT0FILE_PROFILE "/usr/lib/gcrt1.o"
+#define STARTFILES { "/usr/lib/crti.o", "/usr/lib/gcc41/crtbegin.o", NULL }
+#define LIBCLIBS { "-lc", "-L/usr/lib/gcc41", "-lgcc", NULL }
+#define ENDFILES { "/usr/lib/gcc41/crtend.o", "/usr/lib/crtn.o", NULL }
+#define CRT0FILE "/usr/lib/crt1.o"
+#define CRT0FILE_PROFILE "/usr/lib/gcrt1.o"
+#define STARTFILES { "/usr/lib/crti.o", "/usr/lib/gcc41/crtbegin.o", NULL }
+#define LIBCLIBS { "-lc", "-L/usr/lib/gcc41", "-lgcc", NULL }
+#define ENDFILES { "/usr/lib/gcc41/crtend.o", "/usr/lib/crtn.o", NULL }
+#endif
+
#define STARTLABEL "_start"