summaryrefslogtreecommitdiff
path: root/graphics/netpbm/files/patch-lib-libpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm/files/patch-lib-libpm.c')
-rw-r--r--graphics/netpbm/files/patch-lib-libpm.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/graphics/netpbm/files/patch-lib-libpm.c b/graphics/netpbm/files/patch-lib-libpm.c
deleted file mode 100644
index 7c805f039462..000000000000
--- a/graphics/netpbm/files/patch-lib-libpm.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/libpm.c.orig 2006-08-19 05:12:28.000000000 +0200
-+++ lib/libpm.c 2010-05-21 10:37:10.000000000 +0200
-@@ -669,7 +669,7 @@
- pm_openr(const char * const name) {
- FILE* f;
-
-- if (strcmp(name, "-") == 0)
-+ if (name == NULL || strcmp(name, "-") == 0)
- f = stdin;
- else {
- #ifndef VMS
-@@ -691,7 +691,7 @@
- pm_openw(const char * const name) {
- FILE* f;
-
-- if (strcmp(name, "-") == 0)
-+ if (name == NULL || strcmp(name, "-") == 0)
- f = stdout;
- else {
- #ifndef VMS