diff options
Diffstat (limited to 'graphics/xpaint/patches')
-rw-r--r-- | graphics/xpaint/patches/patch-rw_readWritePS.c | 13 |
1 files changed, 13 insertions, 0 deletions
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'; |