Re: xenocara build failure on loongson
Matthieu Herrb <[email protected]> Mon, 18 Mar 2013 21:44:38 +0100
| Newsgroups | gmane.os.openbsd.x11 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 18, 2013 at 04:12:59PM -0400, Brian Callahan wrote: > Hi -- > > I tried building xenocara on a fresh install and fresh cvs checkout on loongson, and I get the error below. There are no atomics on loongson. > Please test the patch below on as many arcitectures as possible. diff --git lib/fontconfig/common/config.h lib/fontconfig/common/config.h index 1836d1f..5e6070d 100644 --- lib/fontconfig/common/config.h +++ lib/fontconfig/common/config.h @@ -90,7 +90,9 @@ #define HAVE_GETUID 1 /* Have Intel __sync_* atomic primitives */ +#if defined(__i386__) || defined(__amd64__) #define HAVE_INTEL_ATOMIC_PRIMITIVES 1 +#endif /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 -- Matthieu Herrb