Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 18:07:23 +0000 (UTC)
From:      Munechika SUMIKAWA <sumikawa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337053 - head/security/racoon2/files
Message-ID:  <201312201807.rBKI7NDi070002@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sumikawa
Date: Fri Dec 20 18:07:23 2013
New Revision: 337053
URL: http://svnweb.freebsd.org/changeset/ports/337053

Log:
  fix build on FreeBSD 10.

Added:
  head/security/racoon2/files/patch-lib-cfparse.y   (contents, props changed)
  head/security/racoon2/files/patch-lib-cftoken.l   (contents, props changed)

Added: head/security/racoon2/files/patch-lib-cfparse.y
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/racoon2/files/patch-lib-cfparse.y	Fri Dec 20 18:07:23 2013	(r337053)
@@ -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);
+ 

Added: head/security/racoon2/files/patch-lib-cftoken.l
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/racoon2/files/patch-lib-cftoken.l	Fri Dec 20 18:07:23 2013	(r337053)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201807.rBKI7NDi070002>