diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-11-11 14:46:58 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-11-11 14:46:58 +0000 |
commit | cec7ce8bea89e2dd86245545377d7b97c2802bc6 (patch) | |
tree | 25097bcb01223421be74b944f14bc86d42fe42a7 /mail/crashecho | |
parent | - Fix build with gcc 4.2 (diff) |
- Fix build with gcc 4.2
PR: 117917
Submitted by: Philippe Audeoud <jadawin@tuxaco.net>
Approved by: portmgr (erwin)
Notes
Notes:
svn path=/head/; revision=202622
Diffstat (limited to 'mail/crashecho')
-rw-r--r-- | mail/crashecho/Makefile | 8 | ||||
-rw-r--r-- | mail/crashecho/files/patch-src-crashecho.h | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/mail/crashecho/Makefile b/mail/crashecho/Makefile index fd24df3855e5..da76df4b2b9c 100644 --- a/mail/crashecho/Makefile +++ b/mail/crashecho/Makefile @@ -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> diff --git a/mail/crashecho/files/patch-src-crashecho.h b/mail/crashecho/files/patch-src-crashecho.h new file mode 100644 index 000000000000..dbdbb3feff2d --- /dev/null +++ b/mail/crashecho/files/patch-src-crashecho.h @@ -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; |