[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#539540: FTBFS with GCC 4.4: missing #include



On 2009-08-01 21:21:13 +0200, Martin Michlmayr wrote:
> > In file included from FTutils.cpp:25:
> > FTutils.hpp:125: error: 'int32_t' does not name a type
> > FTutils.hpp: In function 'float flush_to_zero(float)':
> > FTutils.hpp:136: error: 'union ls_pcast32' has no member named 'i'

Attached is a patch to fix it.

Regards,
Michael
--- freqtweak-0.7.2.orig/debian/patches/04_missing_include.diff
+++ freqtweak-0.7.2/debian/patches/04_missing_include.diff
@@ -0,0 +1,11 @@
+diff -Nur -x '*.orig' -x '*~' freqtweak-0.7.2/src/FTutils.hpp freqtweak-0.7.2.new/src/FTutils.hpp
+--- freqtweak-0.7.2/src/FTutils.hpp	2009-07-11 23:15:00.000000000 +0200
++++ freqtweak-0.7.2.new/src/FTutils.hpp	2009-12-07 18:05:09.000000000 +0100
+@@ -23,6 +23,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <cmath>
++#include <stdint.h>
+ 
+ //#include <wx/string.h>
+ 

Reply to: