summaryrefslogtreecommitdiff
path: root/graphics/xpaint
diff options
context:
space:
mode:
authorjoerg <joerg>2012-10-24 15:38:43 +0000
committerjoerg <joerg>2012-10-24 15:38:43 +0000
commite9b8727c980d0c4f431033175f19f3aa738f7dd3 (patch)
tree31f297f716b16a5804f57416562d9f0cbabcdad2 /graphics/xpaint
parentd587fc78f1ba9dd94358ff29c8b247116a631d17 (diff)
downloadpkgsrc-e9b8727c980d0c4f431033175f19f3aa738f7dd3.tar.gz
Don't return without value.
Diffstat (limited to 'graphics/xpaint')
-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';