unifdef/unifdef-strlcpy.patch
Eric Smith bb107c2112 - Remove package name from summary
- Change URL from FreeBSD CVS to project home page
- Update source to upstream 1.334
- No longer need getline() patch
- Use strlcpy from libbsd
2010-02-12 01:21:57 +00:00

13 lines
467 B
Diff

diff -up unifdef-1.334/unifdef.c.strlcpy unifdef-1.334/unifdef.c
--- unifdef-1.334/unifdef.c.strlcpy 2010-01-19 16:48:31.000000000 -0800
+++ unifdef-1.334/unifdef.c 2010-02-11 16:56:08.000000000 -0800
@@ -56,6 +56,8 @@
#include <string.h>
#include <unistd.h>
+#include <bsd/string.h>
+
const char * const copyright[] = {
"@(#) Copyright (c) 2002 - 2010 Tony Finch (dot@dotat.at)\n",
"@(#) Latest version available from http://dotat.at/prog/unifdef\n",