devel/py-gobject: segfaulting on gobject.markup_escape_text()
Ashish Shukla आशीष शुक्ल
wahjava.ml at gmail.com
Sun Jun 29 15:19:02 UTC 2008
,--- Ashish Shukla आशीष शुक्ल writes:
| Reported as bug# 540696[1] in GNOME Bugzilla.
| Reference:
| [1] http://bugzilla.gnome.org/show_bug.cgi?id=540696
The bug is now fixed in the trunk. Following is the associated patch
for FreeBSD port devel/py-gobject, which works for me.
---->8---->8----
diff -urN /usr/ports/devel/py-gobject/files/patch-gobject_gobjectmodule.c py-gobject/files/patch-gobject_gobjectmodule.c
--- /usr/ports/devel/py-gobject/files/patch-gobject_gobjectmodule.c 1970-01-01 05:30:00.000000000 +0530
+++ py-gobject/files/patch-gobject_gobjectmodule.c 2008-06-29 20:20:05.000000000 +0530
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- gobject/gobjectmodule.c.orig
++++ gobject/gobjectmodule.c
+@@ -2564,7 +2564,7 @@
+ {
+ static char *kwlist[] = { "text", NULL };
+ char *text_in, *text_out;
+- int text_size;
++ Py_ssize_t text_size;
+ PyObject *retval;
+
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs,
----8<----8<----
HTH
--
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080629/c87872d5/attachment.pgp
More information about the freebsd-gnome
mailing list