1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix build with gcc 4.2

PR:		117917
Submitted by:	Philippe Audeoud <jadawin@tuxaco.net>
Approved by:	portmgr (erwin)
This commit is contained in:
Martin Wilke 2007-11-11 14:46:58 +00:00
parent 15e25baec9
commit cec7ce8bea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202622
2 changed files with 11 additions and 7 deletions

View File

@ -35,12 +35,6 @@ MAN1= crashecho.1 \
crashwrite.1
MAN5= crashecho.conf.5
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-extract:
cd ${WRKDIR} && tar zxf ${PORTNAME}-${PORTVERSION}.tar.gz
@ -48,4 +42,4 @@ post-install:
${MKDIR} ${PREFIX}/etc/ftn
${INSTALL_DATA} ${WRKSRC}/doc/crashecho.conf ${PREFIX}/etc/ftn/crashecho.conf.sample
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
--- src/crashecho.h.orig 2007-11-08 09:24:38.000000000 +0000
+++ src/crashecho.h 2007-11-08 09:24:46.000000000 +0000
@@ -82,7 +82,6 @@
extern ulong DayStatsWritten;
-extern struct Nodelist AvailNodelists[];
extern struct Messagebase AvailMessagebases[];
extern struct Config config;