[gnuradio] Added uhd-fft-err patch
Jaroslav Škarvada
jskarvad at fedoraproject.org
Mon Sep 2 09:01:33 UTC 2013
commit 96ba683225c49244b5fc7af98c7081e82acbc864
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Mon Sep 2 11:01:08 2013 +0200
Added uhd-fft-err patch
gnuradio-3.6.5-uhd-fft-err.patch | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gnuradio-3.6.5-uhd-fft-err.patch b/gnuradio-3.6.5-uhd-fft-err.patch
new file mode 100644
index 0000000..18164a4
--- /dev/null
+++ b/gnuradio-3.6.5-uhd-fft-err.patch
@@ -0,0 +1,18 @@
+--- a/gr-uhd/apps/uhd_fft 2013-06-24 13:37:11.000000000 +0200
++++ b/gr-uhd/apps/uhd_fft 2013-09-02 10:13:17.039408121 +0200
+@@ -334,8 +334,13 @@
+
+
+ def main ():
+- app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)
+- app.MainLoop()
++ try:
++ app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)
++ app.MainLoop()
++
++ except RuntimeError, e:
++ print e
++ sys.exit(1)
+
+ if __name__ == '__main__':
+ main ()
More information about the scm-commits
mailing list