From e050eec7d4fb4f96233b55b9cfdc75ff2bccda11 Mon Sep 17 00:00:00 2001 From: Max Parmer Date: Mon, 21 Mar 2016 20:43:33 -0700 Subject: Removes third-party libstrophe patches. --- .../files/libstrophe-fix-crash-on-non-latin1.patch | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch (limited to 'dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch') diff --git a/dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch b/dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch deleted file mode 100644 index 41699ad..0000000 --- a/dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/src/hash.c b/src/hash.c -index 27d2756..111149a 100644 ---- a/src/hash.c -+++ b/src/hash.c -@@ -109,13 +109,13 @@ void hash_release(hash_t * const table) - /** hash a key for our table lookup */ - static int _hash_key(hash_t *table, const char *key) - { -- int hash = 0; -+ unsigned int hash = 0; - int shift = 0; - const char *c = key; - - while (*c != '\0') { - /* assume 32 bit ints */ -- hash ^= ((int)*c++ << shift); -+ hash ^= ((unsigned int)*c++ << shift); - shift += 8; - if (shift > 24) shift = 0; - } -- cgit v1.2.1