pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/frotz Change getline() to get_line()
details: https://anonhg.NetBSD.org/pkgsrc/rev/277e23d28f26
branches: trunk
changeset: 396038:277e23d28f26
user: smb <smb%pkgsrc.org@localhost>
date: Sat Jul 18 02:49:15 2009 +0000
description:
Change getline() to get_line()
diffstat:
games/frotz/Makefile | 4 ++--
games/frotz/distinfo | 3 ++-
games/frotz/patches/patch-pb | 31 +++++++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 3 deletions(-)
diffs (60 lines):
diff -r a81d0cb7eff5 -r 277e23d28f26 games/frotz/Makefile
--- a/games/frotz/Makefile Sat Jul 18 02:29:46 2009 +0000
+++ b/games/frotz/Makefile Sat Jul 18 02:49:15 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2008/03/04 06:59:04 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2009/07/18 02:49:15 smb Exp $
DISTNAME= frotz-2.43
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= games
# The maintainer has asked us to use the mirrors instead of www.cs.csubak.edu.
#MASTER_SITES= http://www.cs.csubak.edu/~dgriffi/frotz/files/
diff -r a81d0cb7eff5 -r 277e23d28f26 games/frotz/distinfo
--- a/games/frotz/distinfo Sat Jul 18 02:29:46 2009 +0000
+++ b/games/frotz/distinfo Sat Jul 18 02:49:15 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2005/02/23 23:11:58 agc Exp $
+$NetBSD: distinfo,v 1.10 2009/07/18 02:49:15 smb Exp $
SHA1 (frotz-2.43.tar.gz) = 2b2684ec670b471489c15be732c7dd1c59821b00
RMD160 (frotz-2.43.tar.gz) = ccfc303e116e517caff0fec8f3bd555dfc02ae4e
Size (frotz-2.43.tar.gz) = 160771 bytes
SHA1 (patch-aa) = a938f7889bca24f182a440c18f468eabe6ce40a5
+SHA1 (patch-pb) = e7d63332e82b5835de051ec0696a76dbe3822042
diff -r a81d0cb7eff5 -r 277e23d28f26 games/frotz/patches/patch-pb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/frotz/patches/patch-pb Sat Jul 18 02:49:15 2009 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-pb,v 1.1 2009/07/18 02:49:15 smb Exp $
+
+--- src/dumb/dumb_input.c.orig 2009-07-17 22:42:30.000000000 -0400
++++ src/dumb/dumb_input.c 2009-07-17 22:42:49.000000000 -0400
+@@ -79,7 +79,7 @@
+ /* Read one line, including the newline, into s. Safely avoids buffer
+ * overruns (but that's kind of pointless because there are several
+ * other places where I'm not so careful). */
+-static void getline(char *s)
++static void get_line(char *s)
+ {
+ int c;
+ char *p = s;
+@@ -203,7 +203,7 @@
+ fputs(prompt, stdout);
+ else
+ dumb_show_prompt(show_cursor, (timeout ? "tTD" : ")>}")[type]);
+- getline(s);
++ get_line(s);
+ if ((s[0] != '\\') || ((s[1] != '\0') && !islower(s[1]))) {
+ /* Is not a command line. */
+ translate_special_chars(s);
+@@ -265,7 +265,7 @@
+ if (!*current_page)
+ break;
+ printf("HELP: Type <return> for more, or q <return> to stop: ");
+- getline(s);
++ get_line(s);
+ if (!strcmp(s, "q\n"))
+ break;
+ }
Home |
Main Index |
Thread Index |
Old Index