diff options
Diffstat (limited to 'packages/curl')
-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) |