svn commit: r345510 - head/irc/ratbox-services/files
Bryan Drewery
bdrewery at FreeBSD.org
Fri Feb 21 16:01:06 UTC 2014
Author: bdrewery
Date: Fri Feb 21 16:01:05 2014
New Revision: 345510
URL: http://svnweb.freebsd.org/changeset/ports/345510
QAT: https://qat.redports.org/buildarchive/r345510/
Log:
Fix build with clang
Added:
head/irc/ratbox-services/files/patch-include-tools.h (contents, props changed)
head/irc/ratbox-services/files/patch-src-lexer.l (contents, props changed)
Added: head/irc/ratbox-services/files/patch-include-tools.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/ratbox-services/files/patch-include-tools.h Fri Feb 21 16:01:05 2014 (r345510)
@@ -0,0 +1,13 @@
+--- include/tools.h.orig 2014-02-21 09:56:56.433232947 -0600
++++ include/tools.h 2014-02-21 09:56:58.518249228 -0600
+@@ -26,8 +26,8 @@
+ extern const char *lcase(const char *);
+ extern const char *ucase(const char *);
+
+-__inline int string_to_array(char *string, char *parv[]);
+-__inline int string_to_array_delim(char *string, char *parv[], char delim, int maxpara);
++int string_to_array(char *string, char *parv[]);
++int string_to_array_delim(char *string, char *parv[], char delim, int maxpara);
+
+ #ifndef HAVE_STRLCAT
+ extern size_t strlcat(char *dst, const char *src, size_t siz);
Added: head/irc/ratbox-services/files/patch-src-lexer.l
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/ratbox-services/files/patch-src-lexer.l Fri Feb 21 16:01:05 2014 (r345510)
@@ -0,0 +1,11 @@
+--- src/lexer.l.orig 2014-02-21 09:53:24.569248191 -0600
++++ src/lexer.l 2014-02-21 09:53:27.494247058 -0600
+@@ -44,7 +44,7 @@
+ int yyget_lineno(void);
+ FILE *yyget_in(void);
+ FILE *yyget_out(void);
+-int yyget_leng(void);
++size_t yyget_leng(void);
+ char *yyget_text(void);
+ void yyset_lineno(int line_number);
+ void yyset_in(FILE * in_str);
More information about the svn-ports-head
mailing list