1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

On -current there's a new header: printf.h. The port picks it up, but fails

because printf.h needs wchar.h. So:
 - include wchar.h
 - while I'm here include stdlib.h (for the prototype of exit())
This commit is contained in:
Alexander Leidinger 2006-02-19 14:04:09 +00:00
parent e1a2b6a9b1
commit f8d5006241
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156395
2 changed files with 20 additions and 7 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gensig
PORTVERSION= 2.3
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.geekthing.com/~robf/ware/gensig/ \
http://www.ooblick.com/software/gensig/
@ -21,10 +22,4 @@ USE_GETOPT_LONG= yes
MAN1= gensig.1 cattag.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700013
BROKEN= "Does not compile on FreeBSD >= 7.0"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,18 @@
--- sigparams.c.orig Sun Feb 19 14:51:19 2006
+++ sigparams.c Sun Feb 19 14:52:31 2006
@@ -8,12 +8,15 @@
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
+#include <stdlib.h>
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif
+
+#include <wchar.h>
#include "sigparams.h"
#include "util.h"