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 <[email protected]>
To: qemu-devel <[email protected]>
CC: qemu-ppc <[email protected]>, Gerd Hoffmann <[email protected]>

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
_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to