summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2013-01-17 16:01:38 +0000
committerjoerg <joerg>2013-01-17 16:01:38 +0000
commit0164913a5ca4dc590f22bdc7cdc07688041a05a8 (patch)
treeefc31e299ca58aacb534c7a6e2f70618c9814676
parentd7a01730cc007ed979d5d775f54f5b74522b2a39 (diff)
downloadpkgsrc-0164913a5ca4dc590f22bdc7cdc07688041a05a8.tar.gz
Add missing return values.
-rw-r--r--net/xipdump/distinfo3
-rw-r--r--net/xipdump/patches/patch-XmgDict.c31
2 files changed, 33 insertions, 1 deletions
diff --git a/net/xipdump/distinfo b/net/xipdump/distinfo
index 4a2d452d576..07c5b50c45d 100644
--- a/net/xipdump/distinfo
+++ b/net/xipdump/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.8 2012/03/31 08:52:31 dholland Exp $
+$NetBSD: distinfo,v 1.9 2013/01/17 16:01:38 joerg Exp $
SHA1 (xipdump-1.5.4.tgz) = 8fa152cc9114fb3862a223be47e104394f00b250
RMD160 (xipdump-1.5.4.tgz) = 4202c4c3ac7a749d1b7a25caa9577a6529ee87df
Size (xipdump-1.5.4.tgz) = 311526 bytes
+SHA1 (patch-XmgDict.c) = 03834a2ebf1844851c0fdee28ebe988977ceaa0d
SHA1 (patch-aa) = 4dc89157456a3d223456babcbdca4ac501b6a664
SHA1 (patch-ab) = f416f3a66f95f4b3f26bd8a3a672f34d44087aea
SHA1 (patch-ac) = 71c25f1fe5bb52667902c5a10f2a56d8809eb560
diff --git a/net/xipdump/patches/patch-XmgDict.c b/net/xipdump/patches/patch-XmgDict.c
new file mode 100644
index 00000000000..742f3f06287
--- /dev/null
+++ b/net/xipdump/patches/patch-XmgDict.c
@@ -0,0 +1,31 @@
+$NetBSD: patch-XmgDict.c,v 1.1 2013/01/17 16:01:38 joerg Exp $
+
+--- XmgDict.c.orig 2013-01-16 11:25:14.000000000 +0000
++++ XmgDict.c
+@@ -27,7 +27,7 @@ XFontStruct *xfs;
+
+ if (he = dict_get(XmgXFSDict,name))
+ {
+- return ;
++ return 0;
+ }
+ else
+ return (dict_add(XmgXFSDict,
+@@ -71,7 +71,7 @@ Pixel pixel;
+ {
+ if (cmap == x->cmap)
+ {
+- return ;
++ return 0;
+ }
+ }
+ VEC_ENDFOR;
+@@ -158,7 +158,7 @@ Pixmap pixmap;
+ {
+ if (depth == x->depth)
+ {
+- return ;
++ return 0;
+ }
+ }
+ VEC_ENDFOR;