mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to 4.5.12
PR: 187290
This commit is contained in:
parent
6c9f434f44
commit
ee704e5b67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347828
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gmt
|
||||
PORTVERSION= 4.5.11
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 4.5.12
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://ftp.soest.hawaii.edu/%SUBDIR%/ \
|
||||
ftp://ftp.geologi.uio.no/pub/%SUBDIR%/ \
|
||||
@ -81,7 +80,8 @@ STRIP_FILES= blockmean blockmedian blockmode filter1d fitcircle \
|
||||
psxy psxyz sample1d spectrum1d splitxyz \
|
||||
surface trend1d trend2d triangulate xyz2grd
|
||||
|
||||
GSHHG_DISTNAME= gshhg-gmt-nc4-2.2.4
|
||||
# http://www.soest.hawaii.edu/pwessel/gshhg/
|
||||
GSHHG_DISTNAME= gshhg-gmt-2.3.0
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHA256 (gmt-4.5.11-src.tar.bz2) = ec12b1206a8c91843587b241a478690bf61eb9350ff7458e28302a9f431a598e
|
||||
SIZE (gmt-4.5.11-src.tar.bz2) = 39410288
|
||||
SHA256 (gshhg-gmt-nc4-2.2.4.tar.gz) = 6ad702c67b2113fc5805f9901a070c963d93429c42c0b4ef253fd21025176e9f
|
||||
SIZE (gshhg-gmt-nc4-2.2.4.tar.gz) = 55184708
|
||||
SHA256 (gmt-4.5.12-src.tar.bz2) = f0ae83fe52842b1425341c0a3fb664e7270cba410253647bdea2e98e10a553c2
|
||||
SIZE (gmt-4.5.12-src.tar.bz2) = 39390743
|
||||
SHA256 (gshhg-gmt-2.3.0.tar.gz) = 123a969cf700c0d2607408af63f91c334e97bc456fa2deb3a51de0f50b1c911e
|
||||
SIZE (gshhg-gmt-2.3.0.tar.gz) = 57005361
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- src/grdvector.c.orig
|
||||
+++ src/grdvector.c
|
||||
@@ -388,15 +388,7 @@
|
||||
if (!Ctrl->N.active) GMT_map_clip_on (GMT_no_rgb, 3);
|
||||
|
||||
if (Ctrl->I.xinc != 0.0 && Ctrl->I.yinc != 0.0) { /* Gave a coarser grid spacing, we hope */
|
||||
- struct GRD_HEADER tmp_h;
|
||||
- double val;
|
||||
- tmp_h = h[0];
|
||||
- tmp_h.x_inc = Ctrl->I.xinc;
|
||||
- tmp_h.y_inc = Ctrl->I.yinc;
|
||||
- GMT_RI_prepare (&tmp_h); /* Convert to make sure we have correct increments */
|
||||
- Ctrl->I.xinc = tmp_h.x_inc;
|
||||
- Ctrl->I.yinc = tmp_h.y_inc;
|
||||
- val = Ctrl->I.yinc / h[0].y_inc;
|
||||
+ double val = Ctrl->I.yinc / h[0].y_inc;
|
||||
dj = irint (val);
|
||||
if (dj == 0 || fabs (val - dj) > GMT_CONV_LIMIT) {
|
||||
fprintf (stderr, "%s: Error: New y grid increment (%g) is not a multiple of actual grid increment (%g).\n", GMT_program, Ctrl->I.xinc, h[0].x_inc);
|
||||
@@ -408,6 +400,7 @@
|
||||
fprintf (stderr, "%s: Error: New x grid increment (%g) is not a multiple of actual grid increment (%g).\n", GMT_program, Ctrl->I.xinc, h[0].x_inc);
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
+ /* Determine starting point for straddled access */
|
||||
tmp = ceil (h[0].y_max / Ctrl->I.yinc) * Ctrl->I.yinc;
|
||||
if (tmp > h[0].y_max) tmp -= Ctrl->I.yinc;
|
||||
j0 = irint ((h[0].y_max - tmp) / h[0].y_inc);
|
@ -1,11 +0,0 @@
|
||||
--- src/ps2raster.c.orig
|
||||
+++ src/ps2raster.c
|
||||
@@ -505,7 +505,7 @@
|
||||
for (k = 0; k < n_files; k++) {
|
||||
excessK = FALSE;
|
||||
memset ((void *)out_file, 0, BUFSIZ);
|
||||
- strcpy(ps_file,ps_names[k]);
|
||||
+ if (ps_file != ps_names[k]) strcpy(ps_file,ps_names[k]);
|
||||
if ((fp = fopen (ps_file, "r")) == NULL) {
|
||||
fprintf (stderr, "%s: Cannot to open file %s\n", GMT_program, ps_file);
|
||||
continue;
|
Loading…
Reference in New Issue
Block a user