diff options
author | hrs <hrs@FreeBSD.org> | 2006-04-07 18:38:29 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2006-04-07 18:38:29 +0800 |
commit | 8ec3761d4f8f9c9dc800df25f202d38896c4ff21 (patch) | |
tree | d61479a832e27a574f6cd3a182c90c3689e7df0b /www/links1 | |
parent | 83a7ebfe4c0901be84a3ce8c36883c708d685210 (diff) | |
download | freebsd-ports-gnome-8ec3761d4f8f9c9dc800df25f202d38896c4ff21.tar.gz freebsd-ports-gnome-8ec3761d4f8f9c9dc800df25f202d38896c4ff21.tar.zst freebsd-ports-gnome-8ec3761d4f8f9c9dc800df25f202d38896c4ff21.zip |
Fix a build breakage due to symbol conflict of recently-added
strtonum() function. This should make no change in the binary.
Double-checked by: md5
Diffstat (limited to 'www/links1')
-rw-r--r-- | www/links1/files/patch-kbdbind.c | 29 |
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) |