diff options
author | joerg <joerg> | 2006-01-08 19:21:18 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-08 19:21:18 +0000 |
commit | 77a62a16288b125c4957135db22d88dc0f5b0c29 (patch) | |
tree | 0ffd0ea2f541872c3422fcb0e8072b1d5fb984ed /www | |
parent | e6b7736046b93df22409843c3bad8c3a12e014bb (diff) | |
download | pkgsrc-77a62a16288b125c4957135db22d88dc0f5b0c29.tar.gz |
Rename strtonum function, it conflicts with a system prototype on
OpenBSD and DragonFly.
Diffstat (limited to 'www')
-rw-r--r-- | www/elinks04/distinfo | 3 | ||||
-rw-r--r-- | www/elinks04/patches/patch-ad | 40 |
2 files changed, 42 insertions, 1 deletions
diff --git a/www/elinks04/distinfo b/www/elinks04/distinfo index a4095f8aba2..14a001a02c5 100644 --- a/www/elinks04/distinfo +++ b/www/elinks04/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 14:08:30 wiz Exp $ +$NetBSD: distinfo,v 1.3 2006/01/08 19:21:18 joerg Exp $ SHA1 (elinks-0.4.3.tar.bz2) = 714fceaf57327849cdb3986ca937018624af6b5e RMD160 (elinks-0.4.3.tar.bz2) = ccf4df27dfab136b69d2f1c29c32cc7df59fa241 @@ -6,3 +6,4 @@ Size (elinks-0.4.3.tar.bz2) = 767828 bytes SHA1 (patch-aa) = 848266272ba4a4dfb6490b3c701ee20575121cb0 SHA1 (patch-ab) = afa6a0000e8fbe2d33669c9b34a3f157c087b42c SHA1 (patch-ac) = b0041facbc15997bf272ada854ddfea94ef8158f +SHA1 (patch-ad) = fd973e1306ab1264b09312b57577963a86aa2c13 diff --git a/www/elinks04/patches/patch-ad b/www/elinks04/patches/patch-ad new file mode 100644 index 00000000000..a8a276ddc35 --- /dev/null +++ b/www/elinks04/patches/patch-ad @@ -0,0 +1,40 @@ +$NetBSD: patch-ad,v 1.1 2006/01/08 19:21:18 joerg Exp $ + +--- src/config/kbdbind.c.orig 2003-06-06 23:13:25.000000000 +0000 ++++ src/config/kbdbind.c +@@ -216,7 +216,7 @@ struct strtonum { + }; + + static long +-strtonum(struct strtonum *table, char *str) ++my_strtonum(struct strtonum *table, char *str) + { + struct strtonum *rec; + +@@ -263,7 +263,7 @@ static struct strtonum keymap_table[] = + static int + read_keymap(unsigned char *keymap) + { +- return strtonum(keymap_table, keymap); ++ return my_strtonum(keymap_table, keymap); + } + + unsigned char * +@@ -306,7 +306,7 @@ static struct strtonum key_table[] = { + long + read_key(unsigned char *key) + { +- return (strlen(key) == 1) ? *key : strtonum(key_table, key); ++ return (strlen(key) == 1) ? *key : my_strtonum(key_table, key); + } + + static unsigned char * +@@ -440,7 +440,7 @@ static struct strtonum action_table[] = + static int + read_action(unsigned char *action) + { +- return strtonum(action_table, action); ++ return my_strtonum(action_table, action); + } + + unsigned char * |