svn commit: r328411 - in head/emulators: kqemu-kmod-devel/files kqemu-kmod/files

Juergen Lock nox at FreeBSD.org
Thu Sep 26 20:09:58 UTC 2013


Author: nox
Date: Thu Sep 26 20:09:57 2013
New Revision: 328411
URL: http://svnweb.freebsd.org/changeset/ports/328411

Log:
  (Attempt to) fix build on i386 with gcc46 and -Werror.
  
  Submitted by:	beefy1 via pkg-fallout

Added:
  head/emulators/kqemu-kmod-devel/files/patch-common-interp.c   (contents, props changed)
  head/emulators/kqemu-kmod/files/patch-common-interp.c   (contents, props changed)

Added: head/emulators/kqemu-kmod-devel/files/patch-common-interp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/kqemu-kmod-devel/files/patch-common-interp.c	Thu Sep 26 20:09:57 2013	(r328411)
@@ -0,0 +1,15 @@
+--- common/interp.c.orig
++++ common/interp.c
+@@ -1870,11 +1870,11 @@ static void helper_wrmsr(struct kqemu_st
+ {
+ #ifdef __x86_64__
+     struct kqemu_cpu_state *env = &s->cpu_state;
+-#endif
+     uint64_t val;
+ 
+     val = ((uint32_t)s->regs1.eax) | 
+         ((uint64_t)((uint32_t)s->regs1.edx) << 32);
++#endif
+ 
+     switch((uint32_t)s->regs1.ecx) {
+ #ifdef __x86_64__

Added: head/emulators/kqemu-kmod/files/patch-common-interp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/kqemu-kmod/files/patch-common-interp.c	Thu Sep 26 20:09:57 2013	(r328411)
@@ -0,0 +1,15 @@
+--- common/interp.c.orig
++++ common/interp.c
+@@ -1623,11 +1623,11 @@ static void helper_wrmsr(struct kqemu_st
+ {
+ #ifdef __x86_64__
+     struct kqemu_cpu_state *env = &s->cpu_state;
+-#endif
+     uint64_t val;
+ 
+     val = ((uint32_t)s->regs1.eax) | 
+         ((uint64_t)((uint32_t)s->regs1.edx) << 32);
++#endif
+ 
+     switch((uint32_t)s->regs1.ecx) {
+ #ifdef __x86_64__


More information about the svn-ports-head mailing list