diff options
Diffstat (limited to 'app-accessibility/speech-tools/files/speech-tools-2.1-gcc7.patch')
-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; + } |