pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/xpaint Don't return without value.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1e3b96fc559
branches: trunk
changeset: 610429:f1e3b96fc559
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Oct 24 15:38:43 2012 +0000
description:
Don't return without value.
diffstat:
graphics/xpaint/distinfo | 3 ++-
graphics/xpaint/patches/patch-rw_readWritePS.c | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 114a5b5fc510 -r f1e3b96fc559 graphics/xpaint/distinfo
--- a/graphics/xpaint/distinfo Wed Oct 24 15:37:58 2012 +0000
+++ b/graphics/xpaint/distinfo Wed Oct 24 15:38:43 2012 +0000
@@ -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-ag) = a8eba89d7389a3e0b0973bf3a3c25a76ae7e0d84
SHA1 (patch-ai) = 38f3532befe2c58cc11d0e055765b6098bbdd9f5
SHA1 (patch-image_h) = 5e8afa76bdd58cd747c13662e0a37fcf5a62256e
+SHA1 (patch-rw_readWritePS.c) = f56b512e888821134d2f7548741a33f0f8b886fd
diff -r 114a5b5fc510 -r f1e3b96fc559 graphics/xpaint/patches/patch-rw_readWritePS.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xpaint/patches/patch-rw_readWritePS.c Wed Oct 24 15:38:43 2012 +0000
@@ -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';
Home |
Main Index |
Thread Index |
Old Index