mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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:
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
|
@ -35,12 +35,6 @@ MAN1= crashecho.1 \
|
||||||
crashwrite.1
|
crashwrite.1
|
||||||
MAN5= crashecho.conf.5
|
MAN5= crashecho.conf.5
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${OSVERSION} >= 700042
|
|
||||||
BROKEN= Broken with gcc 4.2
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
cd ${WRKDIR} && tar zxf ${PORTNAME}-${PORTVERSION}.tar.gz
|
cd ${WRKDIR} && tar zxf ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||||
|
|
||||||
|
@ -48,4 +42,4 @@ post-install:
|
||||||
${MKDIR} ${PREFIX}/etc/ftn
|
${MKDIR} ${PREFIX}/etc/ftn
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/crashecho.conf ${PREFIX}/etc/ftn/crashecho.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/doc/crashecho.conf ${PREFIX}/etc/ftn/crashecho.conf.sample
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
10
mail/crashecho/files/patch-src-crashecho.h
Normal file
10
mail/crashecho/files/patch-src-crashecho.h
Normal 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;
|
Loading…
Add table
Reference in a new issue