From 6d7a7f4776711758cf5b59028378f01cd8eba493 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Jun 2009 14:56:04 +0200 Subject: FreeBSD compatibility patches - update ipset and libpri to latest upstream --- package/gpsd/patches/patch-contrib_binlog_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/gpsd/patches/patch-contrib_binlog_c (limited to 'package/gpsd/patches/patch-contrib_binlog_c') diff --git a/package/gpsd/patches/patch-contrib_binlog_c b/package/gpsd/patches/patch-contrib_binlog_c new file mode 100644 index 000000000..99b20bf47 --- /dev/null +++ b/package/gpsd/patches/patch-contrib_binlog_c @@ -0,0 +1,11 @@ +--- gpsd-2.39.orig/contrib/binlog.c 2009-01-28 21:53:46.000000000 +0100 ++++ gpsd-2.39/contrib/binlog.c 2009-06-13 09:13:00.000000000 +0200 +@@ -58,7 +58,7 @@ int main(int argc, char **argv) { + if (l > 0) + write(ofd, buf, l); + usleep(1000); +- bzero(buf, BUFSIZ); ++ memset(buf, 0, BUFSIZ); + spinner( n++ ); + } + return 0; -- cgit v1.2.3