diff options
Diffstat (limited to 'Build/source/texk/psutils/psutils-1.23-PATCHES/patch-01-bug-fix')
-rw-r--r-- | Build/source/texk/psutils/psutils-1.23-PATCHES/patch-01-bug-fix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/texk/psutils/psutils-1.23-PATCHES/patch-01-bug-fix b/Build/source/texk/psutils/psutils-1.23-PATCHES/patch-01-bug-fix new file mode 100644 index 00000000000..4786ca5fb8f --- /dev/null +++ b/Build/source/texk/psutils/psutils-1.23-PATCHES/patch-01-bug-fix @@ -0,0 +1,26 @@ +diff -ur psutils-1.23.orig/psutil.c psutils-1.23/psutil.c +--- psutils-1.23.orig/psutil.c 2014-01-15 20:08:26.000000000 +0100 ++++ psutils-1.23/psutil.c 2014-01-16 08:56:23.000000000 +0100 +@@ -18,12 +18,12 @@ + #include <sys/stat.h> + #include <stdio.h> + ++#include "progname.h" + #include "xvasprintf.h" + #include "verror.h" + + #define iscomment(x,y) (strncmp(x,y,strlen(y)) == 0) + +-char *program; + int pages; + int verbose; + FILE *infile; +@@ -44,7 +44,7 @@ + + _Noreturn void usage(void) + { +- fprintf(stderr, "%s %s\n%sUsage: %s %s", program, PACKAGE_VERSION, COPYRIGHT_STRING, program, syntax); ++ fprintf(stderr, "%s %s\n%sUsage: %s %s", program_name, PACKAGE_VERSION, COPYRIGHT_STRING, program_name, syntax); + exit(1); + } + |