From 43a65542beb26d409067d61aec9e5d2f9506bc67 Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 31 Oct 2006 08:11:17 +0000 Subject: - Fix build with gcc4.1 PR: ports/103765 Submitted by: trasz --- emulators/klh10/files/patch-src-Makefile.mk | 10 ++++++++++ emulators/klh10/files/patch-src-kn10ops.c | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100644 emulators/klh10/files/patch-src-Makefile.mk create mode 100644 emulators/klh10/files/patch-src-kn10ops.c 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; + -- cgit