Package: splat
Version: 1.2.0-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  A patch for this problem is
below.

> Automatic build of splat_1.2.0-1 on coconut0 by sbuild/ia64 0.49
...
> ./build all
> Compiling SPLAT!... splat.cpp:59: warning: deprecated conversion from string 
> constant to 'char*'
> splat.cpp:5345: error: first argument of 'int main(char, char**)' should be 
> 'int'
> Done!
> Compiling citydecoder... Done!
> Compiling usgs2sdf... Done!
> Compiling srtm2sdf... Done!
> Compiling fontdata... Done!
> touch build-stamp
>  /usr/bin/fakeroot debian/rules binary-arch
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs
> cp splat /build/tbm/splat-1.2.0/debian/splat/usr/bin
> cp: cannot stat `splat': No such file or directory
> make: *** [install] Error 1

--- splat.cpp~  2007-04-01 13:43:46.000000000 +0000
+++ splat.cpp   2007-04-01 13:46:02.000000000 +0000
@@ -5342,7 +5342,7 @@
        fflush(stdout);
 }
 
-int main(char argc, char *argv[])
+int main(int argc, char *argv[])
 {
        int             x, y, z=0, min_lat, min_lon, max_lat, max_lon,
                        rxlat, rxlon, txlat, txlon, west_min, west_max,

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to