summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-24 10:07:11 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-24 10:07:11 +0000
commite75acd0fe9c2eb28b3da13dacc98159902c4ede0 (patch)
tree3ca406980ba1b5e830c9abcb720ad107d752883c
parent- Add LICENSE (diff)
audio/festival: Fix build with -fno-common
Fix the build of audio/festival when built with -fno-common, which is the default with llvm 11. MFH: 2020Q3 (implicit, -fno-common fix, ok by joenum)
Notes
Notes: svn path=/head/; revision=546063
-rw-r--r--audio/festival/files/patch-speech__tools_siod_editline.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/festival/files/patch-speech__tools_siod_editline.c b/audio/festival/files/patch-speech__tools_siod_editline.c
new file mode 100644
index 000000000000..f731ee227592
--- /dev/null
+++ b/audio/festival/files/patch-speech__tools_siod_editline.c
@@ -0,0 +1,11 @@
+--- speech_tools/siod/editline.c.orig 2020-08-24 09:52:13 UTC
++++ speech_tools/siod/editline.c
+@@ -73,7 +73,7 @@
+ /* modified by awb to allow specifcation of history size at run time */
+ /* (though only once) */
+ int editline_histsize=256;
+-char *editline_history_file;
++extern char *editline_history_file;
+ /* If this is defined it'll be called for completion first, before the */
+ /* internal file name completion will be */
+ EL_USER_COMPLETION_FUNCTION_TYPE*el_user_completion_function = NULL;