* getline -> get_line

* remove maintainer by his request

ok fgsch@
This commit is contained in:
naddy 2012-03-17 16:04:34 +00:00
parent 5c2859c0d8
commit f40eded260
4 changed files with 38 additions and 4 deletions

View File

@ -1,16 +1,14 @@
# $OpenBSD: Makefile,v 1.32 2010/11/19 07:23:11 espie Exp $
# $OpenBSD: Makefile,v 1.33 2012/03/17 16:04:34 naddy Exp $
COMMENT= write audio/data CD-Rs in disk-at-once mode
DISTNAME= cdrdao-1.2.0
REVISION= 0
REVISION= 1
CATEGORIES= audio misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdrdao/}
HOMEPAGE= http://cdrdao.sourceforge.net/
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-scsilib_include_schily_h,v 1.1 2012/03/17 16:04:34 naddy Exp $
--- scsilib/include/schily.h.orig Sat Mar 17 09:32:53 2012
+++ scsilib/include/schily.h Sat Mar 17 09:34:36 2012
@@ -187,7 +187,7 @@ extern char *fillbytes __PR((void *, int, char));
extern char *findbytes __PR((const void *, int, char));
extern int findline __PR((const char *, char, const char *,
int, char **, int));
-extern int getline __PR((char *, int));
+extern int get_line __PR((char *, int));
extern int getstr __PR((char *, int));
extern int breakline __PR((char *, char, char **, int));
extern int getallargs __PR((int *, char * const**, const char *, ...));

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-scsilib_libscg_scsitransp_c,v 1.1 2012/03/17 16:04:34 naddy Exp $
--- scsilib/libscg/scsitransp.c.orig Sat Mar 17 09:40:21 2012
+++ scsilib/libscg/scsitransp.c Sat Mar 17 09:40:43 2012
@@ -323,7 +323,7 @@ scg_yes(msg)
js_printf("%s", msg);
flush();
- if (getline(okbuf, sizeof (okbuf)) == EOF)
+ if (get_line(okbuf, sizeof (okbuf)) == EOF)
exit(EX_BAD);
if (streql(okbuf, "y") || streql(okbuf, "yes") ||
streql(okbuf, "Y") || streql(okbuf, "YES"))

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-scsilib_libschily_stdio_fgetline_c,v 1.1 2012/03/17 16:04:34 naddy Exp $
--- scsilib/libschily/stdio/fgetline.c.orig Sat Mar 17 09:34:48 2012
+++ scsilib/libschily/stdio/fgetline.c Sat Mar 17 09:35:05 2012
@@ -64,7 +64,7 @@ fgetline(f, buf, len)
}
EXPORT int
-getline(buf, len)
+get_line(buf, len)
char *buf;
int len;
{