Author: mmahut Update of /cvs/pkgs/rpms/gnuradio/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16053 Modified Files: sources Added Files: gnuradio-3.1.1-gcc34.patch gnuradio.spec Log Message: Initial import of gnuradio for Fedora 8 gnuradio-3.1.1-gcc34.patch: --- NEW FILE gnuradio-3.1.1-gcc34.patch --- diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/gr_fft_filter_ccc.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/gr_fft_filter_ccc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/gr_fft_filter_ccc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/gr_fft_filter_ccc.cc 2008-03-03 09:52:10.000000000 +0100 @@ -38,6 +38,7 @@ #include <gr_firdes.h> #include <iostream> +#include <string.h> gr_fft_filter_ccc_sptr gr_make_fft_filter_ccc (int decimation, const std::vector<gr_complex> &taps) { diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/gr_fft_filter_fff.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/gr_fft_filter_fff.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/gr_fft_filter_fff.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/gr_fft_filter_fff.cc 2008-03-03 09:52:10.000000000 +0100 @@ -33,6 +33,7 @@ #include <gr_firdes.h> #include <iostream> +#include <string.h> gr_fft_filter_fff_sptr gr_make_fft_filter_fff (int decimation, const std::vector<float> &taps) { diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc 2008-03-03 09:23:08.000000000 +0100 @@ -47,6 +47,7 @@ #include <cppunit/TestAssert.h> #include <random.h> #include <malloc16.h> +#include <cstring> using std::vector; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_ccf.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_ccf.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_ccf.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_ccf.cc 2008-03-03 09:23:08.000000000 +0100 @@ -47,6 +47,7 @@ #include <cppunit/TestAssert.h> #include <random.h> #include <malloc16.h> +#include <cstring> using std::vector; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc 2008-03-03 09:23:08.000000000 +0100 @@ -46,6 +46,7 @@ #include <gr_types.h> #include <cppunit/TestAssert.h> #include <random.h> +#include <cstring> using std::vector; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc 2008-03-03 09:23:08.000000000 +0100 @@ -32,6 +32,7 @@ #include <cmath> #include <cppunit/TestAssert.h> #include <random.h> +#include <cstring> using std::vector; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_scc.cc gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_scc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/filter/qa_gr_fir_scc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/filter/qa_gr_fir_scc.cc 2008-03-03 09:23:08.000000000 +0100 @@ -46,6 +46,7 @@ #include <gr_types.h> #include <cppunit/TestAssert.h> #include <random.h> +#include <cstring> using std::vector; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc 2008-03-03 09:52:10.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <stdexcept> +#include <string.h> //define ALIGN_ADVANCED_IMPLEMENTATION to have an alternative implementation of the align algoritm which exactly follows the align_interval spec. //It is more resource intensive, less tested and probably not needed diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_bin_statistics_f.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_bin_statistics_f.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_bin_statistics_f.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_bin_statistics_f.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_bin_statistics_f.h> #include <gr_io_signature.h> +#include <string.h> gr_bin_statistics_f_sptr gr_make_bin_statistics_f(unsigned int vlen, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_circular_file.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_circular_file.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_circular_file.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_circular_file.cc 2008-03-03 09:52:10.000000000 +0100 @@ -39,6 +39,8 @@ #include <stdlib.h> #include <algorithm> +#include <stdio.h> +#include <string.h> static const int HEADER_SIZE = 4096; static const int HEADER_MAGIC = 0xEB021026; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_delay.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_delay.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_delay.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_delay.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_delay.h> #include <gr_io_signature.h> +#include <string.h> gr_delay_sptr gr_make_delay (size_t itemsize, int delay) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_fake_channel_coder_pp.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_fake_channel_coder_pp.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_fake_channel_coder_pp.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_fake_channel_coder_pp.cc 2008-03-03 09:52:39.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_io_signature.h> #include <string.h> #include <stdexcept> +#include <cstring> static const int PAD_VAL = 0xAA; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_fft_vcc.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_fft_vcc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_fft_vcc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_fft_vcc.cc 2008-03-03 09:52:10.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_io_signature.h> #include <gri_fft.h> #include <math.h> +#include <string.h> gr_fft_vcc_sptr gr_make_fft_vcc (int fft_size, bool forward,const std::vector<float> window, bool shift) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_fft_vfc.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_fft_vfc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_fft_vfc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_fft_vfc.cc 2008-03-03 09:52:10.000000000 +0100 @@ -29,6 +29,7 @@ #include <gri_fft.h> #include <math.h> #include <stdexcept> +#include <string.h> // FIXME after this is working, change to use native real to complex fft. diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_framer_sink_1.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_framer_sink_1.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_framer_sink_1.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_framer_sink_1.cc 2008-03-03 09:52:10.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_io_signature.h> #include <cstdio> #include <stdexcept> +#include <string.h> #define VERBOSE 0 diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_head.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_head.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_head.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_head.cc 2008-03-03 09:52:10.000000000 +0100 @@ -25,6 +25,7 @@ #endif #include <gr_head.h> #include <gr_io_signature.h> +#include <string.h> gr_head::gr_head (size_t sizeof_stream_item, int nitems) : gr_sync_block ("head", diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gri_fft.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gri_fft.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gri_fft.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gri_fft.cc 2008-03-03 09:04:49.000000000 +0100 @@ -28,6 +28,7 @@ #include <stdio.h> #include <cassert> #include <stdexcept> +#include <stdio.h> static char * wisdom_filename () diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_keep_one_in_n.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_keep_one_in_n.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_keep_one_in_n.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_keep_one_in_n.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_keep_one_in_n.h> #include <gr_io_signature.h> +#include <string.h> gr_keep_one_in_n_sptr gr_make_keep_one_in_n (size_t item_size, int n) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_log2_const.h gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_log2_const.h --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_log2_const.h 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_log2_const.h 2008-03-04 07:47:31.000000000 +0100 @@ -31,16 +31,16 @@ template<unsigned int k> static inline int gr_log2_const() { assert(0); return 0; } -template<> static inline int gr_log2_const<1>() { return 0; } -template<> static inline int gr_log2_const<2>() { return 1; } -template<> static inline int gr_log2_const<4>() { return 2; } -template<> static inline int gr_log2_const<8>() { return 3; } -template<> static inline int gr_log2_const<16>() { return 4; } -template<> static inline int gr_log2_const<32>() { return 5; } -template<> static inline int gr_log2_const<64>() { return 6; } -template<> static inline int gr_log2_const<128>() { return 7; } -template<> static inline int gr_log2_const<256>() { return 8; } -template<> static inline int gr_log2_const<512>() { return 9; } -template<> static inline int gr_log2_const<1024>(){ return 10; } +template<> inline int gr_log2_const<1>() { return 0; } +template<> inline int gr_log2_const<2>() { return 1; } +template<> inline int gr_log2_const<4>() { return 2; } +template<> inline int gr_log2_const<8>() { return 3; } +template<> inline int gr_log2_const<16>() { return 4; } +template<> inline int gr_log2_const<32>() { return 5; } +template<> inline int gr_log2_const<64>() { return 6; } +template<> inline int gr_log2_const<128>() { return 7; } +template<> inline int gr_log2_const<256>() { return 8; } +template<> inline int gr_log2_const<512>() { return 9; } +template<> inline int gr_log2_const<1024>(){ return 10; } #endif /* INCLUDED_GR_LOG2_CONST_H */ diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_null_source.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_null_source.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_null_source.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_null_source.cc 2008-03-03 09:23:08.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_null_source.h> #include <gr_io_signature.h> +#include <cstring> gr_null_source::gr_null_source (size_t sizeof_stream_item) : gr_sync_block ("null_source", diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_packet_sink.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_packet_sink.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_packet_sink.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_packet_sink.cc 2008-03-03 09:52:10.000000000 +0100 @@ -33,6 +33,7 @@ #include <fcntl.h> #include <stdexcept> #include <gr_count_bits.h> +#include <string.h> #define VERBOSE 0 diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_simple_correlator.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_simple_correlator.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_simple_correlator.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_simple_correlator.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <assert.h> #include <stdexcept> #include <gr_count_bits.h> +#include <string.h> static const int THRESHOLD = 3; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_simple_framer.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_simple_framer.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_simple_framer.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_simple_framer.cc 2008-03-03 09:52:10.000000000 +0100 @@ -29,6 +29,8 @@ #include <gr_io_signature.h> #include <assert.h> #include <stdexcept> +#include <cstring> +#include <string.h> gr_simple_framer_sptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_skiphead.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_skiphead.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_skiphead.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_skiphead.cc 2008-03-03 09:52:10.000000000 +0100 @@ -25,6 +25,7 @@ #endif #include <gr_skiphead.h> #include <gr_io_signature.h> +#include <string.h> gr_skiphead::gr_skiphead (size_t itemsize, size_t nitems_to_skip) : gr_block ("skiphead", diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_stream_mux.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_stream_mux.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_stream_mux.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_stream_mux.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_stream_mux.h> #include <gr_io_signature.h> +#include <string.h> #define VERBOSE 0 diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_streams_to_stream.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_streams_to_stream.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_streams_to_stream.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_streams_to_stream.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_streams_to_stream.h> #include <gr_io_signature.h> +#include <string.h> gr_streams_to_stream_sptr gr_make_streams_to_stream (size_t item_size, size_t nstreams) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_streams_to_vector.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_streams_to_vector.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_streams_to_vector.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_streams_to_vector.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_streams_to_vector.h> #include <gr_io_signature.h> +#include <string.h> gr_streams_to_vector_sptr gr_make_streams_to_vector (size_t item_size, size_t nstreams) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_stream_to_streams.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_stream_to_streams.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_stream_to_streams.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_stream_to_streams.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_stream_to_streams.h> #include <gr_io_signature.h> +#include <string.h> gr_stream_to_streams_sptr gr_make_stream_to_streams (size_t item_size, size_t nstreams) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_stream_to_vector.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_stream_to_vector.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_stream_to_vector.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_stream_to_vector.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_stream_to_vector.h> #include <gr_io_signature.h> +#include <string.h> gr_stream_to_vector_sptr gr_make_stream_to_vector (size_t item_size, size_t nitems_per_block) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_test.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_test.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_test.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_test.cc 2008-03-03 09:52:10.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_io_signature.h> #include <stdexcept> #include <iostream> +#include <string.h> gr_test_sptr gr_make_test (const std::string &name, int min_inputs, int max_inputs, unsigned int sizeof_input_item, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_throttle.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_throttle.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_throttle.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_throttle.cc 2008-03-03 09:53:15.000000000 +0100 @@ -29,6 +29,7 @@ #include <errno.h> #include <stdio.h> #include <math.h> +#include <string.h> #ifdef HAVE_TIME_H #include <time.h> #endif diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_vector_to_stream.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_vector_to_stream.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_vector_to_stream.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_vector_to_stream.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_vector_to_stream.h> #include <gr_io_signature.h> +#include <string.h> gr_vector_to_stream_sptr gr_make_vector_to_stream (size_t item_size, size_t nitems_per_block) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_vector_to_streams.cc gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_vector_to_streams.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/gr_vector_to_streams.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/gr_vector_to_streams.cc 2008-03-03 09:52:10.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_vector_to_streams.h> #include <gr_io_signature.h> +#include <string.h> gr_vector_to_streams_sptr gr_make_vector_to_streams (size_t item_size, size_t nstreams) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/malloc16.c gnuradio-3.1.1/gnuradio-core/src/lib/general/malloc16.c --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/general/malloc16.c 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/general/malloc16.c 2008-03-03 10:20:18.000000000 +0100 @@ -7,6 +7,7 @@ #include "malloc16.h" #include <string.h> +#include <strings.h> void *malloc16Align(int size){ void *p; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bc.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bc.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> gr_chunks_to_symbols_bc_sptr gr_make_chunks_to_symbols_bc (const std::vector<gr_complex> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bf.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bf.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bf.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_bf.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> gr_chunks_to_symbols_bf_sptr gr_make_chunks_to_symbols_bf (const std::vector<float> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_ic.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_ic.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_ic.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_ic.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> gr_chunks_to_symbols_ic_sptr gr_make_chunks_to_symbols_ic (const std::vector<gr_complex> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_if.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_if.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_if.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_if.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> gr_chunks_to_symbols_if_sptr gr_make_chunks_to_symbols_if (const std::vector<float> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sc.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sc.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> gr_chunks_to_symbols_sc_sptr gr_make_chunks_to_symbols_sc (const std::vector<gr_complex> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sf.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sf.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sf.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_sf.cc 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> gr_chunks_to_symbols_sf_sptr gr_make_chunks_to_symbols_sf (const std::vector<float> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_XX.cc.t gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_XX.cc.t --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_XX.cc.t 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_XX.cc.t 2008-03-03 09:52:10.000000000 +0100 @@ -30,6 +30,7 @@ #include <gr_io_signature.h> #include <assert.h> #include <iostream> +#include <string.h> @SPTR_NAME@ gr_make_@BASE_NAME@ (const std::vector<@O_TYPE@> &symbol_table, const int D) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_cc.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_cc.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_cc.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_cc.cc 2008-03-03 09:23:08.000000000 +0100 @@ -29,6 +29,7 @@ #include <gr_mute_cc.h> #include <gr_io_signature.h> #include <string.h> +#include <cstring> gr_mute_cc_sptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_ff.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_ff.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_ff.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_ff.cc 2008-03-03 09:23:08.000000000 +0100 @@ -29,6 +29,7 @@ #include <gr_mute_ff.h> #include <gr_io_signature.h> #include <string.h> +#include <cstring> gr_mute_ff_sptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_ii.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_ii.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_ii.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_ii.cc 2008-03-03 09:23:08.000000000 +0100 @@ -29,6 +29,7 @@ #include <gr_mute_ii.h> #include <gr_io_signature.h> #include <string.h> +#include <cstring> gr_mute_ii_sptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_ss.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_ss.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_ss.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_ss.cc 2008-03-03 09:23:08.000000000 +0100 @@ -29,6 +29,7 @@ #include <gr_mute_ss.h> #include <gr_io_signature.h> #include <string.h> +#include <cstring> gr_mute_ss_sptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_XX.cc.t gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_XX.cc.t --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_mute_XX.cc.t 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_mute_XX.cc.t 2008-03-03 09:23:08.000000000 +0100 @@ -29,6 +29,7 @@ #include <@NAME@.h> #include <gr_io_signature.h> #include <string.h> +#include <cstring> @SPTR_NAME@ diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_fb.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_fb.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_fb.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_fb.cc 2008-03-03 09:23:08.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_peak_detector_fb.h> #include <gr_io_signature.h> +#include <cstring> gr_peak_detector_fb_sptr gr_make_peak_detector_fb (float threshold_factor_rise, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_ib.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_ib.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_ib.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_ib.cc 2008-03-03 09:23:08.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_peak_detector_ib.h> #include <gr_io_signature.h> +#include <cstring> gr_peak_detector_ib_sptr gr_make_peak_detector_ib (float threshold_factor_rise, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_sb.cc gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_sb.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_sb.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_sb.cc 2008-03-03 09:23:08.000000000 +0100 @@ -28,6 +28,7 @@ #include <gr_peak_detector_sb.h> #include <gr_io_signature.h> +#include <cstring> gr_peak_detector_sb_sptr gr_make_peak_detector_sb (float threshold_factor_rise, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_XX.cc.t gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_XX.cc.t --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/gengen/gr_peak_detector_XX.cc.t 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/gengen/gr_peak_detector_XX.cc.t 2008-03-03 09:23:08.000000000 +0100 @@ -28,6 +28,7 @@ #include <@NAME@.h> #include <gr_io_signature.h> +#include <cstring> @SPTR_NAME@ gr_make_@BASE_NAME@ (float threshold_factor_rise, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc 2008-03-03 09:05:18.000000000 +0100 @@ -32,6 +32,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> +#include <stdio.h> gr_file_descriptor_sink::gr_file_descriptor_sink (size_t itemsize, int fd) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_descriptor_source.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_descriptor_source.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_descriptor_source.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_descriptor_source.cc 2008-03-03 09:52:11.000000000 +0100 @@ -32,6 +32,8 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> +#include <stdio.h> +#include <string.h> gr_file_descriptor_source::gr_file_descriptor_source (size_t itemsize, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_sink_base.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_sink_base.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_sink_base.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_sink_base.cc 2008-03-03 09:05:28.000000000 +0100 @@ -30,6 +30,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> +#include <stdio.h> // win32 (mingw/msvc) specific #ifdef HAVE_IO_H diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_source.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_source.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_file_source.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_file_source.cc 2008-03-03 09:05:34.000000000 +0100 @@ -31,6 +31,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> +#include <stdio.h> // win32 (mingw/msvc) specific #ifdef HAVE_IO_H diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gri_logger.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gri_logger.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gri_logger.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gri_logger.cc 2008-03-03 09:52:11.000000000 +0100 @@ -29,6 +29,7 @@ #include <stdarg.h> #include <stdexcept> #include <boost/weak_ptr.hpp> +#include <string.h> /* diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_message_sink.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_message_sink.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_message_sink.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_message_sink.cc 2008-03-03 09:52:11.000000000 +0100 @@ -32,6 +32,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> +#include <string.h> // public constructor that returns a shared_ptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_message_source.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_message_source.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_message_source.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_message_source.cc 2008-03-03 09:52:11.000000000 +0100 @@ -32,6 +32,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> +#include <string.h> // public constructor that returns a shared_ptr diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_udp_sink.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_udp_sink.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_udp_sink.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_udp_sink.cc 2008-03-03 09:04:49.000000000 +0100 @@ -24,6 +24,7 @@ #include <gr_io_signature.h> #include <stdexcept> #include <netdb.h> +#include <stdio.h> #define SNK_VERBOSE 0 diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_udp_source.cc gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_udp_source.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/io/gr_udp_source.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/io/gr_udp_source.cc 2008-03-03 09:52:11.000000000 +0100 @@ -25,6 +25,8 @@ #include <stdexcept> #include <errno.h> #include <netdb.h> +#include <stdio.h> +#include <string.h> #define SRC_VERBOSE 0 diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/missing/getopt.c gnuradio-3.1.1/gnuradio-core/src/lib/missing/getopt.c --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/missing/getopt.c 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/missing/getopt.c 2008-03-03 09:52:11.000000000 +0100 @@ -52,6 +52,7 @@ #endif #include <stdio.h> +#include <string.h> /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C @@ -179,6 +180,7 @@ On some systems, it contains special magic macros that don't work in GCC. */ #include <string.h> +#include <string.h> #define my_index strchr #define my_bcopy(src, dst, n) memcpy ((dst), (src), (n)) #else diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/reed-solomon/decode_rs.c gnuradio-3.1.1/gnuradio-core/src/lib/reed-solomon/decode_rs.c --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/reed-solomon/decode_rs.c 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/reed-solomon/decode_rs.c 2008-03-03 10:22:34.000000000 +0100 @@ -8,6 +8,7 @@ #endif #include <string.h> +#include <strings.h> #define NULL ((void *)0) #define min(a,b) ((a) < (b) ? (a) : (b)) diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/reed-solomon/encode_rs.c gnuradio-3.1.1/gnuradio-core/src/lib/reed-solomon/encode_rs.c --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/reed-solomon/encode_rs.c 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/reed-solomon/encode_rs.c 2008-03-03 10:22:34.000000000 +0100 @@ -3,6 +3,7 @@ * May be used under the terms of the GNU General Public License (GPL) */ #include <string.h> +#include <strings.h> #ifdef FIXED #include "fixed.h" diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/reed-solomon/exercise.c gnuradio-3.1.1/gnuradio-core/src/lib/reed-solomon/exercise.c --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/reed-solomon/exercise.c 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/reed-solomon/exercise.c 2008-03-03 10:22:34.000000000 +0100 @@ -13,6 +13,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #ifdef FIXED #include "fixed.h" diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_dispatcher.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_dispatcher.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_dispatcher.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_dispatcher.cc 2008-03-03 09:05:53.000000000 +0100 @@ -27,6 +27,7 @@ #include <gr_dispatcher.h> #include <math.h> #include <errno.h> +#include <stdio.h> #ifdef HAVE_SELECT # ifdef HAVE_SYS_SELECT_H diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_error_handler.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_error_handler.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_error_handler.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_error_handler.cc 2008-03-03 09:06:11.000000000 +0100 @@ -48,6 +48,7 @@ #include <assert.h> #include <stdexcept> #include <unistd.h> +#include <stdio.h> #ifdef HAVE_IO_H #include <io.h> diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_local_sighandler.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_local_sighandler.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_local_sighandler.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_local_sighandler.cc 2008-03-03 09:23:08.000000000 +0100 @@ -27,6 +27,7 @@ #include <gr_local_sighandler.h> #include <stdexcept> #include <stdio.h> +#include <cstring> gr_local_sighandler::gr_local_sighandler (int signum, diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_message.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_message.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_message.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_message.cc 2008-03-03 09:52:11.000000000 +0100 @@ -25,6 +25,8 @@ #endif #include <gr_message.h> #include <assert.h> +#include <cstring> +#include <string.h> static long s_ncurrently_allocated = 0; diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_preferences.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_preferences.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_preferences.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_preferences.cc 2008-03-03 09:23:08.000000000 +0100 @@ -31,6 +31,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <cstring> #ifdef MKDIR_TAKES_ONE_ARG diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_realtime.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_realtime.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_realtime.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_realtime.cc 2008-03-03 09:23:08.000000000 +0100 @@ -30,6 +30,7 @@ #endif #include <string.h> +#include <cstring> #include <errno.h> #include <stdio.h> @@ -61,6 +62,7 @@ #elif defined(HAVE_PTHREAD_SETSCHEDPARAM) #include <pthread.h> +#include <stdio.h> gr_rt_status_t gr_enable_realtime_scheduling() diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_scheduler_thread.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_scheduler_thread.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_scheduler_thread.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_scheduler_thread.cc 2008-03-03 09:06:30.000000000 +0100 @@ -26,6 +26,7 @@ #include <gr_scheduler_thread.h> #include <iostream> +#include <stdio.h> #ifdef HAVE_SIGNAL_H #include <signal.h> diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc 2008-03-03 09:41:10.000000000 +0100 @@ -28,6 +28,7 @@ #include <stdexcept> #include <gr_preferences.h> #include <stdio.h> +#include <string.h> #include <gr_local_sighandler.h> // all the factories we know about diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_vmcircbuf_mmap_tmpfile.cc gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_vmcircbuf_mmap_tmpfile.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/lib/runtime/gr_vmcircbuf_mmap_tmpfile.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/lib/runtime/gr_vmcircbuf_mmap_tmpfile.cc 2008-03-03 09:06:40.000000000 +0100 @@ -41,7 +41,6 @@ #include <gr_pagesize.h> #include <gr_tmp_path.h> - gr_vmcircbuf_mmap_tmpfile::gr_vmcircbuf_mmap_tmpfile (int size) : gr_vmcircbuf (size) { diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/tests/benchmark_nco.cc gnuradio-3.1.1/gnuradio-core/src/tests/benchmark_nco.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/tests/benchmark_nco.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/tests/benchmark_nco.cc 2008-03-03 09:23:08.000000000 +0100 @@ -30,6 +30,7 @@ #include <unistd.h> #include <gr_nco.h> #include <gr_fxpt_nco.h> +#include <cstring> #define ITERATIONS 20000000 #define BLOCK_SIZE (10 * 1000) // fits in cache diff -Naur gnuradio-3.1.1-upstream/gnuradio-core/src/tests/benchmark_vco.cc gnuradio-3.1.1/gnuradio-core/src/tests/benchmark_vco.cc --- gnuradio-3.1.1-upstream/gnuradio-core/src/tests/benchmark_vco.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gnuradio-core/src/tests/benchmark_vco.cc 2008-03-03 09:23:08.000000000 +0100 @@ -30,6 +30,7 @@ #include <unistd.h> #include <gr_vco.h> #include <gr_fxpt_vco.h> +#include <cstring> #define ITERATIONS 5000000 #define BLOCK_SIZE (10 * 1000) // fits in cache diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsc_bit_timing_loop.cc gnuradio-3.1.1/gr-atsc/src/lib/atsc_bit_timing_loop.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsc_bit_timing_loop.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsc_bit_timing_loop.cc 2008-03-03 09:23:08.000000000 +0100 @@ -27,6 +27,7 @@ #include <atsc_bit_timing_loop.h> #include <gr_io_signature.h> #include <atsc_consts.h> +#include <cstring> // Input rate changed from 20MHz to 19.2 to support usrp at 3 * 6.4MHz float input_rate = 19.2e6; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_fs_checker_naive.cc gnuradio-3.1.1/gr-atsc/src/lib/atsci_fs_checker_naive.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_fs_checker_naive.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_fs_checker_naive.cc 2008-03-03 09:23:08.000000000 +0100 @@ -25,6 +25,7 @@ #include <atsci_pnXXX.h> #include <iostream> #include <cstring> +#include <cstring> using std::cerr; using std::endl; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_fs_correlator_naive.cc gnuradio-3.1.1/gr-atsc/src/lib/atsci_fs_correlator_naive.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_fs_correlator_naive.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_fs_correlator_naive.cc 2008-03-03 09:23:08.000000000 +0100 @@ -25,6 +25,7 @@ #include <atsci_pnXXX.h> #include <iostream> #include <cstring> +#include <cstring> using std::cerr; using std::endl; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_reed_solomon.cc gnuradio-3.1.1/gr-atsc/src/lib/atsci_reed_solomon.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_reed_solomon.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_reed_solomon.cc 2008-03-03 09:55:00.000000000 +0100 @@ -22,6 +22,8 @@ #include <atsci_reed_solomon.h> #include <assert.h> +#include <cstring> +#include <string.h> extern "C" { #include "rs.h" diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_sliding_correlator.h gnuradio-3.1.1/gr-atsc/src/lib/atsci_sliding_correlator.h --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_sliding_correlator.h 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_sliding_correlator.h 2008-03-04 09:13:50.000000000 +0100 @@ -19,11 +19,12 @@ * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ +#include <string> +#include <string.h> + #ifndef _ATSC_SLIDING_CORRELATOR_H_ #define _ATSC_SLIDING_CORRELATOR_H_ -#include <string> - extern const unsigned char atsc_pn511[511]; extern const unsigned char atsc_pn63[63]; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_sssr.cc gnuradio-3.1.1/gr-atsc/src/lib/atsci_sssr.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_sssr.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_sssr.cc 2008-03-03 09:07:49.000000000 +0100 @@ -27,6 +27,7 @@ #include <assert.h> #include <atsci_diag_output.h> #include <gr_math.h> +#include <stdio.h> /* * ---------------------------------------------------------------- diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_trellis_encoder.cc gnuradio-3.1.1/gr-atsc/src/lib/atsci_trellis_encoder.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_trellis_encoder.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_trellis_encoder.cc 2008-03-03 09:52:11.000000000 +0100 @@ -23,6 +23,8 @@ #include <atsci_trellis_encoder.h> #include <assert.h> #include <stdio.h> +#include <cstring> +#include <string.h> static const int DIBITS_PER_BYTE = 4; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_viterbi_decoder.cc gnuradio-3.1.1/gr-atsc/src/lib/atsci_viterbi_decoder.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsci_viterbi_decoder.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsci_viterbi_decoder.cc 2008-03-03 09:52:11.000000000 +0100 @@ -25,6 +25,8 @@ #include <stdio.h> #include <cmath> #include "atsci_viterbi_mux.cc" +#include <cstring> +#include <string.h> /* How many separate Trellis encoders / Viterbi decoders run in parallel */ diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsc_types.h gnuradio-3.1.1/gr-atsc/src/lib/atsc_types.h --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/atsc_types.h 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/atsc_types.h 2008-03-04 07:52:52.000000000 +0100 @@ -24,6 +24,7 @@ #define _ATSC_TYPES_H_ #include <atsc_consts.h> +#include <string.h> #include <cstring> #include <cassert> diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/interleaver_fifo.h gnuradio-3.1.1/gr-atsc/src/lib/interleaver_fifo.h --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/interleaver_fifo.h 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/interleaver_fifo.h 2008-03-03 10:22:34.000000000 +0100 @@ -26,6 +26,7 @@ #include <interleaver_fifo.h> #include <string.h> +#include <strings.h> /*! * \brief template class for interleaver fifo diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_data_interleaver.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_data_interleaver.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_data_interleaver.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_data_interleaver.cc 2008-03-03 09:23:08.000000000 +0100 @@ -22,6 +22,7 @@ #include <cppunit/TestAssert.h> #include <qa_atsci_data_interleaver.h> +#include <cstring> /*! diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc 2008-03-03 09:23:08.000000000 +0100 @@ -28,6 +28,7 @@ #include <cppunit/TestAssert.h> #include <assert.h> #include <iostream> +#include <cstring> using std::cerr; using std::endl; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc 2008-03-04 15:03:37.000000000 +0100 @@ -29,6 +29,8 @@ #include <atsci_fake_single_viterbi.h> #include <qa_atsci_fake_single_viterbi.h> #include <random.h> +#include <cstring> +#include <string.h> static const int NTRIALS = 50; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_randomizer.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_randomizer.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_randomizer.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_randomizer.cc 2008-03-03 09:23:08.000000000 +0100 @@ -23,6 +23,7 @@ #include <qa_atsci_randomizer.h> #include <cppunit/TestAssert.h> +#include <cstring> static unsigned int expected_initial_states[] = { 0x018f, diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_reed_solomon.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_reed_solomon.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_reed_solomon.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_reed_solomon.cc 2008-03-03 09:23:08.000000000 +0100 @@ -29,6 +29,7 @@ #include <stdio.h> #include <atsci_reed_solomon.h> #include <qa_atsci_reed_solomon.h> +#include <cstring> static const int NROOTS = 20; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_single_viterbi.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_single_viterbi.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_single_viterbi.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_single_viterbi.cc 2008-03-04 12:53:35.000000000 +0100 @@ -30,6 +30,8 @@ #include <atsci_single_viterbi.h> #include <qa_atsci_single_viterbi.h> #include <random.h> +#include <cstring> +#include <string.h> static const int NTRIALS = 50; diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc 2008-03-03 09:23:08.000000000 +0100 @@ -30,6 +30,7 @@ #include <string.h> #include <stdlib.h> #include <time.h> +#include <cstring> #define NELEM(x) (sizeof (x) / sizeof (x[0])) diff -Naur gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_viterbi_decoder.cc gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_viterbi_decoder.cc --- gnuradio-3.1.1-upstream/gr-atsc/src/lib/qa_atsci_viterbi_decoder.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-atsc/src/lib/qa_atsci_viterbi_decoder.cc 2008-03-03 09:23:08.000000000 +0100 @@ -31,6 +31,7 @@ #include <string.h> #include <stdlib.h> #include <time.h> +#include <cstring> #define NELEM(x) (sizeof (x) / sizeof (x[0])) diff -Naur gnuradio-3.1.1-upstream/gr-audio-portaudio/src/audio_portaudio_sink.cc gnuradio-3.1.1/gr-audio-portaudio/src/audio_portaudio_sink.cc --- gnuradio-3.1.1-upstream/gr-audio-portaudio/src/audio_portaudio_sink.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gr-audio-portaudio/src/audio_portaudio_sink.cc 2008-03-03 09:52:11.000000000 +0100 @@ -33,6 +33,8 @@ #include <stdexcept> #include <gri_portaudio.h> #include <omnithread.h> +#include <cstring> +#include <string.h> #define LOGGING 0 // define to 0 or 1 diff -Naur gnuradio-3.1.1-upstream/gr-audio-portaudio/src/audio_portaudio_source.cc gnuradio-3.1.1/gr-audio-portaudio/src/audio_portaudio_source.cc --- gnuradio-3.1.1-upstream/gr-audio-portaudio/src/audio_portaudio_source.cc 2008-03-03 08:38:24.000000000 +0100 +++ gnuradio-3.1.1/gr-audio-portaudio/src/audio_portaudio_source.cc 2008-03-03 09:52:11.000000000 +0100 @@ -33,6 +33,8 @@ #include <stdexcept> #include <gri_portaudio.h> #include <omnithread.h> +#include <cstring> +#include <string.h> #define LOGGING 0 // define to 0 or 1 diff -Naur gnuradio-3.1.1-upstream/gr-gsm-fr-vocoder/src/lib/gsm/code.c gnuradio-3.1.1/gr-gsm-fr-vocoder/src/lib/gsm/code.c --- gnuradio-3.1.1-upstream/gr-gsm-fr-vocoder/src/lib/gsm/code.c 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-gsm-fr-vocoder/src/lib/gsm/code.c 2008-03-03 09:52:11.000000000 +0100 @@ -19,6 +19,7 @@ #include "private.h" #include "gsm.h" #include "proto.h" +#include <string.h> /* * 4.2 FIXED POINT IMPLEMENTATION OF THE RPE-LTP CODER diff -Naur gnuradio-3.1.1-upstream/gr-gsm-fr-vocoder/src/lib/gsm/gsm_create.c gnuradio-3.1.1/gr-gsm-fr-vocoder/src/lib/gsm/gsm_create.c --- gnuradio-3.1.1-upstream/gr-gsm-fr-vocoder/src/lib/gsm/gsm_create.c 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-gsm-fr-vocoder/src/lib/gsm/gsm_create.c 2008-03-03 10:22:34.000000000 +0100 @@ -30,6 +30,7 @@ #include "gsm.h" #include "private.h" #include "proto.h" +#include <strings.h> gsm gsm_create P0() { diff -Naur gnuradio-3.1.1-upstream/gr-trellis/src/lib/fsm.cc gnuradio-3.1.1/gr-trellis/src/lib/fsm.cc --- gnuradio-3.1.1-upstream/gr-trellis/src/lib/fsm.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-trellis/src/lib/fsm.cc 2008-03-04 15:29:29.000000000 +0100 @@ -26,6 +26,7 @@ #include <fstream> #include <stdexcept> #include <cmath> +#include <stdlib.h> #include "base.h" #include "fsm.h" diff -Naur gnuradio-3.1.1-upstream/gr-trellis/src/lib/fsm.h gnuradio-3.1.1/gr-trellis/src/lib/fsm.h --- gnuradio-3.1.1-upstream/gr-trellis/src/lib/fsm.h 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-trellis/src/lib/fsm.h 2008-03-04 15:46:05.000000000 +0100 @@ -24,6 +24,7 @@ #define INCLUDED_TRELLIS_FSM_H #include <vector> +#include <iosfwd> /*! * \brief FSM class diff -Naur gnuradio-3.1.1-upstream/gr-trellis/src/lib/trellis_permutation.cc gnuradio-3.1.1/gr-trellis/src/lib/trellis_permutation.cc --- gnuradio-3.1.1-upstream/gr-trellis/src/lib/trellis_permutation.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-trellis/src/lib/trellis_permutation.cc 2008-03-03 09:52:11.000000000 +0100 @@ -27,6 +27,7 @@ #include <trellis_permutation.h> #include <gr_io_signature.h> #include <iostream> +#include <string.h> trellis_permutation_sptr trellis_make_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t NBYTES_INOUT) diff -Naur gnuradio-3.1.1-upstream/gr-video-sdl/src/video_sdl_sink_s.cc gnuradio-3.1.1/gr-video-sdl/src/video_sdl_sink_s.cc --- gnuradio-3.1.1-upstream/gr-video-sdl/src/video_sdl_sink_s.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-video-sdl/src/video_sdl_sink_s.cc 2008-03-03 09:23:08.000000000 +0100 @@ -35,6 +35,7 @@ #include <stdio.h> #include <iostream> #include <stdexcept> +#include <cstring> diff -Naur gnuradio-3.1.1-upstream/gr-video-sdl/src/video_sdl_sink_uc.cc gnuradio-3.1.1/gr-video-sdl/src/video_sdl_sink_uc.cc --- gnuradio-3.1.1-upstream/gr-video-sdl/src/video_sdl_sink_uc.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/gr-video-sdl/src/video_sdl_sink_uc.cc 2008-03-03 09:52:11.000000000 +0100 @@ -35,6 +35,8 @@ #include <stdio.h> #include <iostream> #include <stdexcept> +#include <cstring> +#include <string.h> diff -Naur gnuradio-3.1.1-upstream/usrp/host/apps/test_usrp_standard_rx.cc gnuradio-3.1.1/usrp/host/apps/test_usrp_standard_rx.cc --- gnuradio-3.1.1-upstream/usrp/host/apps/test_usrp_standard_rx.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/apps/test_usrp_standard_rx.cc 2008-03-03 09:23:08.000000000 +0100 @@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <cstring> #include <unistd.h> #include <usb.h> /* needed for usb functions */ #include <getopt.h> diff -Naur gnuradio-3.1.1-upstream/usrp/host/apps/test_usrp_standard_tx.cc gnuradio-3.1.1/usrp/host/apps/test_usrp_standard_tx.cc --- gnuradio-3.1.1-upstream/usrp/host/apps/test_usrp_standard_tx.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/apps/test_usrp_standard_tx.cc 2008-03-03 09:23:08.000000000 +0100 @@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <cstring> #include <unistd.h> #include <usb.h> /* needed for usb functions */ #include <getopt.h> diff -Naur gnuradio-3.1.1-upstream/usrp/host/apps/usrper.cc gnuradio-3.1.1/usrp/host/apps/usrper.cc --- gnuradio-3.1.1-upstream/usrp/host/apps/usrper.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/apps/usrper.cc 2008-03-03 09:41:17.000000000 +0100 @@ -30,6 +30,7 @@ #include "usrp_prims.h" #include "usrp_spi_defs.h" +#include <cstring> char *prog_name; diff -Naur gnuradio-3.1.1-upstream/usrp/host/lib/legacy/fusb_linux.cc gnuradio-3.1.1/usrp/host/lib/legacy/fusb_linux.cc --- gnuradio-3.1.1-upstream/usrp/host/lib/legacy/fusb_linux.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/lib/legacy/fusb_linux.cc 2008-03-04 07:53:55.000000000 +0100 @@ -36,7 +36,7 @@ #include <string.h> #include <algorithm> #include <errno.h> -#include <string.h> +#include <cstring> #define MINIMIZE_TX_BUFFERING 1 // must be defined to 0 or 1 diff -Naur gnuradio-3.1.1-upstream/usrp/host/lib/legacy/fusb_win32.cc gnuradio-3.1.1/usrp/host/lib/legacy/fusb_win32.cc --- gnuradio-3.1.1-upstream/usrp/host/lib/legacy/fusb_win32.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/lib/legacy/fusb_win32.cc 2008-03-03 09:52:11.000000000 +0100 @@ -28,6 +28,7 @@ #include <usb.h> #include <assert.h> #include <stdexcept> +#include <string.h> static const int MAX_BLOCK_SIZE = fusb_sysconfig::max_block_size(); static const int DEFAULT_BLOCK_SIZE = MAX_BLOCK_SIZE; diff -Naur gnuradio-3.1.1-upstream/usrp/host/lib/legacy/usrp_basic.cc gnuradio-3.1.1/usrp/host/lib/legacy/usrp_basic.cc --- gnuradio-3.1.1-upstream/usrp/host/lib/legacy/usrp_basic.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/lib/legacy/usrp_basic.cc 2008-03-03 09:23:08.000000000 +0100 @@ -34,6 +34,7 @@ #include <assert.h> #include <math.h> #include <ad9862.h> +#include <cstring> using namespace ad9862; diff -Naur gnuradio-3.1.1-upstream/usrp/host/lib/legacy/usrp_local_sighandler.cc gnuradio-3.1.1/usrp/host/lib/legacy/usrp_local_sighandler.cc --- gnuradio-3.1.1-upstream/usrp/host/lib/legacy/usrp_local_sighandler.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/lib/legacy/usrp_local_sighandler.cc 2008-03-03 09:23:08.000000000 +0100 @@ -32,6 +32,7 @@ #include <usrp_local_sighandler.h> #include <stdexcept> #include <stdio.h> +#include <cstring> usrp_local_sighandler::usrp_local_sighandler (int signum, void (*new_handler)(int)) diff -Naur gnuradio-3.1.1-upstream/usrp/host/lib/legacy/usrp_prims.cc gnuradio-3.1.1/usrp/host/lib/legacy/usrp_prims.cc --- gnuradio-3.1.1-upstream/usrp/host/lib/legacy/usrp_prims.cc 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/lib/legacy/usrp_prims.cc 2008-03-04 12:53:46.000000000 +0100 @@ -36,6 +36,7 @@ #include <unistd.h> #include <stdlib.h> #include <string.h> +#include <cstring> #include <ctype.h> #include <time.h> // FIXME should check with autoconf (nanosleep) #include <algorithm> @@ -62,6 +63,7 @@ static char *default_fpga_filename = "std_2rxhb_2tx.rbf"; #include "std_paths.h" +#include <stdio.h> static char * find_file (const char *filename, int hw_rev) diff -Naur gnuradio-3.1.1-upstream/usrp/host/misc/getopt.c gnuradio-3.1.1/usrp/host/misc/getopt.c --- gnuradio-3.1.1-upstream/usrp/host/misc/getopt.c 2008-03-03 08:38:23.000000000 +0100 +++ gnuradio-3.1.1/usrp/host/misc/getopt.c 2008-03-03 09:56:27.000000000 +0100 @@ -52,6 +52,7 @@ #endif #include <stdio.h> +#include <string.h> /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C --- NEW FILE gnuradio.spec --- %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: gnuradio Version: 3.1.1 Release: 1%{?dist} Summary: Software defined radio framework Group: Applications/Engineering License: GPLv3 URL: http://www.gnuradio.org Source0: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-%{version}.tar.gz # missing files from official tarball, upstream knows about this problem. # $ svn export http://gnuradio.org/svn/gnuradio/branches/releases/3.1 gnuradio # $ tar -cfz gnuradio-3.1.1-templates.tar gnuradio-3.1.1/gnuradio-core/src/lib/gengen/*.t Source1: gnuradio-3.1.1-templates.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: gnuradio-3.1.1-gcc34.patch BuildRequires: sdcc BuildRequires: fftw-devel BuildRequires: cppunit-devel BuildRequires: wxPython-devel BuildRequires: xmlto BuildRequires: graphviz BuildRequires: boost-devel BuildRequires: python-devel BuildRequires: swig BuildRequires: doxygen BuildRequires: libusb-devel BuildRequires: alsa-lib-devel BuildRequires: SDL-devel %description GNU Radio is a collection of software that when combined with minimal hardware, allows the construction of radios where the actual waveforms transmitted and received are defined by software. What this means is that it turns the digital modulation schemes used in today's high performance wireless devices into software problems. %package devel Summary: GNU Radio Group: Applications/Engineering Requires: %{name} = %{version}-%{release} %description devel GNU Radio Headers %package doc Summary: GNU Radio Group: Applications/Engineering Requires: %{name} = %{version}-%{release} %description doc GNU Radio Documentation %package examples Summary: GNU Radio Group: Applications/Engineering Requires: %{name} = %{version}-%{release} %description examples GNU Radio examples %package -n usrp Summary: Universal Software Radio Peripheral Group: Applications/Engineering Requires: %{name} = %{version}-%{release} %description -n usrp Gnu Radio Universal Software Radio Peripheral software %package -n usrp-devel Summary: Universal Software Radio Peripheral Group: Applications/Engineering Requires: usrp = %{version}-%{release} %description -n usrp-devel GNU Radio USRP headers %prep %setup -q %setup -q -b 1 %patch0 -p1 -b .gcc43 %build export PATH=%{_libexecdir}/sdcc:$PATH %configure --enable-doxygen --enable-latex-doc --disable-gr-audio-oss sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -n gnuradio -p /sbin/ldconfig %postun -n gnuradio -p /sbin/ldconfig %post -n gnuradio-devel -p /sbin/ldconfig %postun -n gnuradio-devel -p /sbin/ldconfig %post -n usrp -p /sbin/ldconfig %postun -n usrp -p /sbin/ldconfig %files %defattr(-,root,root,-) %{python_sitelib}/gnuradio %{_sysconfdir}/gnuradio %{_libdir}/libgnuradio-core.so.* %{_libdir}/libgnuradio-core-qa.so.* %{_libdir}/libgr_audio_alsa.so.* %{_libdir}/libgromnithread.so.* %config(noreplace)%{_sysconfdir}/gnuradio/conf.d/gr-audio-alsa.conf %config(noreplace)%{_sysconfdir}/gnuradio/conf.d/gnuradio-core.conf %config(noreplace)%{_sysconfdir}/gnuradio/conf.d/gr-wxgui.conf %exclude %{python_sitelib}/gnuradio/*.la %files devel %defattr(-,root,root,-) %{_includedir}/gnuradio %{_includedir}/usrp_* %{_libdir}/libgnuradio-core.so %{_libdir}/libgnuradio-core-qa.so %{_libdir}/libgr_audio_alsa.so %{_libdir}/libgromnithread.so %{_libdir}/pkgconfig/*.pc %exclude %{_libdir}/*.la %files doc %defattr(-,root,root,-) %doc ChangeLog README README.hacking NEWS INSTALL COPYING AUTHORS %{_docdir}/usrp* %{_docdir}/gnuradio* %files examples %defattr(-,root,root,-) %{_datadir}/%{name}/examples %exclude %{_datadir}/%{name}/examples/atsc/*.pyc %exclude %{_datadir}/%{name}/examples/atsc/*.pyo %exclude %{_datadir}/%{name}/examples/audio/*.pyc %exclude %{_datadir}/%{name}/examples/audio/*.pyo %exclude %{_datadir}/%{name}/examples/digital/*.pyc %exclude %{_datadir}/%{name}/examples/digital/*.pyo %exclude %{_datadir}/%{name}/examples/hf_explorer/*.pyc %exclude %{_datadir}/%{name}/examples/hf_explorer/*.pyo %exclude %{_datadir}/%{name}/examples/hf_radio/*.pyc %exclude %{_datadir}/%{name}/examples/hf_radio/*.pyo %exclude %{_datadir}/%{name}/examples/multi-antenna/*.pyc %exclude %{_datadir}/%{name}/examples/multi-antenna/*.pyo %exclude %{_datadir}/%{name}/examples/multi_usrp/*.pyc %exclude %{_datadir}/%{name}/examples/multi_usrp/*.pyo %exclude %{_datadir}/%{name}/examples/network/*.pyc %exclude %{_datadir}/%{name}/examples/network/*.pyo %exclude %{_datadir}/%{name}/examples/trellis/*.pyc %exclude %{_datadir}/%{name}/examples/trellis/*.pyo %exclude %{_datadir}/%{name}/examples/trellis/fsm_files/*.pyc %exclude %{_datadir}/%{name}/examples/trellis/fsm_files/*.pyo %exclude %{_datadir}/%{name}/examples/usrp/*.pyc %exclude %{_datadir}/%{name}/examples/usrp/*.pyo %files -n usrp %defattr(-,root,root,-) %{_bindir}/usrp* %{_datadir}/usrp %{_libdir}/libusrp.so.* %{python_sitelib}/usrpm %exclude %{_bindir}/*.pyc %exclude %{_bindir}/*.pyo %exclude %{_libdir}/*.la %exclude %{python_sitelib}/usrpm/*.la %files -n usrp-devel %defattr(-,root,root,-) %{_libdir}/libusrp.so %changelog * Wed Feb 20 2008 Marek Mahut <mmahut@xxxxxxxxxxxxxxxxx> - 3.1.1-1 - Upstream release - Spec file rewrite * Mon Mar 12 2007 Trond Danielsen <trond.danielsen@xxxxxxxxx> - 3.0.3-1 - Initial version. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/gnuradio/F-8/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 23 Mar 2008 01:03:11 -0000 1.1 +++ sources 23 Mar 2008 08:02:09 -0000 1.2 @@ -0,0 +1,2 @@ +ee06fe3d989caec3cd903ce48f4f311a gnuradio-3.1.1-templates.tar.gz +c5df6b26928ab6da678fbc6f993ce263 gnuradio-3.1.1.tar.gz _______________________________________________ Fedora astronomy mailing list Fedora-astronomy-list@xxxxxxxxxx http://fedoraproject.org/wiki/SIGs/Astronomy https://www.redhat.com/mailman/listinfo/fedora-astronomy-list