diff options
author | Frankie Robertson <frankie@robertson.name> | 2015-04-20 12:09:10 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-23 11:24:52 +0200 |
commit | 630eb3cb5a0b84f8393ad2ed0f20c70c2de7acf1 (patch) | |
tree | b8a9c27fe107798f541ba361116094b811f73978 /testing/hfst/unnulled_getline_usage.patch | |
parent | 862996e46987a654d1d18d0e8fce59b4f56398e6 (diff) | |
download | aports-630eb3cb5a0b84f8393ad2ed0f20c70c2de7acf1.tar.bz2 aports-630eb3cb5a0b84f8393ad2ed0f20c70c2de7acf1.tar.xz |
Initial APKBUILD of HFST
Musl libc fixes submitted to upstream here: https://sourceforge.net/p/hfst/bugs/295/
Diffstat (limited to 'testing/hfst/unnulled_getline_usage.patch')
-rw-r--r-- | testing/hfst/unnulled_getline_usage.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/hfst/unnulled_getline_usage.patch b/testing/hfst/unnulled_getline_usage.patch new file mode 100644 index 0000000000..bce19501c9 --- /dev/null +++ b/testing/hfst/unnulled_getline_usage.patch @@ -0,0 +1,11 @@ +--- hfst-3.8.2/tools/src/hfst-reweight.cc ++++ hfst-3.8.2/tools/src/hfst-reweight_new.cc +@@ -409,7 +409,7 @@ + free(symbol); + addition = 0; + multiplier = 1; +- char* line; ++ char* line = NULL; + size_t len = 0; + size_t linen = 0; + verbose_printf("Reading reweights from %s\n", tsv_file_name); |