freebsd-ports/devel/ElectricFence/files/patch-vaarg
Mikhail Teterin 0fb9bf00fa Add two more patches found in the Linux wild. Would've been
better to be downloading them, but, strangely enough, they
don't seem available in the raw source -- only in the pretty-fied
HTML :-(

Of the two remaining once, the ElectricFence-2.2.2-madvise.patch
is currently causing me unexplained crashes, and the
ElectricFence-2.2.2-pthread.patch does not seem to matter for us,
because we don't USE_SEMAPHORE:

http://www.filewatcher.com/p/ElectricFence-2.2.2-19.src.rpm.38696/ElectricFence-2.2.2-madvise.patch.html
http://www.filewatcher.com/p/ElectricFence-2.2.2-19.src.rpm.38696/ElectricFence-2.2.2-pthread.patch.html
2007-07-27 13:31:55 +00:00

11 lines
279 B
Text

--- print.c Thu Jan 19 23:54:26 1995
+++ print.c Tue May 16 07:43:45 2000
@@ -99,7 +99,7 @@ vprint(const char * pattern, va_list arg
break;
case 'c':
{
- char c = va_arg(args, char);
+ char c = va_arg(args, int);
(void) write(2, &c, 1);
}