[mythtv] [PATCH] fix for dvbdiseq.cpp to compile math routines under some systems

Daniel Thor Kristjansson danielk at mrl.nyu.edu
Wed Oct 27 13:33:27 UTC 2004


FYI 

Since this is a c++ file...
#include <math.h>
should be
#include <cmath>

-- Daniel

On Wed, 27 Oct 2004, Rod Smart wrote:

]-----BEGIN PGP SIGNED MESSAGE-----
]Hash: SHA1
]
]In referance to Bug #88,
]
]http://www.mythtv.org/bugs/show_bug.cgi?id=88
]
]here is a simple fix.
]
]==== CUT ====
]
]- --- libs/libmythtv/dvbdiseqc.cpp        2004-10-27 09:17:41.618366185
]+1000
]+++ ../dvbdiseqc.cpp    2004-10-27 09:16:06.514501486 +1000
]@@ -41,6 +41,8 @@
]~ #include "dvbtypes.h"
]~ #include "dvbdiseqc.h"
]
]+#include "math.h"
]+
]~ DVBDiSEqC::DVBDiSEqC(int _cardnum, int _fd_frontend):
]~     cardnum(_cardnum), fd_frontend(_fd_frontend)
]~ {
]
]==== CUT ====
]-----BEGIN PGP SIGNATURE-----
]Version: GnuPG v1.2.6 (GNU/Linux)
]Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
]
]iD8DBQFBf45dQKHUJ4bI4pERAmgqAJ49nkO/P2IFx+fx1SDXLftpApmKwwCgwCOE
]oGqADOUL/4ILw44CJeZa2BA=
]=h8dv
]-----END PGP SIGNATURE-----
]
]_______________________________________________
]mythtv-dev mailing list
]mythtv-dev at mythtv.org
]http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
]


More information about the mythtv-dev mailing list