summaryrefslogtreecommitdiff
path: root/graphics/cairo
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-04-05 13:12:07 +0000
committerdrochner <drochner@pkgsrc.org>2007-04-05 13:12:07 +0000
commit94187ed7c0b60ac9872588906e8b7df6f6cfaff1 (patch)
tree5db344d8330ac8200c242b25b3bd8e4307701f84 /graphics/cairo
parent8fc9807acaaa081347a10721acd294551b6e3122 (diff)
downloadpkgsrc-94187ed7c0b60ac9872588906e8b7df6f6cfaff1.tar.gz
before testing for definitions from config.h, #include it
fixes build failure on Linux reported by Ondrej Tuma
Diffstat (limited to 'graphics/cairo')
-rw-r--r--graphics/cairo/distinfo4
-rw-r--r--graphics/cairo/patches/patch-ac10
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/cairo/distinfo b/graphics/cairo/distinfo
index b5d1b7bf073..aaa373c9206 100644
--- a/graphics/cairo/distinfo
+++ b/graphics/cairo/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.32 2007/03/29 12:00:44 dmcmahill Exp $
+$NetBSD: distinfo,v 1.33 2007/04/05 13:12:07 drochner Exp $
SHA1 (cairo-1.4.2.tar.gz) = 9e7a323fc7d81d5011044d7eb22db3bf26ff7314
RMD160 (cairo-1.4.2.tar.gz) = 53ad2e60507e181cb754991c1fe8f8de47f366a3
Size (cairo-1.4.2.tar.gz) = 3081092 bytes
SHA1 (patch-aa) = a5bcc788ba51b1943b6f37678437491a46a7b45c
SHA1 (patch-ab) = 02ab6fef56431729db98691e9ed9c879c625f016
-SHA1 (patch-ac) = 3bbe230d3631989a9b858f6fbb1427655b4f0859
+SHA1 (patch-ac) = fc4a279c4a76fa66dc64718d152621b2e7a2e63c
SHA1 (patch-ae) = 55c4c5992059e96c96ac022028fe9fed811909fa
diff --git a/graphics/cairo/patches/patch-ac b/graphics/cairo/patches/patch-ac
index 82161370b2b..a4c71569fde 100644
--- a/graphics/cairo/patches/patch-ac
+++ b/graphics/cairo/patches/patch-ac
@@ -1,17 +1,21 @@
-$NetBSD: patch-ac,v 1.5 2007/03/29 12:00:44 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.6 2007/04/05 13:12:07 drochner Exp $
See https://bugs.freedesktop.org/show_bug.cgi?id=10441
Instead of the patch there which relies on things like __hpux__
we use the configure test results.
---- test/pdiff/pdiff.c.orig 2007-03-19 15:08:04.000000000 -0500
+--- test/pdiff/pdiff.c.orig 2007-03-19 21:08:04.000000000 +0100
+++ test/pdiff/pdiff.c
-@@ -20,7 +20,19 @@
+@@ -20,7 +20,23 @@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdint.h>
+
++#if HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#else