diff options
author | Max Parmer <maxp@trystero.is> | 2016-03-21 20:43:33 -0700 |
---|---|---|
committer | Max Parmer <maxp@trystero.is> | 2016-03-21 20:43:33 -0700 |
commit | e050eec7d4fb4f96233b55b9cfdc75ff2bccda11 (patch) | |
tree | 638c44a828b6fb8879a3b3ac1d60588f2d005f32 /dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch | |
parent | 9b86984529235fa141fe1641b8be5c67289170c4 (diff) | |
download | profanity-e050eec7d4fb4f96233b55b9cfdc75ff2bccda11.tar.gz profanity-e050eec7d4fb4f96233b55b9cfdc75ff2bccda11.tar.xz |
Removes third-party libstrophe patches.
Diffstat (limited to 'dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch')
-rw-r--r-- | dev-libs/libstrophe/files/libstrophe-fix-crash-on-non-latin1.patch | 20 |
1 files changed, 0 insertions, 20 deletions
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; - } |