summaryrefslogtreecommitdiff
path: root/data/curl/strerror.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-04-15 21:57:10 +0000
committerJay Freeman <saurik@saurik.com>2009-04-15 21:57:10 +0000
commitb521141a96b349dd389bde8de66707015e0d9a47 (patch)
tree772026a572252c334fe5350ba1ac38d6942f9eb5 /data/curl/strerror.diff
parentd17a5ee06c0c2960d319d4cc3ea9b0c04896d125 (diff)
Upgraded to cURL 7.19.4.
git-svn-id: http://svn.telesphoreo.org/trunk@590 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/curl/strerror.diff')
-rw-r--r--data/curl/strerror.diff45
1 files changed, 0 insertions, 45 deletions
diff --git a/data/curl/strerror.diff b/data/curl/strerror.diff
deleted file mode 100644
index 961a32d9e..000000000
--- a/data/curl/strerror.diff
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -r -u curl-7.17.1/acinclude.m4 curl-7.17.1+iPhone/acinclude.m4
---- curl-7.17.1/acinclude.m4 2007-10-24 20:08:45.000000000 +0000
-+++ curl-7.17.1+iPhone/acinclude.m4 2007-12-28 11:24:03.000000000 +0000
-@@ -1944,41 +1944,8 @@
- ) dnl with _THREAD_SAFE
- ]) dnl plain cpp for it
-
-- dnl determine if this strerror_r() is glibc or POSIX
-- AC_MSG_CHECKING([for a glibc strerror_r API])
-- AC_TRY_RUN([
--#include <string.h>
--#include <errno.h>
--int
--main () {
-- char buffer[1024]; /* big enough to play with */
-- char *string =
-- strerror_r(EACCES, buffer, sizeof(buffer));
-- /* this should've returned a string */
-- if(!string || !string[0])
-- return 99;
-- return 0;
--}
--],
- GLIBC_STRERROR_R="1"
- AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
-- AC_MSG_RESULT([yes]),
-- AC_MSG_RESULT([no]),
--
-- dnl Use an inferior method of strerror_r detection while cross-compiling
-- AC_EGREP_CPP(yes, [
--#include <features.h>
--#ifdef __GLIBC__
--yes
--#endif
--],
-- dnl looks like glibc, so assume a glibc-style strerror_r()
-- GLIBC_STRERROR_R="1"
-- AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
-- AC_MSG_RESULT([yes]),
-- AC_MSG_NOTICE([cannot determine strerror_r() style: edit lib/config.h manually!])
-- ) dnl while cross-compiling
-- )
-
- if test -z "$GLIBC_STRERROR_R"; then
-