mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
fix build on FreeBSD 10.
This commit is contained in:
parent
061835a1f9
commit
ca943766a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337053
11
security/racoon2/files/patch-lib-cfparse.y
Normal file
11
security/racoon2/files/patch-lib-cfparse.y
Normal file
@ -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);
|
||||
|
20
security/racoon2/files/patch-lib-cftoken.l
Normal file
20
security/racoon2/files/patch-lib-cftoken.l
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user