aboutsummaryrefslogtreecommitdiff
path: root/www/links1
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-04-07 10:38:29 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-04-07 10:38:29 +0000
commit3a2f734f6b94b20a4af386753b9b1c8a1b6e1ad5 (patch)
tree7558c8bd9a6954e72bb560f19e0bf440ef82de5f /www/links1
parent1832cf4035a8276e85819b0f2bfc4f64d4739dc9 (diff)
downloadports-3a2f734f6b94b20a4af386753b9b1c8a1b6e1ad5.tar.gz
ports-3a2f734f6b94b20a4af386753b9b1c8a1b6e1ad5.zip
Notes
Diffstat (limited to 'www/links1')
-rw-r--r--www/links1/files/patch-kbdbind.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/links1/files/patch-kbdbind.c b/www/links1/files/patch-kbdbind.c
new file mode 100644
index 000000000000..77f53a46c44d
--- /dev/null
+++ b/www/links1/files/patch-kbdbind.c
@@ -0,0 +1,29 @@
+--- kbdbind.c.orig Wed Mar 20 09:22:48 2002
++++ kbdbind.c Fri Apr 7 19:25:20 2006
+@@ -74,7 +74,7 @@
+ long num;
+ };
+
+-static long strtonum(struct strtonum *table, char *s)
++static long mystrtonum(struct strtonum *table, char *s)
+ {
+ struct strtonum *p;
+ for (p = table; p->str; p++)
+@@ -90,7 +90,7 @@
+ { "menu", KM_MENU },
+ { NULL, 0 }
+ };
+- return strtonum(table, s);
++ return mystrtonum(table, s);
+ }
+
+ static long parse_key(unsigned char *s)
+@@ -124,7 +124,7 @@
+ { "F12", KBD_F12 },
+ { NULL, 0 }
+ };
+- return (strlen(s) == 1) ? *s : strtonum(table, s);
++ return (strlen(s) == 1) ? *s : mystrtonum(table, s);
+ }
+
+ static int parse_keystroke(unsigned char *s, long *x, long *y)