diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-02-22 00:01:05 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-02-22 00:01:05 +0800 |
commit | 560eb2e53ff22787a190b7d144372a8b3f47ce95 (patch) | |
tree | 71524d61d6fdf9b9e08f4c5b2be1918fdd19dc76 | |
parent | 9c6b2a97ab6b958921b99a947f212888b4b48669 (diff) | |
download | freebsd-ports-gnome-560eb2e53ff22787a190b7d144372a8b3f47ce95.tar.gz freebsd-ports-gnome-560eb2e53ff22787a190b7d144372a8b3f47ce95.tar.zst freebsd-ports-gnome-560eb2e53ff22787a190b7d144372a8b3f47ce95.zip |
Fix build with clang
-rw-r--r-- | irc/ratbox-services/files/patch-include-tools.h | 13 | ||||
-rw-r--r-- | irc/ratbox-services/files/patch-src-lexer.l | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/irc/ratbox-services/files/patch-include-tools.h b/irc/ratbox-services/files/patch-include-tools.h new file mode 100644 index 000000000000..b43f7cfa70b4 --- /dev/null +++ b/irc/ratbox-services/files/patch-include-tools.h @@ -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); diff --git a/irc/ratbox-services/files/patch-src-lexer.l b/irc/ratbox-services/files/patch-src-lexer.l new file mode 100644 index 000000000000..c621da21c330 --- /dev/null +++ b/irc/ratbox-services/files/patch-src-lexer.l @@ -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); |