libsigc++-1.2: fix installation
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 1 Oct 2010 01:07:58 +0000 (01:07 +0000)
committerKhem Raj <raj.khem@gmail.com>
Wed, 6 Oct 2010 22:25:30 +0000 (15:25 -0700)
* install complains about method_slot.h, which is mentioned twice
  inside Makefile.am.
* v2: Added header to patch.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/libsigc++-1.2/files/fix-install.patch [new file with mode: 0644]
recipes/libsigc++-1.2/libsigc++-1.2_1.2.5.bb
recipes/libsigc++-1.2/libsigc++-1.2_1.2.7.bb

diff --git a/recipes/libsigc++-1.2/files/fix-install.patch b/recipes/libsigc++-1.2/files/fix-install.patch
new file mode 100644 (file)
index 0000000..1cdfedb
--- /dev/null
@@ -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)
index 2c32f14..6b347e5 100644 (file)
@@ -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}"
 
index c68105b..179d5a6 100644 (file)
@@ -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}"