Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] gnuradio: stat.h is need for mode_t
@ 2015-08-28 14:47 Gwenhael Goavec-Merou
  2015-08-28 15:09 ` Vicente Olivert Riera
  2015-08-28 17:31 ` Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Gwenhael Goavec-Merou @ 2015-08-28 14:47 UTC (permalink / raw)
  To: buildroot

From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>

fix :
http://autobuild.buildroot.net/results/8e3/8e3afd5f22312f0660f631fdb82bbb64eda913fb/build-end.log

error: 'mode_t' has not been declared

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
---
 package/gnuradio/0002-stat_t-is-need-for-mode_t.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 package/gnuradio/0002-stat_t-is-need-for-mode_t.patch

diff --git a/package/gnuradio/0002-stat_t-is-need-for-mode_t.patch b/package/gnuradio/0002-stat_t-is-need-for-mode_t.patch
new file mode 100644
index 0000000..391a12f
--- /dev/null
+++ b/package/gnuradio/0002-stat_t-is-need-for-mode_t.patch
@@ -0,0 +1,13 @@
+Index: gnuradio-3.7.5/gnuradio-runtime/include/gnuradio/logger.h.in
+===================================================================
+--- gnuradio-3.7.5.orig/gnuradio-runtime/include/gnuradio/logger.h.in
++++ gnuradio-3.7.5/gnuradio-runtime/include/gnuradio/logger.h.in
+@@ -44,6 +44,8 @@
+ 
+ #ifdef _MSC_VER
+ typedef unsigned short mode_t;
++#else
++#include <sys/stat.h>
+ #endif
+ 
+ #include <gnuradio/api.h>
-- 
2.4.6

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-29 13:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 14:47 [Buildroot] [PATCH 1/1] gnuradio: stat.h is need for mode_t Gwenhael Goavec-Merou
2015-08-28 15:09 ` Vicente Olivert Riera
2015-08-28 15:27   ` gwenhael.goavec
2015-08-28 17:31 ` Thomas Petazzoni
2015-08-29 13:52   ` gwenhael.goavec
2015-08-29 13:53     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox