pkgsrc/sysutils/sformat/patches/patch-sformat_diskfmt_c
dholland 4efaf265ac Insert another symbolic link so it configures on amd64. Fix getline()
conflict. Fix makefiles that weren't stopping on error.

Now builds.
2012-06-16 08:55:54 +00:00

15 lines
483 B
Text

$NetBSD: patch-sformat_diskfmt_c,v 1.1 2012/06/16 08:55:55 dholland Exp $
Fix symbol name conflict with POSIX getline().
--- sformat/diskfmt.c Sat Jun 16 04:48:53 2012 -0400
+++ sformat/diskfmt.c Sat Jun 16 04:50:37 2012 -0400
@@ -1014,7 +1014,7 @@
}
printf("Enter filename for database prototype [proto.dat]: ");flush();
- (void)getline(name, sizeof(name));
+ (void)get_line(name, sizeof(name));
if (name[0] == '\0')
strcpy(name, "proto.dat");
if (streql(name, "-"))