* install complains about method_slot.h, which is mentioned twice
  inside Makefile.am.
* v2: Added header to patch.

Signed-off-by: Andreas Oberritter <[email protected]>
---
 recipes/libsigc++-1.2/files/fix-install.patch |   15 +++++++++++++++
 recipes/libsigc++-1.2/libsigc++-1.2_1.2.5.bb  |    3 ++-
 recipes/libsigc++-1.2/libsigc++-1.2_1.2.7.bb  |    3 ++-
 3 files changed, 19 insertions(+), 2 deletions(-)
 create mode 100644 recipes/libsigc++-1.2/files/fix-install.patch

diff --git a/recipes/libsigc++-1.2/files/fix-install.patch 
b/recipes/libsigc++-1.2/files/fix-install.patch
new file mode 100644
index 0000000..1cdfedb
--- /dev/null
+++ b/recipes/libsigc++-1.2/files/fix-install.patch
@@ -0,0 +1,15 @@
+upstream: unmaintained
+
+| ...build/tmp/sysroots/i686-linux/usr/bin/install: will not overwrite 
just-created 
`...build/tmp/work/mipsel-oe-linux/libsigc++-1.2-1.2.5-r2/image/usr/include/sigc++-1.2/sigc++/method_slot.h'
 with `method_slot.h'
+
+--- libsigc++-1.2.7/sigc++/Makefile.am.orig    2010-09-24 12:03:24.000000000 
+0000
++++ libsigc++-1.2.7/sigc++/Makefile.am 2010-09-24 12:03:30.000000000 +0000
+@@ -12,7 +12,7 @@
+ sigc_built_h  = bind_return.h \
+                 object_slot.h retype_return.h slot.h bind.h           \
+                 class_slot.h hide.h retype.h signal.h       \
+-                  method_slot.h method_slot.h
++                  method_slot.h
+ 
+ built_sources = $(sigc_built_cc) $(sigc_built_h)
+ dist_sources  = $(sigc_fixed_cc) $(sigc_fixed_h)
diff --git a/recipes/libsigc++-1.2/libsigc++-1.2_1.2.5.bb 
b/recipes/libsigc++-1.2/libsigc++-1.2_1.2.5.bb
index 2c32f14..6b347e5 100644
--- a/recipes/libsigc++-1.2/libsigc++-1.2_1.2.5.bb
+++ b/recipes/libsigc++-1.2/libsigc++-1.2_1.2.5.bb
@@ -1,10 +1,11 @@
 DESCRIPTION = "A library for loose coupling of C++ method calls"
 SECTION = "libs"
 PRIORITY = "optional"
-PR = "r1"
+PR = "r2"
 LICENSE = "GPL LGPL"
 SRC_URI = "${SOURCEFORGE_MIRROR}/libsigc/libsigc++-${PV}.tar.gz \
           file://autofoo.patch \
+          file://fix-install.patch \
           file://pkgconfig.patch"
 S = "${WORKDIR}/libsigc++-${PV}"
 
diff --git a/recipes/libsigc++-1.2/libsigc++-1.2_1.2.7.bb 
b/recipes/libsigc++-1.2/libsigc++-1.2_1.2.7.bb
index c68105b..179d5a6 100644
--- a/recipes/libsigc++-1.2/libsigc++-1.2_1.2.7.bb
+++ b/recipes/libsigc++-1.2/libsigc++-1.2_1.2.7.bb
@@ -2,10 +2,11 @@ DESCRIPTION = "A library for loose coupling of C++ method 
calls"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPL LGPL"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = 
"http://ftp.gnome.org/pub/GNOME/sources/libsigc++/1.2/libsigc++-${PV}.tar.bz2 \
           file://autofoo.patch \
+          file://fix-install.patch \
            file://disable-tests.patch"
 S = "${WORKDIR}/libsigc++-${PV}"
 
-- 
1.7.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to