File: fix_ftbfs.patch

package info (click to toggle)
cellwriter 1.3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,812 kB
  • sloc: ansic: 7,272; sh: 3,810; makefile: 59
file content (27 lines) | stat: -rw-r--r-- 710 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Fix FTBFS with gcc-10

---

--- cellwriter-1.3.6.orig/src/options.c
+++ cellwriter-1.3.6/src/options.c
@@ -26,9 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fi
 #include <stdlib.h>
 #include <string.h>
 
-/* preprocess.c */
-int ignore_stroke_dir, ignore_stroke_num;
-
 /* cellwidget.c */
 extern int cell_width, cell_height, cell_cols_pref, cell_rows_pref,
            train_on_input, right_to_left, keyboard_enabled, xinput_enabled;
--- cellwriter-1.3.6.orig/src/recognize.c
+++ cellwriter-1.3.6/src/recognize.c
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fi
 #include "recognize.h"
 
 /* preprocess.c */
-int prep_examined;
+extern int prep_examined;
 
 void engine_prep(void);