1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Unbreak Clang 6 build.

This commit is contained in:
Max Khon 2018-01-26 22:53:35 +00:00
parent 04106a40ac
commit 0738de7905
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460058

View File

@ -0,0 +1,20 @@
--- goldlib/hunspell/affentry.hxx.orig 2018-01-26 22:46:50.173607000 +0000
+++ goldlib/hunspell/affentry.hxx 2018-01-26 22:47:27.023128000 +0000
@@ -25,7 +25,7 @@
struct hentry * check(const char * word, int len, char in_compound,
const FLAG needflag = FLAG_NULL);
- struct hentry * check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL);
+ struct hentry * check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = 0);
char * check_morph(const char * word, int len, char in_compound,
const FLAG needflag = FLAG_NULL);
@@ -86,7 +86,7 @@
AffEntry* ppfx, char ** wlst, int maxSug, int * ns,
const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL);
- struct hentry * check_twosfx(const char * word, int len, int optflags, AffEntry* ppfx, const FLAG needflag = NULL);
+ struct hentry * check_twosfx(const char * word, int len, int optflags, AffEntry* ppfx, const FLAG needflag = 0);
char * check_twosfx_morph(const char * word, int len, int optflags,
AffEntry* ppfx, const FLAG needflag = FLAG_NULL);