summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-10-24 15:38:43 +0000
committerjoerg <joerg@pkgsrc.org>2012-10-24 15:38:43 +0000
commit4da6bdf8d8725b259bb813d8c05b0cc45eea9d0c (patch)
tree31f297f716b16a5804f57416562d9f0cbabcdad2 /graphics
parentb05281ef64c92469348a8fe509d57eb4e814795c (diff)
downloadpkgsrc-4da6bdf8d8725b259bb813d8c05b0cc45eea9d0c.tar.gz
Don't return without value.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpaint/distinfo3
-rw-r--r--graphics/xpaint/patches/patch-rw_readWritePS.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/xpaint/distinfo b/graphics/xpaint/distinfo
index f9a17b850de..2493e0dcaf5 100644
--- a/graphics/xpaint/distinfo
+++ b/graphics/xpaint/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2011/12/16 05:14:27 dholland Exp $
+$NetBSD: distinfo,v 1.23 2012/10/24 15:38:43 joerg Exp $
SHA1 (xpaint-2.7.8.1.tar.bz2) = d225254cc15cbc166c392b112b57104657a33aaa
RMD160 (xpaint-2.7.8.1.tar.bz2) = 8efca6ff71df8635b8ed50e0c6db2b81f2e068cf
@@ -12,3 +12,4 @@ SHA1 (patch-af) = 73f1289ca104f4c53e8d184251d5a84c5c1ec7ab
SHA1 (patch-ag) = a8eba89d7389a3e0b0973bf3a3c25a76ae7e0d84
SHA1 (patch-ai) = 38f3532befe2c58cc11d0e055765b6098bbdd9f5
SHA1 (patch-image_h) = 5e8afa76bdd58cd747c13662e0a37fcf5a62256e
+SHA1 (patch-rw_readWritePS.c) = f56b512e888821134d2f7548741a33f0f8b886fd
diff --git a/graphics/xpaint/patches/patch-rw_readWritePS.c b/graphics/xpaint/patches/patch-rw_readWritePS.c
new file mode 100644
index 00000000000..bfe2fb57616
--- /dev/null
+++ b/graphics/xpaint/patches/patch-rw_readWritePS.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-rw_readWritePS.c,v 1.1 2012/10/24 15:38:43 joerg Exp $
+
+--- rw/readWritePS.c.orig 2012-10-24 12:51:26.000000000 +0000
++++ rw/readWritePS.c
+@@ -383,7 +383,7 @@ ReadPS(char *file)
+ fclose(fp);
+
+ type_doc = TestPS(file);
+- if (!type_doc) return; /* should not happen anyway ... */
++ if (!type_doc) return NULL; /* should not happen anyway ... */
+
+ strncpy(rad, file, 256),
+ rad[256] = '\0';