diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/siege/stdint.patch | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/siege/stdint.patch')
-rw-r--r-- | unmaintained/siege/stdint.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/unmaintained/siege/stdint.patch b/unmaintained/siege/stdint.patch new file mode 100644 index 0000000000..41ccad90b0 --- /dev/null +++ b/unmaintained/siege/stdint.patch @@ -0,0 +1,28 @@ +--- ./src/hash.c.orig ++++ ./src/hash.c +@@ -26,6 +26,7 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <stdint.h> + #include <hash.h> + #include <joedog/joedog.h> + #include <joedog/defs.h> +@@ -54,7 +55,7 @@ + private BOOLEAN __lookup(HASH this, char *key); + private void __resize(HASH this); + private unsigned int __genkey(int size, char *str); +-private u_int32_t fnv_32_buf(void *buf, size_t len, u_int32_t hval); ++private uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval); + + /** + * allocs size and space for the +@@ -265,7 +266,7 @@ + * FNV-1a hash each octet in the buffer + */ + while (bp < be) { +- hval ^= (u_int32_t)*bp++; ++ hval ^= (uint32_t)*bp++; + hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); + } + return hval; |