tags 621392 + patch thanks Hi Alan,
attached is a patch (basically stolen from Ubuntu) that fixes the issue. Do not ask why ARM does not like R0 :) Compile tested on amd64 and qemu-armel. Regards Evgeni
diff -Nru xnecview-1.35/config.h xnecview-1.35/config.h --- xnecview-1.35/config.h 2008-04-25 21:59:30.000000000 +0000 +++ xnecview-1.35/config.h 2011-04-18 22:41:40.000000000 +0000 @@ -57,6 +57,6 @@ #define XFONT "6x10" /* font for text in the on-screen drawing */ #define PSFONT "helvetica" /* font for postscript output (size is derived by scaling the X font) */ -#define R0 50.0 /* default reference impedance for SWR calculation */ +#define DEFAULTR0 50.0 /* default reference impedance for SWR calculation */ #define Polthr (M_SQRT2-1) /* threshold of axial ratio used in polarization-colouring */ diff -Nru xnecview-1.35/debian/changelog xnecview-1.35/debian/changelog --- xnecview-1.35/debian/changelog 2011-04-18 22:41:36.000000000 +0000 +++ xnecview-1.35/debian/changelog 2011-04-18 22:41:40.000000000 +0000 @@ -1,3 +1,11 @@ +xnecview (1.35-7.1) unstable; urgency=low + + * Non-maintainer upload. + * armel does not like the R0 define, rename it to DEFFAULTR0. + Closes: #621393 + + -- Evgeni Golov <evg...@debian.org> Mon, 18 Apr 2011 22:30:20 +0000 + xnecview (1.35-7) unstable; urgency=low * correct nonsensical standards version number of 3.8.22 to 3.8.2 diff -Nru xnecview-1.35/freqplot.c xnecview-1.35/freqplot.c --- xnecview-1.35/freqplot.c 2008-04-27 14:47:14.000000000 +0000 +++ xnecview-1.35/freqplot.c 2011-04-18 22:41:40.000000000 +0000 @@ -28,7 +28,7 @@ int plot2_z2=0; /* show the phi(z)/abs(z) graph? */ int plot2_dir=0; /* show the direction-of-maximum-gain graph? */ -double r0=R0; /* reference impedance for SWR calculation */ +double r0=DEFAULTR0; /* reference impedance for SWR calculation */