summaryrefslogtreecommitdiff
path: root/package/httping/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/httping/patches')
-rw-r--r--package/httping/patches/patch-str_c16
-rw-r--r--package/httping/patches/patch-str_h12
2 files changed, 28 insertions, 0 deletions
diff --git a/package/httping/patches/patch-str_c b/package/httping/patches/patch-str_c
new file mode 100644
index 000000000..8778ef40b
--- /dev/null
+++ b/package/httping/patches/patch-str_c
@@ -0,0 +1,16 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- httping-1.3.0.orig/str.c 2009-02-18 16:32:43.000000000 +0100
++++ httping-1.3.0/str.c 2009-06-01 21:31:19.000000000 +0200
+@@ -18,6 +18,7 @@
+ #include "mem.h"
+ #include "utils.h"
+
++/*
+ #ifndef strndup
+ char *strndup(char *in, int size)
+ {
+@@ -29,3 +30,4 @@ char *strndup(char *in, int size)
+ return out;
+ }
+ #endif
++*/
diff --git a/package/httping/patches/patch-str_h b/package/httping/patches/patch-str_h
new file mode 100644
index 000000000..c7b81ed65
--- /dev/null
+++ b/package/httping/patches/patch-str_h
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- httping-1.3.0.orig/str.h 2009-02-18 16:32:43.000000000 +0100
++++ httping-1.3.0/str.h 2009-06-01 21:30:39.000000000 +0200
+@@ -15,6 +15,8 @@
+
+ #include <string.h>
+
++/*
+ #ifndef strndup
+ char *strndup(char *in, int size);
+ #endif
++*/