diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-10 00:09:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-10 00:09:37 +0000 |
commit | b9e483eddfdde8ebc57a13879c5d9d58fa4df31d (patch) | |
tree | 0baad02e95b122484c7be21696ee0a5b8d9fee5f /security | |
parent | 2541970e29dadd54fd1411d60a5cc17743452a24 (diff) | |
download | pkgsrc-b9e483eddfdde8ebc57a13879c5d9d58fa4df31d.tar.gz |
Fix build with modernish flex.
Diffstat (limited to 'security')
-rw-r--r-- | security/racoon2/distinfo | 3 | ||||
-rw-r--r-- | security/racoon2/patches/patch-lib_cftoken.l | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/security/racoon2/distinfo b/security/racoon2/distinfo index 2ddd96031fc..ef7d92e44d4 100644 --- a/security/racoon2/distinfo +++ b/security/racoon2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2013/03/29 13:52:45 joerg Exp $ +$NetBSD: distinfo,v 1.4 2013/10/10 00:09:37 joerg Exp $ SHA1 (racoon2-20100526a.tgz) = 268429af8a031dbbc279580cf98ea18331f0e2d9 RMD160 (racoon2-20100526a.tgz) = 014cdcf78cc82ab21235a21491850cdcd1f883bf @@ -10,4 +10,5 @@ SHA1 (patch-ad) = 0d04dc7027c100de6bc04db00eddb30a12fd8715 SHA1 (patch-ae) = 937cf84a2b6f1e8f8d288703a0556faf500bab95 SHA1 (patch-lib_cfparse.y) = 9e0b8ec9c09c315edde171103b97a8c403ba748e SHA1 (patch-lib_cfsetup.c) = 70c2409bc69ff85cef6d2e2b4e222e12537c323e +SHA1 (patch-lib_cftoken.l) = 1cbae5bd9199e204d12d5a5216521a21e55a84dc SHA1 (patch-lib_if__pfkeyv2.c) = 9eb969ff0f289bc7c4aa1fa234c221b4d70d1da7 diff --git a/security/racoon2/patches/patch-lib_cftoken.l b/security/racoon2/patches/patch-lib_cftoken.l new file mode 100644 index 00000000000..aed34bbfc0f --- /dev/null +++ b/security/racoon2/patches/patch-lib_cftoken.l @@ -0,0 +1,24 @@ +$NetBSD: patch-lib_cftoken.l,v 1.1 2013/10/10 00:09:38 joerg Exp $ + +--- lib/cftoken.l.orig 2013-10-09 23:00:24.000000000 +0000 ++++ lib/cftoken.l +@@ -53,7 +53,6 @@ + extern int yyget_lineno (void); + extern FILE *yyget_in (void); + extern FILE *yyget_out (void); +-extern int yyget_leng (void); + extern char *yyget_text (void); + extern void yyset_lineno (int); + extern void yyset_in (FILE *); +@@ -76,9 +75,9 @@ static char rcf_linebuf[CF_LINEBUFSIZE]; + #define YYDEBUG 1 + #define DP \ + if (cf_debug) { \ +- fprintf(CF_ERRDEV, "%s:%d:%d[%s] len=%d\n", \ ++ fprintf(CF_ERRDEV, "%s:%d:%d[%s] len=%zu\n", \ + rcf_istk[rcf_istkp].path, rcf_istk[rcf_istkp].lineno, \ +- yy_start, yytext, yyleng); \ ++ yy_start, yytext, (size_t)yyleng); \ + } + #else + #define DP |