summaryrefslogtreecommitdiff
path: root/packages/curl/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/curl/files')
-rw-r--r--packages/curl/files/.mtn2git_empty0
-rw-r--r--packages/curl/files/uclibc.patch15
2 files changed, 15 insertions, 0 deletions
diff --git a/packages/curl/files/.mtn2git_empty b/packages/curl/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/curl/files/.mtn2git_empty
diff --git a/packages/curl/files/uclibc.patch b/packages/curl/files/uclibc.patch
index e69de29bb2..15a9012705 100644
--- a/packages/curl/files/uclibc.patch
+++ b/packages/curl/files/uclibc.patch
@@ -0,0 +1,15 @@
+Index: curl-7.12.2/lib/mprintf.c
+===================================================================
+--- curl-7.12.2.orig/lib/mprintf.c 2004-06-24 07:54:11.000000000 -0400
++++ curl-7.12.2/lib/mprintf.c 2005-02-02 17:15:45.435748600 -0500
+@@ -1134,8 +1134,10 @@
+ }
+
+ #ifndef WIN32 /* not needed on win32 */
++#ifndef __UCLIBC__ /* not needed for uclibc, and breaks the build */
+ extern int fputc(int, FILE *);
+ #endif
++#endif
+
+ int curl_mprintf(const char *format, ...)
+ {