diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-13 12:17:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-14 10:39:11 +0200 |
commit | 27b76a44593c654800cf0f90d82ccc8d5a6f1c48 (patch) | |
tree | 37093313f0ba969cfcbef21b5d4a6397416ca79e /hunspell/hunspell-1.3.2-nullptr.patch | |
parent | 9960899e378711cd254d94b1bb6db908fb3e9664 (diff) |
Some C++11 related fixes
Change-Id: Ia7f325e3658618fe627a0bc00dec4e98e41e5716
Diffstat (limited to 'hunspell/hunspell-1.3.2-nullptr.patch')
-rw-r--r-- | hunspell/hunspell-1.3.2-nullptr.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hunspell/hunspell-1.3.2-nullptr.patch b/hunspell/hunspell-1.3.2-nullptr.patch new file mode 100644 index 000000000000..624e6ce6e6c5 --- /dev/null +++ b/hunspell/hunspell-1.3.2-nullptr.patch @@ -0,0 +1,20 @@ +--- misc/hunspell-1.3.2/src/hunspell/affentry.hxx 2010-04-15 13:22:08.000000000 +0200 ++++ misc/build/hunspell-1.3.2/src/hunspell/affentry.hxx 2012-08-13 12:08:48.568996730 +0200 +@@ -27,7 +27,7 @@ + struct hentry * checkword(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 = FLAG_NULL); + + char * check_morph(const char * word, int len, char in_compound, + const FLAG needflag = FLAG_NULL); +@@ -90,7 +90,7 @@ + // const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL, char in_compound=IN_CPD_NOT); + const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL, const FLAG badflag = 0); + +- struct hentry * check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL); ++ struct hentry * check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = FLAG_NULL); + + char * check_twosfx_morph(const char * word, int len, int optflags, + PfxEntry* ppfx, const FLAG needflag = FLAG_NULL); |