diff options
author | Phil Blundell <philb@gnu.org> | 2008-09-09 08:12:59 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2008-09-09 08:12:59 +0000 |
commit | f6f94add26d5da9f6c9296bbe1c20f8856e558da (patch) | |
tree | 008ff4f451d56924e4fb3b7125c7411b03607e79 | |
parent | 4456a7abb141bcaaa43466e306672acb3fbf3db2 (diff) |
curl: avoid off_t confusion caused by site file
-rw-r--r-- | packages/curl/curl_7.19.0.bb | 3 | ||||
-rw-r--r-- | packages/curl/off_t_abi_fix.patch | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/curl/curl_7.19.0.bb b/packages/curl/curl_7.19.0.bb index 2c3ec415f5..a99a68bcb1 100644 --- a/packages/curl/curl_7.19.0.bb +++ b/packages/curl/curl_7.19.0.bb @@ -1,2 +1,5 @@ require curl.inc +SRC_URI += "file://off_t_abi_fix.patch;patch=1;pnum=0" +PR = "r1" + diff --git a/packages/curl/off_t_abi_fix.patch b/packages/curl/off_t_abi_fix.patch new file mode 100644 index 0000000000..007f0404ff --- /dev/null +++ b/packages/curl/off_t_abi_fix.patch @@ -0,0 +1,17 @@ +--- configure.ac~ 2008-09-07 16:53:11.000000000 +0100 ++++ configure.ac 2008-09-09 08:49:29.000000000 +0100 +@@ -1998,6 +1998,14 @@ + CURL_CHECK_STRUCT_TIMEVAL + CURL_VERIFY_RUNTIMELIBS + ++if test x"$ac_cv_sys_file_offset_bits" == "x64"; then ++ if test "${ac_cv_sizeof_large_off_t+set}" = set; then ++ ac_cv_sizeof_off_t=$ac_cv_sizeof_large_off_t ++ else ++ unset ac_cv_sizeof_off_t ++ fi ++fi ++ + AC_CHECK_SIZEOF(size_t) + AC_CHECK_SIZEOF(int) + AC_CHECK_SIZEOF(long) |