mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Fix gcc33 problems
This commit is contained in:
parent
790ffe327f
commit
a4d37b1b84
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94387
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= fidogate
|
||||
PORTVERSION= 4.4.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= news mail
|
||||
MASTER_SITES= ftp://ftp.fidogate.org/pub/fidogate/ \
|
||||
ftp://ftp.fu-berlin.de/unix/news/fidogate/ \
|
||||
@ -31,12 +32,39 @@ DOCLIST= fidogate.texi fidogate.txt gatebau94.txt kludge-rfc.doc \
|
||||
template.html fido howto misc rfc gatebau/msgid.sgml \
|
||||
gatebau/msgid.tex gatebau/msgid.txt
|
||||
|
||||
FIXME= src/common/aliases.c src/common/binkley.c \
|
||||
src/common/config.c src/common/crc32.c \
|
||||
src/common/file.c src/common/flo.c \
|
||||
src/common/fopen.c src/common/hosts.c \
|
||||
src/common/lock.c src/common/log.c \
|
||||
src/common/mail.c src/common/message.c \
|
||||
src/common/outpkt.c src/common/packet.c \
|
||||
src/common/routing.c src/common/sequencer.c \
|
||||
src/common/tick.c src/charset/charset.c \
|
||||
src/areafix/ftnaf.c src/areafix/areafix.c \
|
||||
src/areafix/ftnafmail.c src/areafix/ftnafpkt.c \
|
||||
src/areafix/ftnafutil.c src/ffx/ffx.c \
|
||||
src/ffx/ffxqt.c src/gate/ftn2rfc.c \
|
||||
src/gate/ftnin.c src/gate/rfc2ftn.c \
|
||||
src/gate/ftnmail.c src/tick/ftnhatch.c \
|
||||
src/tick/ftntick.c src/toss/ftn2ftn.c \
|
||||
src/toss/ftnexpire.c src/toss/ftnpack.c \
|
||||
src/toss/ftnroute.c src/toss/ftntoss.c \
|
||||
src/toss/history.c src/util/ftnlog.c \
|
||||
src/util/ftnflo.c
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 300000
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-perl
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for i in ${FIXME}
|
||||
${PERL5} -pi -e "s=([ ])log[(]=\\1log_fg(=" ${WRKSRC}/${i}
|
||||
@grep "log_fg" ${WRKSRC}/${i}
|
||||
.endfor
|
||||
|
||||
pre-configure:
|
||||
@${PERL5} -pi -e "s=.{PREFIX}=${PREFIX}=g" ${WRKSRC}/config.make
|
||||
.if defined(FIDOGATE_RUNAS)
|
||||
|
12
news/fidogate/files/patch-log.c
Normal file
12
news/fidogate/files/patch-log.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/common/log.c.orig Sun Feb 16 16:38:56 2003
|
||||
+++ src/common/log.c Wed Nov 19 16:24:20 2003
|
||||
@@ -69,8 +69,8 @@
|
||||
char *strerror(int errnum)
|
||||
{
|
||||
#ifndef OS2
|
||||
- extern int sys_nerr;
|
||||
# ifndef __FreeBSD__
|
||||
+ extern int sys_nerr;
|
||||
extern char *sys_errlist[];
|
||||
# endif
|
||||
#endif
|
11
news/fidogate/files/patch-prototypes.h
Normal file
11
news/fidogate/files/patch-prototypes.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/include/prototypes.h.orig Sun Feb 16 16:39:01 2003
|
||||
+++ src/include/prototypes.h Wed Nov 19 16:12:12 2003
|
||||
@@ -270,7 +270,7 @@
|
||||
extern int no_debug;
|
||||
|
||||
char *strerror (int);
|
||||
-void log (const char *, ...)
|
||||
+void log_fg (const char *, ...)
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
void debug (int, const char *, ...)
|
||||
__attribute__ ((format (printf, 2, 3)));
|
Loading…
Reference in New Issue
Block a user