summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-31 10:10:08 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-31 10:10:08 +0800
commit38e59c96c7823f06e7fca0ea13ebe9645e6f597d (patch)
tree335fe1efbb4162940e3ad737812fe601a89cd270
parentbbc6126a7bb583c0f20207912faf15fbc4beacf2 (diff)
downloadmarcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.tar
marcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.tar.gz
marcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.tar.bz2
marcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.tar.lz
marcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.tar.xz
marcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.tar.zst
marcuscom-ports-38e59c96c7823f06e7fca0ea13ebe9645e6f597d.zip
Add another patch to fix the build with cairo-0.6.0.
Submitted by: Yasuda Keisuke <kysd@po.harenet.ne.jp> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4365 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/py-cairo/files/patch-cairo_pycairo-surface.c15
1 files changed, 15 insertions, 0 deletions
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;
+ }