Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 18:41:52 +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: r353190 - head/emulators/qemu-devel/files
Message-ID:  <201405071841.s47Ifq49023737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Wed May  7 18:41:52 2014
New Revision: 353190
URL: http://svnweb.freebsd.org/changeset/ports/353190
QAT: https://qat.redports.org/buildarchive/r353190/

Log:
  Fix build on ppc. (base gcc + libc++?)
  
  Submitted by:	jhibbits (via irc)

Added:
  head/emulators/qemu-devel/files/patch-include-qemu-common.h   (contents, props changed)

Added: head/emulators/qemu-devel/files/patch-include-qemu-common.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/qemu-devel/files/patch-include-qemu-common.h	Wed May  7 18:41:52 2014	(r353190)
@@ -0,0 +1,12 @@
+--- a/include/qemu-common.h
++++ b/include/qemu-common.h
+@@ -445,7 +445,9 @@ void qemu_hexdump(const char *buf, FILE 
+ #define ALL_EQ(v1, v2) vec_all_eq(v1, v2)
+ /* altivec.h may redefine the bool macro as vector type.
+  * Reset it to POSIX semantics. */
++#ifndef __cplusplus
+ #define bool _Bool
++#endif
+ #elif defined __SSE2__
+ #include <emmintrin.h>
+ #define VECTYPE        __m128i



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