From 69bde32a9397cfb9bc224611ccf5cff6ccb3ffef Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Tue, 9 Jan 2007 21:11:38 +0000 Subject: usrp_0.12.bb : Fix compile.h header file problem. Add hack so it links on EFIKA/powerpc. --- packages/usrp/files/fix_compile_h.patch | 13 +++++++++++++ packages/usrp/usrp_0.12.bb | 5 ++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 packages/usrp/files/fix_compile_h.patch (limited to 'packages') 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 // libusb header + #include ++#ifdef HAVE_LINUX_COMPILER_H + #include ++#endif + #include // interface to kernel portion of user mode usb driver + #include + 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}" -- cgit v1.2.3