diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-14 22:31:15 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-14 22:31:15 +0000 |
commit | 04f6ecb3e67c93379c229d35ace8bce00ceeb092 (patch) | |
tree | 6d7be2a7e59024a3f76cda2b1059a6e3e0c24c36 /meta/packages/libusb | |
parent | 8bf48dff561742942b2c5f1babb0e05dadd23eda (diff) | |
download | poky-04f6ecb3e67c93379c229d35ace8bce00ceeb092.tar.gz |
libusb: Add patch to fix issues with libtool 2.2.2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4261 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libusb')
-rw-r--r-- | meta/packages/libusb/libusb/configure_fix.patch | 17 | ||||
-rw-r--r-- | meta/packages/libusb/libusb_0.1.12.bb | 7 |
2 files changed, 22 insertions, 2 deletions
diff --git a/meta/packages/libusb/libusb/configure_fix.patch b/meta/packages/libusb/libusb/configure_fix.patch new file mode 100644 index 0000000000..78d3cdb10e --- /dev/null +++ b/meta/packages/libusb/libusb/configure_fix.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | For some reason libtool 2.2.2 can't cope with this, LT_LANG(C++) works though. | ||
2 | |||
3 | RP - 14/4/08 | ||
4 | |||
5 | Index: libusb-0.1.12/configure.in | ||
6 | =================================================================== | ||
7 | --- libusb-0.1.12.orig/configure.in 2008-04-14 22:08:26.000000000 +0100 | ||
8 | +++ libusb-0.1.12/configure.in 2008-04-14 22:09:43.000000000 +0100 | ||
9 | @@ -149,7 +149,7 @@ | ||
10 | fi | ||
11 | |||
12 | # Checks for programs. | ||
13 | -AC_LANG_CPLUSPLUS | ||
14 | +LT_LANG(C++) | ||
15 | AC_PROG_CC | ||
16 | AM_PROG_CC_C_O | ||
17 | AC_PROG_INSTALL | ||
diff --git a/meta/packages/libusb/libusb_0.1.12.bb b/meta/packages/libusb/libusb_0.1.12.bb index 43c6ea92bd..7b5806f658 100644 --- a/meta/packages/libusb/libusb_0.1.12.bb +++ b/meta/packages/libusb/libusb_0.1.12.bb | |||
@@ -3,9 +3,12 @@ access to USB devices." | |||
3 | HOMEPAGE = "http://libusb.sf.net" | 3 | HOMEPAGE = "http://libusb.sf.net" |
4 | SECTION = "libs" | 4 | SECTION = "libs" |
5 | LICENSE = "LGPL" | 5 | LICENSE = "LGPL" |
6 | PR = "r1" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz" | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ |
9 | file://configure_fix.patch;patch=1" | ||
10 | |||
11 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libusb" | ||
9 | 12 | ||
10 | S = "${WORKDIR}/libusb-${PV}" | 13 | S = "${WORKDIR}/libusb-${PV}" |
11 | 14 | ||