ports/comms/xnecview/files/patch-draw.c
Älven 1a3aaf2add comms/xnecview: update 1.36 => 1.37
+ Add LICENSE
* Fix MASTER_SITES and pkg-descr
* Use `make makepatch` to regenerate patches to ensure proper patch
  format

Changelog:
- a few bugfixes:
  - correctly recognize near field data in yet another nec2 version
    (Debian's) (2011)
  - show gain scale when --view option is used to choose a view along
    one of the axes. (2014-02-27)
  - calculation of absolute segment numbers when using GM cards wasi
    incorrect (tnx Luigi Tarenga)
- updates for more modern library versions
  - compatibility with libpng 1.6 instead of 1.2 (tnx Luigi Tarenga)
  - PNG file was completely black with modern libgdk (tnx Luigi Tarenga)
- fixed a few compiler warnings (one of which was probably a very subtle
  bug in the opaque drawing)

PR:		285510
Approved by:	xride (maintainer, timeout > 3 weeks)
2025-04-11 00:20:30 +03:00

11 lines
253 B
C

--- draw.c.orig 2020-01-11 15:14:27 UTC
+++ draw.c
@@ -615,7 +615,7 @@ void draw_gain_phi(int j,Radpattern *rp)
#define R270 (1.5*M_PI)
#define R360 (2*M_PI)
-#include <sys/timeb.h>
+#include <sys/time.h>
void draw_gain(int ie,Radpattern *rp)
{