diff options
author | marcus <marcus@FreeBSD.org> | 2008-06-30 07:23:32 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2008-06-30 07:23:32 +0800 |
commit | 9ba6d8e91d93208c81d28d09424e5092f853f5b7 (patch) | |
tree | ed231623d34ccc70dd915d5f68ea0903986fac7d /devel | |
parent | f2984693955d1114ef30252bbc8bb60a1c362f97 (diff) | |
download | freebsd-ports-gnome-9ba6d8e91d93208c81d28d09424e5092f853f5b7.tar.gz freebsd-ports-gnome-9ba6d8e91d93208c81d28d09424e5092f853f5b7.tar.zst freebsd-ports-gnome-9ba6d8e91d93208c81d28d09424e5092f853f5b7.zip |
Fix an argument size problem which led to a crash on 64-bit OSes.
Reported by: Ashish Shukla à¤à¤¶à¥à¤· शà¥à¤à¥à¤² <wahjava.ml@gmail.com>
Obtained from: http://bugzilla.gnome.org/show_bug.cgi?id=540696
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-gobject/Makefile | 2 | ||||
-rw-r--r-- | devel/py-gobject/files/patch-gobject_gobjectmodule.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile index b06c16cd53eb..5f28790d4617 100644 --- a/devel/py-gobject/Makefile +++ b/devel/py-gobject/Makefile @@ -8,7 +8,7 @@ PORTNAME= gobject PORTVERSION= 2.14.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/devel/py-gobject/files/patch-gobject_gobjectmodule.c b/devel/py-gobject/files/patch-gobject_gobjectmodule.c new file mode 100644 index 000000000000..1cc2885a21da --- /dev/null +++ b/devel/py-gobject/files/patch-gobject_gobjectmodule.c @@ -0,0 +1,11 @@ +--- gobject/gobjectmodule.c.orig 2008-06-29 19:20:31.000000000 -0400 ++++ gobject/gobjectmodule.c 2008-06-29 19:21:16.000000000 -0400 +@@ -2564,7 +2564,7 @@ pyg_markup_escape_text(PyObject *unused, + { + 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, |