diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
commit | 420eeee727d39d869d864caddb04a80dafda7160 (patch) | |
tree | 87f15d7467082dd92fce78a6cc2f56fa8d0774af /app-accessibility/speech-tools/files | |
parent | 0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff) |
gentoo resync : 17.10.2017
Diffstat (limited to 'app-accessibility/speech-tools/files')
-rw-r--r-- | app-accessibility/speech-tools/files/speech-tools-2.1-gcc7.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-accessibility/speech-tools/files/speech-tools-2.1-gcc7.patch b/app-accessibility/speech-tools/files/speech-tools-2.1-gcc7.patch new file mode 100644 index 000000000000..9e1067fa1dc1 --- /dev/null +++ b/app-accessibility/speech-tools/files/speech-tools-2.1-gcc7.patch @@ -0,0 +1,20 @@ +--- a/siod/siod.cc ++++ b/siod/siod.cc +@@ -459,7 +459,7 @@ char **siod_variable_generator(char *text,int length) + matches = walloc(char *,siod_llength(lmatches)+1); + for (l=lmatches,i=0; l; l=cdr(l),i++) + matches[i] = wstrdup(PNAME(car(l))); +- matches[i] = '\0'; ++ *matches[i] = '\0'; + + return matches; + } +@@ -498,7 +498,7 @@ char **siod_command_generator (char *text,int length) + matches = walloc(char *,siod_llength(lmatches)+1); + for (l=lmatches,i=0; l; l=cdr(l),i++) + matches[i] = wstrdup(PNAME(car(l))); +- matches[i] = '\0'; ++ *matches[i] = '\0'; + + return matches; + } |