aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/bochs
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-28 14:06:17 +0800
committerkrion <krion@FreeBSD.org>2004-08-28 14:06:17 +0800
commit31ad174ccfdd4f5a0ae1a1a281044a2ce9dfd3cf (patch)
treee52eb64cd862cc2d55f86b12e5a70233d39133ed /emulators/bochs
parent9f69bd2daf67dde0a45910406c701eb47f0a8540 (diff)
downloadfreebsd-ports-gnome-31ad174ccfdd4f5a0ae1a1a281044a2ce9dfd3cf.tar.gz
freebsd-ports-gnome-31ad174ccfdd4f5a0ae1a1a281044a2ce9dfd3cf.tar.zst
freebsd-ports-gnome-31ad174ccfdd4f5a0ae1a1a281044a2ce9dfd3cf.zip
Fix build with gcc-3.4
PR: ports/71055 Submitted by: Ports Fury
Diffstat (limited to 'emulators/bochs')
-rw-r--r--emulators/bochs/files/patch-fpu::reg_ld_str.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/bochs/files/patch-fpu::reg_ld_str.c b/emulators/bochs/files/patch-fpu::reg_ld_str.c
new file mode 100644
index 000000000000..6d6a3b2a8c60
--- /dev/null
+++ b/emulators/bochs/files/patch-fpu::reg_ld_str.c
@@ -0,0 +1,11 @@
+--- fpu/reg_ld_str.c.orig Thu Feb 12 07:28:52 2004
++++ fpu/reg_ld_str.c Fri Aug 27 02:42:12 2004
+@@ -315,7 +315,7 @@
+
+
+ /* Get a short from user memory */
+-int BX_CPP_AttrRegparmN(1)
++int BX_CPP_AttrRegparmN(2)
+ FPU_load_int16(bx_address _s, FPU_REG *loaded_data)
+ {
+ s16 s, negative;