- patch not needed anymore after py-cairo update

This commit is contained in:
jasper 2009-09-07 21:36:12 +00:00
parent a155f5b2db
commit 1789f68911
2 changed files with 2 additions and 18 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.9 2009/08/10 06:31:45 kili Exp $
# $OpenBSD: Makefile,v 1.10 2009/09/07 21:36:12 jasper Exp $
COMMENT= Python bindings for goocanvas
GNOME_PROJECT= pygoocanvas
GNOME_VERSION= 0.14.1
PKGNAME= py-goocanvas-${VERSION}p1
PKGNAME= py-goocanvas-${VERSION}p2
HOMEPAGE= http://live.gnome.org/GooCanvas

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-goocanvasmodule_c,v 1.1 2009/05/10 16:41:23 ajacoutot Exp $
Fix for API change for older py-cairo.
(XXX removed when py-cairo is updated to >=1.8.4)
--- goocanvasmodule.c.orig Sun May 10 18:34:45 2009
+++ goocanvasmodule.c Sun May 10 18:34:57 2009
@@ -35,7 +35,7 @@ _cairo_matrix_to_gvalue(GValue *value, PyObject *obj)
static PyObject *
_cairo_pattern_from_gvalue(const GValue *value)
{
- return PycairoPattern_FromPattern(cairo_pattern_reference((cairo_pattern_t *) g_value_get_boxed(value)), NULL);
+ return PycairoPattern_FromPattern(cairo_pattern_reference((cairo_pattern_t *) g_value_get_boxed(value)));
}
static int