textproc/wiggle: Update to new release v1.2.

Changes, see https://github.com/neilbrown/wiggle/commits/master
This commit is contained in:
Matthias Andree
2020-01-17 07:59:47 +00:00
parent c2f9111a8b
commit 1f15cfbac7
3 changed files with 14 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= wiggle
PORTVERSION= 1.1
PORTVERSION= 1.2
CATEGORIES= textproc
MASTER_SITES= http://neil.brown.name/wiggle/
@@ -19,10 +19,7 @@ MAKE_ARGS+= CFLAGS="${CFLAGS} -I. -Wall -Wstrict-prototypes -Wextra -Wno-unused-
pre-patch:
${REINPLACE_CMD} -Ee 's,\./dotest,bash ./dotest,' ${WRKSRC}/Makefile
${REINPLACE_CMD} -Ee "s,/usr/bin/time -o .time -f '%U',," ${WRKSRC}/dotest
${REINPLACE_CMD} -Ee 's|#include.*<endian.h>|#include <sys/endian.h>|' ${WRKSRC}/config.h
@# fix a clang warning:
${REINPLACE_CMD} -Ee 's|(^[[:space:]]+[[:<:]])cols = cols;|\1(void)cols;|' ${WRKSRC}/vpatch.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wiggle ${STAGEDIR}${PREFIX}/bin/

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1506973815
SHA256 (wiggle-1.1.tar.gz) = 3da3cf6a456dd1415d2644e345f9831eb2912c6fa8dfa5d63d9bf49d744abff3
SIZE (wiggle-1.1.tar.gz) = 846772
TIMESTAMP = 1579247229
SHA256 (wiggle-1.2.tar.gz) = 31375badb76a4a586f2113e49d13486dbc64844962ae80976a81c6542e901622
SIZE (wiggle-1.2.tar.gz) = 847391

View File

@@ -0,0 +1,10 @@
--- merge2.c.orig 2019-12-27 05:12:38 UTC
+++ merge2.c
@@ -24,6 +24,7 @@
#include "wiggle.h"
#include <limits.h>
+#include <unistd.h>
/*
* Second attempt at merging....