From cec7ce8bea89e2dd86245545377d7b97c2802bc6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 11 Nov 2007 14:46:58 +0000 Subject: [PATCH] - Fix build with gcc 4.2 PR: 117917 Submitted by: Philippe Audeoud Approved by: portmgr (erwin) --- mail/crashecho/Makefile | 8 +------- mail/crashecho/files/patch-src-crashecho.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 mail/crashecho/files/patch-src-crashecho.h 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 - -.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 +.include 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;