mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +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:
parent
e1a2b6a9b1
commit
f8d5006241
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156395
@ -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>
|
||||
|
18
mail/gensig/files/patch-sigparams.c
Normal file
18
mail/gensig/files/patch-sigparams.c
Normal 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"
|
Loading…
Reference in New Issue
Block a user