From 38e59c96c7823f06e7fca0ea13ebe9645e6f597d Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 31 Jul 2005 02:10:08 +0000 Subject: Add another patch to fix the build with cairo-0.6.0. Submitted by: Yasuda Keisuke git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4365 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/py-cairo/files/patch-cairo_pycairo-surface.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 graphics/py-cairo/files/patch-cairo_pycairo-surface.c diff --git a/graphics/py-cairo/files/patch-cairo_pycairo-surface.c b/graphics/py-cairo/files/patch-cairo_pycairo-surface.c new file mode 100644 index 000000000..f49e0a23d --- /dev/null +++ b/graphics/py-cairo/files/patch-cairo_pycairo-surface.c @@ -0,0 +1,15 @@ +--- /usr/obj/usr/ports/graphics/py-cairo/work/pycairo-0.5.1.1/cairo/pycairo-surface.c Mon Jul 25 13:10:39 2005 ++++ cairo/pycairo-surface.c Sat Jul 30 17:17:21 2005 +@@ -126,10 +126,10 @@ + static PyObject * + surface_finish (PycairoSurface *o) + { +- cairo_status_t status = cairo_surface_finish (o->surface); ++ cairo_surface_finish (o->surface); + Py_CLEAR(o->base); + +- if (Pycairo_Check_Status (status)) ++ if (Pycairo_Check_Status (cairo_surface_status(o->surface))) + return NULL; + Py_RETURN_NONE; + } -- cgit v1.2.3