diff options
| author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-01-11 05:01:57 +0000 |
|---|---|---|
| committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-01-11 05:01:57 +0000 |
| commit | 63b28eccf03090e6ffbc22b43b7e2980bcaa6ac0 (patch) | |
| tree | 9c782475d9fb0272145ff339f3d2e22a0a9a06f7 /packages/usrp | |
| parent | a5bfba15d1d4bfb1f2691d1d8fa47a6511dcccf7 (diff) | |
| parent | 3a5d5af1f6f0b43bc46535d82f5dcffc06ec19c6 (diff) | |
merge of '242e744e01fe3fbbbae94031b14a816bec5caeae'
and 'cec9dea27c828bc6ef75f6e0fe0254ada1f011cb'
Diffstat (limited to 'packages/usrp')
| -rw-r--r-- | packages/usrp/files/fix_compile_h.patch | 13 | ||||
| -rw-r--r-- | packages/usrp/usrp_0.12.bb | 5 |
2 files changed, 17 insertions, 1 deletions
diff --git a/packages/usrp/files/fix_compile_h.patch b/packages/usrp/files/fix_compile_h.patch new file mode 100644 index 0000000000..02ba7e44a0 --- /dev/null +++ b/packages/usrp/files/fix_compile_h.patch @@ -0,0 +1,13 @@ +Index: gnuradio/trunk/usrp/host/lib/fusb_linux.cc +=================================================================== +--- gnuradio/trunk/usrp/host/lib/fusb_linux.cc (revision 3534) ++++ gnuradio/trunk/usrp/host/lib/fusb_linux.cc (revision 3886) +@@ -28,5 +28,7 @@ + #include <usb.h> // libusb header + #include <stdexcept> ++#ifdef HAVE_LINUX_COMPILER_H + #include <linux/compiler.h> ++#endif + #include <linux/usbdevice_fs.h> // interface to kernel portion of user mode usb driver + #include <sys/ioctl.h> + diff --git a/packages/usrp/usrp_0.12.bb b/packages/usrp/usrp_0.12.bb index 5fc6969f8c..ade37baf60 100644 --- a/packages/usrp/usrp_0.12.bb +++ b/packages/usrp/usrp_0.12.bb @@ -7,13 +7,16 @@ RDEPENDS = "python-core" PR = "r0" SRC_URI = "ftp://ftp.gnu.org/gnu/gnuradio/usrp-${PV}.tar.gz \ - file://usb11.patch;patch=1" \ + file://usb11.patch;patch=1 \ + file://fix_compile_h.patch;patch=1;pnum=3 \ file://install_test.patch;patch=1" S = "${WORKDIR}/usrp-${PV}" inherit autotools pkgconfig +CXXFLAGS_powerpc += "-lstdc++" + export BUILD_SYS := "${BUILD_SYS}" export HOST_SYS := "${HOST_SYS}" |
