pkgsrc/sysutils/cdrecord/patches/patch-ce
agc fa6b59b9c9 Make this build on NetBSD 2.0D and later - make cdrecord's fgetstr() local
to the package, rather than attempting to use the one with the different
signature in libc.
2004-04-26 07:46:11 +00:00

20 lines
431 B
Text

$NetBSD: patch-ce,v 1.1 2004/04/26 07:46:11 agc Exp $
--- libschily/stdio/fgetstr.c 2004/04/26 07:42:03 1.1
+++ libschily/stdio/fgetstr.c 2004/04/26 07:42:22
@@ -26,7 +26,7 @@
*/
EXPORT int
-fgetstr(f, buf, len)
+schily_fgetstr(f, buf, len)
register FILE *f;
char *buf;
register int len;
@@ -60,5 +60,5 @@
char *buf;
int len;
{
- return (fgetstr(stdin, buf, len));
+ return (schily_fgetstr(stdin, buf, len));
}