diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /www/chimera/files/patch-libhtmlw__HTML-PSformat.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'www/chimera/files/patch-libhtmlw__HTML-PSformat.c')
-rw-r--r-- | www/chimera/files/patch-libhtmlw__HTML-PSformat.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www/chimera/files/patch-libhtmlw__HTML-PSformat.c b/www/chimera/files/patch-libhtmlw__HTML-PSformat.c new file mode 100644 index 000000000000..154d1bff46c1 --- /dev/null +++ b/www/chimera/files/patch-libhtmlw__HTML-PSformat.c @@ -0,0 +1,40 @@ +--- libhtmlw/HTML-PSformat.c.orig Sun May 4 17:08:32 1997 ++++ libhtmlw/HTML-PSformat.c Sun Nov 30 11:03:28 2003 +@@ -41,7 +41,11 @@ + * permission of John Bradley. + */ + ++#if 0 + #include <varargs.h> ++#else ++#include <stdarg.h> ++#endif + + #include <stdio.h> + #include <ctype.h> +@@ -204,9 +208,13 @@ + } + #else /* not BROKEN_SOLARIS_COMPILER_STDARG */ + static int ++#if 0 + PSprintf (format, va_alist) + char *format; + va_dcl ++#else ++PSprintf (char *format, ...) ++#endif + { + int len; + char *s; +@@ -222,7 +230,11 @@ + } + PS_string = s; + } ++#if 0 + va_start (args); ++#else ++ va_start (args, format); ++#endif + len = vsprintf (PS_string + PS_len, format, args); + /* this is a hack to make it work on systems were vsprintf(s,...) + * returns s, instead of the len. |