aboutsummaryrefslogtreecommitdiff
path: root/security/racoon2
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2013-12-20 18:07:23 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2013-12-20 18:07:23 +0000
commitca943766a713e38bf15dfbda8f40f17212d2cd89 (patch)
treeae1f5c650ef3f27f99e51e3d93ebf2fe82d50f35 /security/racoon2
parent061835a1f9f5b581f7c535d257efce0dca477ac6 (diff)
downloadports-ca943766a713e38bf15dfbda8f40f17212d2cd89.tar.gz
ports-ca943766a713e38bf15dfbda8f40f17212d2cd89.zip
Notes
Diffstat (limited to 'security/racoon2')
-rw-r--r--security/racoon2/files/patch-lib-cfparse.y11
-rw-r--r--security/racoon2/files/patch-lib-cftoken.l20
2 files changed, 31 insertions, 0 deletions
diff --git a/security/racoon2/files/patch-lib-cfparse.y b/security/racoon2/files/patch-lib-cfparse.y
new file mode 100644
index 000000000000..f154166d428f
--- /dev/null
+++ b/security/racoon2/files/patch-lib-cfparse.y
@@ -0,0 +1,11 @@
+--- lib/cfparse.y- 2013-12-21 11:29:53.328819029 +0900
++++ lib/cfparse.y 2013-12-21 11:30:25.058283579 +0900
+@@ -1712,7 +1712,7 @@
+ int n;
+ char *bp;
+ struct cf_list *new;
+- rcf_t type;
++ rc_type type;
+
+ n = strtoll(str, &bp, 10);
+
diff --git a/security/racoon2/files/patch-lib-cftoken.l b/security/racoon2/files/patch-lib-cftoken.l
new file mode 100644
index 000000000000..b6d49a03adf6
--- /dev/null
+++ b/security/racoon2/files/patch-lib-cftoken.l
@@ -0,0 +1,20 @@
+--- lib/cftoken.l- 2013-12-21 11:31:18.701191439 +0900
++++ lib/cftoken.l 2013-12-21 11:33:51.653300338 +0900
+@@ -53,7 +53,7 @@
+ extern int yyget_lineno (void);
+ extern FILE *yyget_in (void);
+ extern FILE *yyget_out (void);
+-extern int yyget_leng (void);
++extern yy_size_t yyget_leng (void);
+ extern char *yyget_text (void);
+ extern void yyset_lineno (int);
+ extern void yyset_in (FILE *);
+@@ -78,7 +78,7 @@
+ if (cf_debug) { \
+ fprintf(CF_ERRDEV, "%s:%d:%d[%s] len=%d\n", \
+ rcf_istk[rcf_istkp].path, rcf_istk[rcf_istkp].lineno, \
+- yy_start, yytext, yyleng); \
++ yy_start, yytext, (int)yyleng); \
+ }
+ #else
+ #define DP