pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-gobject Avoid zero-sized struct.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb96f9f4ff12
branches:  trunk
changeset: 553405:bb96f9f4ff12
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jan 20 17:13:30 2009 +0000

description:
Avoid zero-sized struct.

diffstat:

 devel/py-gobject/distinfo         |   3 ++-
 devel/py-gobject/patches/patch-ad |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r ed188247e8aa -r bb96f9f4ff12 devel/py-gobject/distinfo
--- a/devel/py-gobject/distinfo Tue Jan 20 16:30:39 2009 +0000
+++ b/devel/py-gobject/distinfo Tue Jan 20 17:13:30 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2009/01/07 21:28:57 wiz Exp $
+$NetBSD: distinfo,v 1.14 2009/01/20 17:13:30 sketch Exp $
 
 SHA1 (pygobject-2.16.0.tar.gz) = 7145d8245507a3e5493eaa9da54ba08db33a18d6
 RMD160 (pygobject-2.16.0.tar.gz) = 7b4cd5cba9178adc2cba12098c0d391d62945bbe
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 7017840985a985ef92ec8983dd8f4d8763c38ed3
 SHA1 (patch-ab) = 6e547a4e1fdfc7e6754805f9bc1244bbcf13a916
 SHA1 (patch-ac) = a2353cb390ab1d85483ec15b1c07c3a9e3373567
+SHA1 (patch-ad) = 3f8e9dd03c531198c1d1ec238d9f66fa62779785
diff -r ed188247e8aa -r bb96f9f4ff12 devel/py-gobject/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject/patches/patch-ad Tue Jan 20 17:13:30 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2009/01/20 17:13:30 sketch Exp $
+
+--- gobject/pygobject.c.orig   Tue Jan 20 17:08:43 2009
++++ gobject/pygobject.c        Tue Jan 20 17:10:08 2009
+@@ -419,7 +419,7 @@
+     0
+ };
+ 
+-struct empty {} _empty;
++struct empty {char notreally;} _empty;
+ PYGLIB_DEFINE_TYPE("gobject.GPropsDescr", PyGPropsDescr_Type, _empty);
+ 
+ static PyObject *



Home | Main Index | Thread Index | Old Index