[Pixman] Fwd: [FYI] pixman on OS X ppc

Gerd Hoffmann kraxel at redhat.com
Mon Jan 28 00:23:51 PST 2013


  Hi folks,

ppc needs a buildfix, see below.

cheers,
  Gerd

-------- Original Message --------
Subject: [FYI] pixman on OS X ppc
Date: Sat, 26 Jan 2013 13:26:02 +0100
From: Andreas Färber <andreas.faerber at web.de>
To: qemu-devel <qemu-devel at nongnu.org>
CC: qemu-ppc <qemu-ppc at nongnu.org>, Gerd Hoffmann <kraxel at redhat.com>

To whom it may concern:

In order to get pixman and thus QEMU building on OSX v10.5.8 ppc, I
needed to take the following steps:

Download stable pixman tarball and patch pixman as follows:

--- pixman-0.28.0/pixman/pixman-ppc.c.orig	2013-01-26 12:17:03.000000000
+0100
+++ pixman-0.28.0/pixman/pixman-ppc.c	2013-01-26 12:17:15.000000000 +0100
@@ -37,8 +37,8 @@
 static pixman_bool_t
 pixman_have_vmx (void)
 {
+    int error, have_vmx;
     size_t length = sizeof(have_vmx);
-    int error, have_mmx;

     sysctlbyname ("hw.optional.altivec", &have_vmx, &length, NULL, 0);


$ configure --prefix=... --disable-shared --enable-static --disable-gtk
$ make # will result in a region-test linker error
$ make install # ditto
$ make install-pkgconfigDATA

QEMU's configure then recognizes the system pixman and builds okay.

As previously reported, the current git version of pixman does not
configure here due to some autoconf hiccups. The stable versions contain
a pre-generated, working configure script, but the latest stable version
did not build without the above workarounds.

Regards,
Andreas


More information about the Pixman mailing list