summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-05-08 09:24:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-11 17:14:25 +0100
commitac3dce4c75e8040eabc880126f0eafc799fb2711 (patch)
tree25ed95a663ff8f4bac4c53335a142e671ba0451b /meta
parentb6e4c1a9a964a8bb68587c083557bbe81d2d503d (diff)
downloadpoky-ac3dce4c75e8040eabc880126f0eafc799fb2711.tar.gz
pax: fix for compiling with gcc 4.6.0
(From OE-Core rev: 8ad3902c98bef4d6fef425f4808d29b8b4ebd707) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/pax/pax/fix_for_compile_with_gcc-4.6.0.patch25
-rw-r--r--meta/recipes-extended/pax/pax_3.4.bb5
2 files changed, 28 insertions, 2 deletions
diff --git a/meta/recipes-extended/pax/pax/fix_for_compile_with_gcc-4.6.0.patch b/meta/recipes-extended/pax/pax/fix_for_compile_with_gcc-4.6.0.patch
new file mode 100644
index 0000000000..88779c3bbd
--- /dev/null
+++ b/meta/recipes-extended/pax/pax/fix_for_compile_with_gcc-4.6.0.patch
@@ -0,0 +1,25 @@
1Upstream-Status: Pending
2
3This patch fixes this compiler error with gcc 4.6.0
4
5Nitin A Kamble <nitin.a.kamble@intel.com> 2011/05/08
6
7| fts.c: In function 'pax_fts_set':
8| fts.c:469:7: error: parameter 'sp' set but not used [-Werror=unused-but-set-parameter]
9| cc1: all warnings being treated as errors
10|
11| make[2]: *** [fts.o] Error 1
12
13Index: pax-3.4/lib/fts.c
14===================================================================
15--- pax-3.4.orig/lib/fts.c
16+++ pax-3.4/lib/fts.c
17@@ -466,7 +466,7 @@ name: t = sp->fts_path + NAPPEND(p->fts
18 /* ARGSUSED */
19 int
20 fts_set(sp, p, instr)
21- FTS *sp;
22+ FTS __attribute__((__unused__)) *sp;
23 FTSENT *p;
24 int instr;
25 {
diff --git a/meta/recipes-extended/pax/pax_3.4.bb b/meta/recipes-extended/pax/pax_3.4.bb
index b0f358acd8..e9c70d6fda 100644
--- a/meta/recipes-extended/pax/pax_3.4.bb
+++ b/meta/recipes-extended/pax/pax_3.4.bb
@@ -10,9 +10,10 @@ 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
12SECTION = "base" 12SECTION = "base"
13PR = "r0" 13PR = "r1"
14 14
15SRC_URI = "ftp://ftp.suse.com/pub/people/kukuk/pax/pax-${PV}.tar.bz2" 15SRC_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 17
17SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6" 18SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6"
18SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b" 19SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b"