summaryrefslogtreecommitdiff
path: root/graphics/cairo/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-11-26 07:46:48 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-11-26 07:46:48 +0000
commitbdd5e25201806bebaf7915422eefe2a6911d6a1c (patch)
treee01c230864f250c4753a7f320c37b3097bb8678a /graphics/cairo/files
parentimprove description (diff)
Fix the build on 6.X.
Reported by: erwin via pointyhat Obtained from: cairo developers
Diffstat (limited to 'graphics/cairo/files')
-rw-r--r--graphics/cairo/files/patch-src_cairo-wideint-type-private.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/cairo/files/patch-src_cairo-wideint-type-private.h b/graphics/cairo/files/patch-src_cairo-wideint-type-private.h
new file mode 100644
index 000000000000..00f10fb6aea4
--- /dev/null
+++ b/graphics/cairo/files/patch-src_cairo-wideint-type-private.h
@@ -0,0 +1,14 @@
+--- src/cairo-wideint-type-private.h.orig 2010-11-26 02:41:47.000000000 -0500
++++ src/cairo-wideint-type-private.h 2010-11-26 02:42:07.000000000 -0500
+@@ -121,6 +121,11 @@ typedef struct _cairo_quorem64 {
+ cairo_int64_t rem;
+ } cairo_quorem64_t;
+
++/* Intrinsic __uint128_t support is broken on gcc 3.4/sparc. */
++#if __GNUC__ == 3 && __GNUC_MINOR__ == 4
++#undef HAVE___UINT128_T
++#endif
++
+ /* gcc has a non-standard name. */
+ #if HAVE___UINT128_T && !HAVE_UINT128_T
+ typedef __uint128_t uint128_t;