From d237236e110e535871ab81821f7a7a4daaa77578 Mon Sep 17 00:00:00 2001 From: trevor Date: Thu, 4 Dec 2003 06:38:33 +0000 Subject: The __WORD_BIT constant in GCC's stl_bvector.h caused a namespace conflict which kept the mailsync port from compiling. Resolve it. --- lang/gcc295/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lang/gcc295') diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile index ac71f565fec2..878eccc21eec 100644 --- a/lang/gcc295/Makefile +++ b/lang/gcc295/Makefile @@ -8,6 +8,7 @@ PORTNAME= gcc PORTVERSION= 2.95.3 +PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= releases/${PKGNAME} @@ -58,6 +59,11 @@ MAN1= cccp.1 g++295.1 gcc295.1 pre-patch: @${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h @${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h + @${MV} ${WRKSRC}/libstdc++/stl/stl_bvector.h \ + ${WRKSRC}/libstdc++/stl/stl_bvector.h.orig + @${SED} -e "s,_WORD_BIT,_WORD_BIT_GCC295,g" \ + < ${WRKSRC}/libstdc++/stl/stl_bvector.h.orig \ + > ${WRKSRC}/libstdc++/stl/stl_bvector.h pre-configure: @(MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ -- cgit