diff options
author | joerg <joerg@pkgsrc.org> | 2014-03-06 15:42:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-03-06 15:42:29 +0000 |
commit | 61cbc26507050b11f9c248541a2b0ab52b6fbfab (patch) | |
tree | f232cc1c6eb8287e70150eb06bc152e39eab506a | |
parent | efb14a6447d905b713e3b857bc13438c0c5f4f2a (diff) | |
download | pkgsrc-61cbc26507050b11f9c248541a2b0ab52b6fbfab.tar.gz |
Drop redundant abs.
-rw-r--r-- | devel/doxymacs/distinfo | 4 | ||||
-rw-r--r-- | devel/doxymacs/patches/patch-c_doxymacs__parser.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/devel/doxymacs/distinfo b/devel/doxymacs/distinfo index 7ecc6a87141..6435d86a104 100644 --- a/devel/doxymacs/distinfo +++ b/devel/doxymacs/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2012/06/25 11:18:39 joerg Exp $ +$NetBSD: distinfo,v 1.4 2014/03/06 15:42:29 joerg Exp $ SHA1 (doxymacs-1.8.0.tar.gz) = b2aafb4f2d20ceb63614c2b9f06d79dd484d8e2e RMD160 (doxymacs-1.8.0.tar.gz) = f7a0657251d9220d75aec08dd796dbba3cfe99a5 Size (doxymacs-1.8.0.tar.gz) = 133600 bytes -SHA1 (patch-c_doxymacs__parser.c) = d96e087ec14057ae1f58c6f44eecf8e0cd55b470 +SHA1 (patch-c_doxymacs__parser.c) = 44fa1103299a2dabdcf4ced99710a3f3c6fc9264 diff --git a/devel/doxymacs/patches/patch-c_doxymacs__parser.c b/devel/doxymacs/patches/patch-c_doxymacs__parser.c index ec81dbd8d22..f424d367d07 100644 --- a/devel/doxymacs/patches/patch-c_doxymacs__parser.c +++ b/devel/doxymacs/patches/patch-c_doxymacs__parser.c @@ -1,6 +1,6 @@ -$NetBSD: patch-c_doxymacs__parser.c,v 1.1 2012/06/25 11:18:39 joerg Exp $ +$NetBSD: patch-c_doxymacs__parser.c,v 1.2 2014/03/06 15:42:29 joerg Exp $ ---- c/doxymacs_parser.c.orig 2012-06-18 16:32:20.000000000 +0000 +--- c/doxymacs_parser.c.orig 2006-04-23 00:05:33.000000000 +0000 +++ c/doxymacs_parser.c @@ -70,7 +70,7 @@ typedef struct _hash_entry @@ -11,8 +11,12 @@ $NetBSD: patch-c_doxymacs__parser.c,v 1.1 2012/06/25 11:18:39 joerg Exp $ { unsigned int h = 0; -@@ -82,7 +82,7 @@ inline unsigned int hash(const char *s) - return abs(h % HASH_SIZE); +@@ -79,10 +79,10 @@ inline unsigned int hash(const char *s) + h += *s++; + } + +- return abs(h % HASH_SIZE); ++ return h % HASH_SIZE; } -inline void AddToHash(completion_list *cl) |