Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 20:09:58 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328411 - in head/emulators: kqemu-kmod-devel/files kqemu-kmod/files
Message-ID:  <201309262009.r8QK9wMF045848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309262009.r8QK9wMF045848>