summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-17 18:22:16 +0000
committerrillig <rillig@pkgsrc.org>2005-11-17 18:22:16 +0000
commitd18af8318bb748b5bc8753975cdfeb74fd32ec2b (patch)
tree5f0921dd518f1689ed5ca065505d9f7a6c9d0add /textproc
parent821fc756687f4e518f9c6b2ec56651dd599eef4b (diff)
downloadpkgsrc-d18af8318bb748b5bc8753975cdfeb74fd32ec2b.tar.gz
SunPro says: A void function cannot return a value.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gdome2/distinfo3
-rw-r--r--textproc/gdome2/patches/patch-aa20
2 files changed, 22 insertions, 1 deletions
diff --git a/textproc/gdome2/distinfo b/textproc/gdome2/distinfo
index c6ae15552f3..adc24ad5bae 100644
--- a/textproc/gdome2/distinfo
+++ b/textproc/gdome2/distinfo
@@ -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 --git a/textproc/gdome2/patches/patch-aa b/textproc/gdome2/patches/patch-aa
new file mode 100644
index 00000000000..fb3fda49983
--- /dev/null
+++ b/textproc/gdome2/patches/patch-aa
@@ -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--;