aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2021-02-19 06:32:04 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2021-02-19 06:32:04 +0000
commitc832231d75b445c23ede6e036750764cdb9499cf (patch)
tree3e321f2083e6fa5642a3928730a44e51077ac07b /emulators
parent77a3fc761f3173be3f68c81555531383c7ee9b5a (diff)
downloadports-c832231d75b445c23ede6e036750764cdb9499cf.tar.gz
ports-c832231d75b445c23ede6e036750764cdb9499cf.zip
- fix build with clang11
Notes
Notes: svn path=/head/; revision=566031
Diffstat (limited to 'emulators')
-rw-r--r--emulators/stonx/files/patch-x.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/stonx/files/patch-x.c b/emulators/stonx/files/patch-x.c
new file mode 100644
index 000000000000..6fe5201ebab8
--- /dev/null
+++ b/emulators/stonx/files/patch-x.c
@@ -0,0 +1,10 @@
+--- x.c.orig 2004-08-15 13:13:22 UTC
++++ x.c
+@@ -104,7 +104,6 @@ static unsigned long pixel_value[STE_COLORS];
+ unsigned long pixel_value_by_index[16];
+ static unsigned char pixel_index[16];
+ static int is_allocated[STE_COLORS];
+-SCRDEF scr_def[3];
+ static int scr_x, scr_y; /* x,y possition of STonX Main Window */
+
+ /* some interesting events: */