pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/gdome2 SunPro says: A void function cannot re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7874148ba3e3
branches: trunk
changeset: 503278:7874148ba3e3
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 17 18:22:16 2005 +0000
description:
SunPro says: A void function cannot return a value.
diffstat:
textproc/gdome2/distinfo | 3 ++-
textproc/gdome2/patches/patch-aa | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 3956bfd27bbb -r 7874148ba3e3 textproc/gdome2/distinfo
--- a/textproc/gdome2/distinfo Thu Nov 17 17:49:28 2005 +0000
+++ b/textproc/gdome2/distinfo Thu Nov 17 18:22:16 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:42 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/11/17 18:22:16 rillig Exp $
SHA1 (gdome2-0.8.1.tar.gz) = e9a3e4140c873d8232635ad10bb135ef7803c408
RMD160 (gdome2-0.8.1.tar.gz) = 5cc3ff29e0ed040e3bbd02cba4d95b9b634c4072
Size (gdome2-0.8.1.tar.gz) = 518965 bytes
+SHA1 (patch-aa) = 7e194447d1b4cf4a0799aef6c211e724e577c33c
diff -r 3956bfd27bbb -r 7874148ba3e3 textproc/gdome2/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/gdome2/patches/patch-aa Thu Nov 17 18:22:16 2005 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2005/11/17 18:22:16 rillig Exp $
+
+SunPro says: A void function cannot return a value.
+
+--- libgdome/gdomecore/gdome-xml-node.c.orig 2003-10-03 17:53:33.000000000 +0200
++++ libgdome/gdomecore/gdome-xml-node.c 2005-11-17 19:14:02.383302400 +0100
+@@ -252,9 +252,11 @@ gdome_xml_n_unref (GdomeNode *self, Gdom
+ switch (type) {
+ case XML_DOCUMENT_TYPE_NODE:
+ case XML_DTD_NODE:
+- return gdome_xml_dt_unref (self, exc);
++ (void)gdome_xml_dt_unref (self, exc);
++ return;
+ case XML_DOCUMENT_NODE:
+- return gdome_xml_doc_unref (self, exc);
++ (void)gdome_xml_doc_unref (self, exc);
++ return;
+ default:
+ if (priv->refcnt > 0)
+ priv->refcnt--;
Home |
Main Index |
Thread Index |
Old Index