summaryrefslogtreecommitdiff
path: root/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/psutils/files/psutils-1.17-clang-implicit-int.patch')
-rw-r--r--app-text/psutils/files/psutils-1.17-clang-implicit-int.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch b/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch
new file mode 100644
index 000000000000..0f70648dd600
--- /dev/null
+++ b/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch
@@ -0,0 +1,16 @@
+--- a/pserror.c
++++ b/pserror.c
+@@ -22,11 +22,11 @@ extern char *program ; /* Defined by mai
+ #define MAX_COLUMN 78 /* maximum column to print upto */
+
+ void message(int flags, char *format, ...)
+ {
+ va_list args ;
+- static column = 0 ; /* current screen column for message wrap */
++ static int column = 0 ; /* current screen column for message wrap */
+ char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */
+ char *bufptr = msgbuf ; /* message buffer pointer */
+
+ if ( (flags & MESSAGE_NL) && column != 0 ) { /* new line if not already */
+ putc('\n', stderr) ;
+