svn commit: r342884 - head/games/crossfire-server/files
John Marino
marino at FreeBSD.org
Wed Feb 5 22:53:24 UTC 2014
Author: marino
Date: Wed Feb 5 22:53:23 2014
New Revision: 342884
URL: http://svnweb.freebsd.org/changeset/ports/342884
QAT: https://qat.redports.org/buildarchive/r342884/
Log:
games/crossfire-server: Unbreak on FreeBSD10+ (taken from dports)
Added:
head/games/crossfire-server/files/patch-common_loader.c (contents, props changed)
head/games/crossfire-server/files/patch-include_libproto.h (contents, props changed)
Added: head/games/crossfire-server/files/patch-common_loader.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/crossfire-server/files/patch-common_loader.c Wed Feb 5 22:53:23 2014 (r342884)
@@ -0,0 +1,20 @@
+--- common/loader.c.orig 2012-03-19 05:14:09.000000000 +0000
++++ common/loader.c
+@@ -2898,7 +2898,7 @@ FILE *yyget_out (void );
+
+ void yyset_out (FILE * out_str );
+
+-int yyget_leng (void );
++size_t yyget_leng (void );
+
+ char *yyget_text (void );
+
+@@ -5523,7 +5523,7 @@ FILE *yyget_out (void)
+ /** Get the length of the current token.
+ *
+ */
+-int yyget_leng (void)
++size_t yyget_leng (void)
+ {
+ return yyleng;
+ }
Added: head/games/crossfire-server/files/patch-include_libproto.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/crossfire-server/files/patch-include_libproto.h Wed Feb 5 22:53:23 2014 (r342884)
@@ -0,0 +1,11 @@
+--- include/libproto.h.orig 2012-03-18 06:31:46.000000000 +0000
++++ include/libproto.h
+@@ -441,7 +441,7 @@ extern void yypop_buffer_state(void);
+ extern int yyget_lineno(void);
+ extern FILE *yyget_in(void);
+ extern FILE *yyget_out(void);
+-extern int yyget_leng(void);
++extern size_t yyget_leng(void);
+ extern char *yyget_text(void);
+ extern void yyset_lineno(int line_number);
+ extern void yyset_in(FILE *in_str);
More information about the svn-ports-all
mailing list