Fix build with -fno-common

This commit is contained in:
Stefan Eßer 2020-10-01 17:19:57 +00:00
parent 3db9ed2c2d
commit ae3db00711
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550852
3 changed files with 23 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= ida
PORTVERSION= 2.14
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://www.kraxel.org/releases/fbida/
DISTNAME= fbida-${PORTVERSION}

View File

@ -0,0 +1,11 @@
--- idaconfig.h.orig 2017-08-30 10:48:03 UTC
+++ idaconfig.h
@@ -17,7 +17,7 @@
/* -------------------------------------------------------------------------- */
-char *ida_lists;
+extern char *ida_lists;
void ida_init_config(void);
void ida_read_config(void);

View File

@ -0,0 +1,11 @@
--- viewer.c.orig 2017-08-30 10:48:03 UTC
+++ viewer.c
@@ -39,7 +39,7 @@
#define PROCESS_LINES 16
-int debug;
+extern int debug;
Cursor ptrs[POINTER_COUNT];
/* ----------------------------------------------------------------------- */