inputmethods/cellwriter: fix build with -fno-common
This commit is contained in:
parent
6e67628c75
commit
c7a274612e
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2019/07/12 20:47:12 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2021/02/25 15:05:06 naddy Exp $
|
||||
|
||||
COMMENT = grid-entry natural handwriting input panel
|
||||
|
||||
GH_ACCOUNT = risujin
|
||||
GH_PROJECT = cellwriter
|
||||
GH_TAGNAME = 1.3.6
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = inputmethods x11
|
||||
|
||||
|
14
inputmethods/cellwriter/patches/patch-src_options_c
Normal file
14
inputmethods/cellwriter/patches/patch-src_options_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_options_c,v 1.1 2021/02/25 15:05:06 naddy Exp $
|
||||
|
||||
Index: src/options.c
|
||||
--- src/options.c.orig
|
||||
+++ src/options.c
|
||||
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Bos
|
||||
#include <string.h>
|
||||
|
||||
/* preprocess.c */
|
||||
-int ignore_stroke_dir, ignore_stroke_num;
|
||||
+extern int ignore_stroke_dir, ignore_stroke_num;
|
||||
|
||||
/* cellwidget.c */
|
||||
extern int cell_width, cell_height, cell_cols_pref, cell_rows_pref,
|
14
inputmethods/cellwriter/patches/patch-src_recognize_c
Normal file
14
inputmethods/cellwriter/patches/patch-src_recognize_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_recognize_c,v 1.1 2021/02/25 15:05:06 naddy Exp $
|
||||
|
||||
Index: src/recognize.c
|
||||
--- src/recognize.c.orig
|
||||
+++ src/recognize.c
|
||||
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Bos
|
||||
#include "recognize.h"
|
||||
|
||||
/* preprocess.c */
|
||||
-int prep_examined;
|
||||
+extern int prep_examined;
|
||||
|
||||
void engine_prep(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user