diff options
author | marcus <marcus@FreeBSD.org> | 2010-11-26 15:46:48 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2010-11-26 15:46:48 +0800 |
commit | 5e8da884d228388171fc49524d0c941a336a5183 (patch) | |
tree | fef66558315d82f39893e9d49a211e744da86bf9 /graphics/cairo | |
parent | f67a5e90c1c26f6666a80c5637d7a75c9048c1b2 (diff) | |
download | freebsd-ports-gnome-5e8da884d228388171fc49524d0c941a336a5183.tar.gz freebsd-ports-gnome-5e8da884d228388171fc49524d0c941a336a5183.tar.zst freebsd-ports-gnome-5e8da884d228388171fc49524d0c941a336a5183.zip |
Fix the build on 6.X.
Reported by: erwin via pointyhat
Obtained from: cairo developers
Diffstat (limited to 'graphics/cairo')
-rw-r--r-- | graphics/cairo/files/patch-src_cairo-wideint-type-private.h | 14 |
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; |