diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-06 10:04:32 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-12 21:50:18 +0000 |
commit | 800f7e43523ed6156e2dde3b928aae8c10f2ee7e (patch) | |
tree | cbf4e29d3e3094dda1374af7fcee766af46e09e6 /meta/recipes-extended/pax/pax_3.4.bb | |
parent | 3424702c09218acf4f3c265f427c4a7ab129bce9 (diff) | |
download | poky-800f7e43523ed6156e2dde3b928aae8c10f2ee7e.tar.gz |
pax: fix compilation with x32 toolchain
off_t is 8byte for x32. We need to check both _FILE_OFFSET_BITS and
size of off_t to see if file offset is 64bit. This patch adds
AC_CHECK_SIZEOF(off_t) and checks SIZEOF_OFF_T == 8.
(From OE-Core rev: 4c2ec631bf2b9581233a470c415f4d5cfe59a2a4)
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pax/pax_3.4.bb')
-rw-r--r-- | meta/recipes-extended/pax/pax_3.4.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/pax/pax_3.4.bb b/meta/recipes-extended/pax/pax_3.4.bb index e9c70d6fda..0c10688feb 100644 --- a/meta/recipes-extended/pax/pax_3.4.bb +++ b/meta/recipes-extended/pax/pax_3.4.bb | |||
@@ -10,10 +10,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b0b674dfdc56daa3832d4069b820ea0 \ | |||
10 | file://lib/vis.h;endline=40;md5=b283f759abd4a5ad7e014b80f51fc053" | 10 | file://lib/vis.h;endline=40;md5=b283f759abd4a5ad7e014b80f51fc053" |
11 | 11 | ||
12 | SECTION = "base" | 12 | SECTION = "base" |
13 | PR = "r1" | 13 | PR = "r2" |
14 | 14 | ||
15 | SRC_URI = "ftp://ftp.suse.com/pub/people/kukuk/pax/pax-${PV}.tar.bz2 \ | 15 | SRC_URI = "ftp://ftp.suse.com/pub/people/kukuk/pax/pax-${PV}.tar.bz2 \ |
16 | file://fix_for_compile_with_gcc-4.6.0.patch" | 16 | file://fix_for_compile_with_gcc-4.6.0.patch \ |
17 | file://pax-3.4_fix_for_x32.patch" | ||
17 | 18 | ||
18 | SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6" | 19 | SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6" |
19 | SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b" | 20 | SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b" |