summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-07 17:38:25 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-07 17:38:25 +0000
commitf4f308ecb975438514a52c48bfea07c23f861dc0 (patch)
tree85dc18df149ede275dfb9bf7c5a445295b192a5f /net-misc/mulk/files
parentalpha/ia64/sparc stable wrt #376345 (diff)
downloadhistorical-f4f308ecb975438514a52c48bfea07c23f861dc0.tar.gz
historical-f4f308ecb975438514a52c48bfea07c23f861dc0.tar.bz2
historical-f4f308ecb975438514a52c48bfea07c23f861dc0.zip
Moved from sunrise overlay. Thanks to Sebastian Pipping <sping@gentoo.org>. Bug #273119
Package-Manager: portage-2.2.0_alpha46/cvs/Linux x86_64
Diffstat (limited to 'net-misc/mulk/files')
-rw-r--r--net-misc/mulk/files/mulk-0.6.0-large-file.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/mulk/files/mulk-0.6.0-large-file.patch b/net-misc/mulk/files/mulk-0.6.0-large-file.patch
new file mode 100644
index 000000000000..801433080e46
--- /dev/null
+++ b/net-misc/mulk/files/mulk-0.6.0-large-file.patch
@@ -0,0 +1,32 @@
+Index: mulk-0.6.0/lib/defines.h
+===================================================================
+--- mulk-0.6.0.orig/lib/defines.h
++++ mulk-0.6.0/lib/defines.h
+@@ -41,6 +41,12 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <time.h>
++#ifdef HAVE_STDINT_H
++ #include <stdint.h>
++#endif
++#ifdef HAVE_INTTYPES_H
++ #include <inttypes.h>
++#endif
+ #include <curl/curl.h>
+ #include <curl/multi.h>
+ #include <uriparser/Uri.h>
+Index: mulk-0.6.0/lib/m_malloc.c
+===================================================================
+--- mulk-0.6.0.orig/lib/m_malloc.c
++++ mulk-0.6.0/lib/m_malloc.c
+@@ -34,10 +34,6 @@
+
+ #ifdef MULKDEBUG
+
+-#ifdef HAVE_STDINT_H
+-#include <stdint.h> /* for uint32_t */
+-#endif
+-
+ #define HASH_TABLE_SIZE 131072 /* 2^17, use always power of 2 */
+ #define HASH_CHUNK_SIZE 2048
+ #define INC_INDEX(i) i = ((i == HASH_TABLE_SIZE-1) ? 0 : i+1)