aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/klh10
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-10-31 16:11:17 +0800
committermiwi <miwi@FreeBSD.org>2006-10-31 16:11:17 +0800
commit43a65542beb26d409067d61aec9e5d2f9506bc67 (patch)
tree9d7c570a3ad77a0a4fa045487b6dbc9569df894f /emulators/klh10
parent1c006ceb0c16f9bf0349e35b28c265fcda2a715f (diff)
downloadfreebsd-ports-graphics-43a65542beb26d409067d61aec9e5d2f9506bc67.tar.gz
freebsd-ports-graphics-43a65542beb26d409067d61aec9e5d2f9506bc67.tar.zst
freebsd-ports-graphics-43a65542beb26d409067d61aec9e5d2f9506bc67.zip
- Fix build with gcc4.1
PR: ports/103765 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Diffstat (limited to 'emulators/klh10')
-rw-r--r--emulators/klh10/files/patch-src-Makefile.mk10
-rw-r--r--emulators/klh10/files/patch-src-kn10ops.c11
2 files changed, 21 insertions, 0 deletions
diff --git a/emulators/klh10/files/patch-src-Makefile.mk b/emulators/klh10/files/patch-src-Makefile.mk
new file mode 100644
index 00000000000..6d4d54cba80
--- /dev/null
+++ b/emulators/klh10/files/patch-src-Makefile.mk
@@ -0,0 +1,10 @@
+--- src/Makefile.mk.orig Thu Sep 28 18:05:30 2006
++++ src/Makefile.mk Thu Sep 28 18:05:41 2006
+@@ -44,7 +44,6 @@
+
+ # Generic compile/link flags
+ # Suitable for plain vanilla Unix but normally overridden.
+-CC = cc
+ CFLAGS = -c -I. -I$(SRC)
+ CFLAGS_AUX =
+ CFLAGS_LINT =
diff --git a/emulators/klh10/files/patch-src-kn10ops.c b/emulators/klh10/files/patch-src-kn10ops.c
new file mode 100644
index 00000000000..357f5e733d8
--- /dev/null
+++ b/emulators/klh10/files/patch-src-kn10ops.c
@@ -0,0 +1,11 @@
+--- src/kn10ops.c.orig Thu Sep 28 17:58:10 2006
++++ src/kn10ops.c Thu Sep 28 17:59:21 2006
+@@ -3238,7 +3238,7 @@
+ register dw10_t d,
+ register int nmagbits)
+ {
+- register qw10_t qw;
++ qw10_t qw;
+ dw10_t quot;
+ register int qbit;
+