mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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)
This commit is contained in:
parent
b98afdb87f
commit
1a3aaf2add
7 changed files with 20 additions and 28 deletions
|
@ -1,13 +1,15 @@
|
||||||
PORTNAME= xnecview
|
PORTNAME= xnecview
|
||||||
PORTVERSION= 1.36
|
DISTVERSION= 1.37
|
||||||
PORTREVISION= 4
|
|
||||||
CATEGORIES= comms hamradio
|
CATEGORIES= comms hamradio
|
||||||
MASTER_SITES= http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
|
MASTER_SITES= https://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
|
||||||
|
|
||||||
MAINTAINER= xride@FreeBSD.org
|
MAINTAINER= xride@FreeBSD.org
|
||||||
COMMENT= X11 viewer of NEC2 input and output data
|
COMMENT= X11 viewer of NEC2 input and output data
|
||||||
WWW= https://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
|
WWW= https://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
LIB_DEPENDS= libpng.so:graphics/png
|
LIB_DEPENDS= libpng.so:graphics/png
|
||||||
|
|
||||||
USES= gmake gnome pkgconfig tar:tgz
|
USES= gmake gnome pkgconfig tar:tgz
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (xnecview-1.36.tgz) = be2837cedb1526b90f846c3205503858c7471434c678dcd9ce848415dfd76e86
|
TIMESTAMP = 1742329895
|
||||||
SIZE (xnecview-1.36.tgz) = 79535
|
SHA256 (xnecview-1.37.tgz) = 4e2cefa5887260845a09d44edab5ff9799d5d091857cf8af0a9a590cf35951f0
|
||||||
|
SIZE (xnecview-1.37.tgz) = 79005
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.orig Mon Mar 27 22:38:37 2006
|
--- Makefile.orig 2006-03-27 20:38:37 UTC
|
||||||
+++ Makefile Mon Jun 5 15:37:15 2006
|
+++ Makefile
|
||||||
@@ -3,15 +3,16 @@
|
@@ -3,15 +3,16 @@ PNG = yes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- draw.c.orig Mon Jul 21 21:49:28 2003
|
--- draw.c.orig 2020-01-11 15:14:27 UTC
|
||||||
+++ draw.c Fri Mar 17 17:59:24 2006
|
+++ draw.c
|
||||||
@@ -605,7 +605,7 @@
|
@@ -615,7 +615,7 @@ void draw_gain_phi(int j,Radpattern *rp)
|
||||||
#define R270 (1.5*M_PI)
|
#define R270 (1.5*M_PI)
|
||||||
#define R360 (2*M_PI)
|
#define R360 (2*M_PI)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- parse_input.c.orig Mon Jun 5 08:56:55 2006
|
--- parse_input.c.orig 2020-01-12 14:16:26 UTC
|
||||||
+++ parse_input.c Mon Jun 5 08:57:56 2006
|
+++ parse_input.c
|
||||||
@@ -527,6 +527,7 @@
|
@@ -525,6 +525,7 @@ int read_nec_SC(char *s) /* SC -> continuation of
|
||||||
int read_nec_SC(char *s) /* SC -> continuation of SM, SP, or SC */
|
int read_nec_SC(char *s) /* SC -> continuation of SM, SP, or SC */
|
||||||
{
|
{
|
||||||
Surface *su;
|
Surface *su;
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
int ns;
|
int ns;
|
||||||
Point p3;
|
Point p3;
|
||||||
int n;
|
int n;
|
||||||
@@ -575,7 +576,7 @@
|
@@ -573,7 +574,7 @@ int read_nec_SC(char *s) /* SC -> continuation of
|
||||||
case 'C':
|
case 'C':
|
||||||
n=sscanf(s,"SC%*i%d%g%g%g%g%g%g",&ns,&su->p2.x,&su->p2.y,&su->p2.z,&su->p3.x,&su->p3.y,&su->p3.z);
|
n=sscanf(s,"SC%*i%d%g%g%g%g%g%g",&ns,&su->p2.x,&su->p2.y,&su->p2.z,&su->p3.x,&su->p3.y,&su->p3.z);
|
||||||
if (n!=7 && n!=4) return Err_scan;
|
if (n!=7 && n!=4) return Err_scan;
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- xwin.c.orig 2011-07-26 00:03:37.000000000 +0200
|
|
||||||
+++ xwin.c 2012-05-01 08:33:19.000000000 +0200
|
|
||||||
@@ -277,7 +277,7 @@
|
|
||||||
fclose(f);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
- if (setjmp(pp->jmpbuf)) {
|
|
||||||
+ if (setjmp(png_jmpbuf(pp))) {
|
|
||||||
png_destroy_write_struct(&pp,&ip);
|
|
||||||
fclose(f);
|
|
||||||
gdk_image_destroy(image);
|
|
|
@ -1,3 +1,3 @@
|
||||||
Xnecview is a program for visualizing the input and output files of the NEC
|
Xnecview is a program for visualizing the input and output files of the NEC
|
||||||
antenna simulation software. It runs on Linux/Unix systems with the X window
|
antenna simulation software. It runs on GNU/Linux and Unix systems with the
|
||||||
system.
|
X window system.
|
||||||
|
|
Loading…
Add table
Reference in a new issue