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

Bug#621393: xnecview: diff for NMU version 1.35-7.1



tags 621393 + patch
tags 621393 + pending
thanks

Dear maintainer,

I've prepared an NMU for xnecview (versioned as 1.35-7.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
Evgeni Golov
diff -u xnecview-1.35/debian/changelog xnecview-1.35/debian/changelog
--- xnecview-1.35/debian/changelog
+++ xnecview-1.35/debian/changelog
@@ -1,3 +1,13 @@
+xnecview (1.35-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * R0 is already taken as a register name on armel, rename xnecview's
+    constant to DEFFAULTR0.
+    Closes: #621393
+  * Add ${misc:Depends} to Depends, thanks lintian.
+
+ -- Evgeni Golov <evgeni@debian.org>  Mon, 02 May 2011 09:14:19 +0200
+
 xnecview (1.35-7) unstable; urgency=low
 
   * correct nonsensical standards version number of 3.8.22 to 3.8.2
diff -u xnecview-1.35/debian/control xnecview-1.35/debian/control
--- xnecview-1.35/debian/control
+++ xnecview-1.35/debian/control
@@ -7,7 +7,7 @@
 
 Package: xnecview
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: NEC structure and gain pattern viewer
  xnecview allows a representation of a NEC (Numerical Electromagnetics
  Code) structure, such as an antenna which is to be modelled to be
only in patch2:
unchanged:
--- xnecview-1.35.orig/freqplot.c
+++ xnecview-1.35/freqplot.c
@@ -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 */
 
 
 
only in patch2:
unchanged:
--- xnecview-1.35.orig/config.h
+++ xnecview-1.35/config.h
@@ -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 */

Reply to: