summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/par/Makefile5
-rw-r--r--textproc/par/distinfo5
-rw-r--r--textproc/par/files/patch-par.c12
-rw-r--r--textproc/par/files/patch-protoMakefile14
-rw-r--r--textproc/par/files/patch-reformat.c11
5 files changed, 13 insertions, 34 deletions
diff --git a/textproc/par/Makefile b/textproc/par/Makefile
index af5392c199f2..4fcd89cefb99 100644
--- a/textproc/par/Makefile
+++ b/textproc/par/Makefile
@@ -2,12 +2,11 @@
# $FreeBSD$
PORTNAME= par
-PORTVERSION= 1.52
-PORTREVISION= 1
+PORTVERSION= 1.53.0
PKGNAMESUFFIX= _format
CATEGORIES= textproc
MASTER_SITES= http://www.nicemice.net/par/
-DISTNAME= Par${PORTVERSION:S|.||}
+DISTNAME= Par-${PORTVERSION}
MAINTAINER= markm@FreeBSD.org
COMMENT= Paragraph reformatter for email
diff --git a/textproc/par/distinfo b/textproc/par/distinfo
index 849f75029ee2..53cd32df0d88 100644
--- a/textproc/par/distinfo
+++ b/textproc/par/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Par152.tar.gz) = 33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082
-SIZE (Par152.tar.gz) = 47999
+TIMESTAMP = 1609587143
+SHA256 (Par-1.53.0.tar.gz) = c809c620eb82b589553ac54b9898c8da55196d262339d13c046f2be44ac47804
+SIZE (Par-1.53.0.tar.gz) = 52209
diff --git a/textproc/par/files/patch-par.c b/textproc/par/files/patch-par.c
deleted file mode 100644
index 397e32c6cae5..000000000000
--- a/textproc/par/files/patch-par.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./par.c.orig 2001-04-02 05:25:57.000000000 +0100
-+++ ./par.c 2014-02-10 21:14:29.000000000 +0000
-@@ -403,7 +403,8 @@
- }
- continue;
- }
-- if (isspace(c)) ch = ' ';
-+ // Exclude non-breaking space from the class of space chars
-+ if (isspace(c) && isascii(c)) ch = ' ';
- else blank = 0;
- additem(cbuf, &ch, errmsg);
- if (*errmsg) goto rlcleanup;
diff --git a/textproc/par/files/patch-protoMakefile b/textproc/par/files/patch-protoMakefile
index 1c11bccdb77f..21a12c6d7b95 100644
--- a/textproc/par/files/patch-protoMakefile
+++ b/textproc/par/files/patch-protoMakefile
@@ -1,11 +1,13 @@
---- ./protoMakefile.orig 2001-03-09 00:53:25.000000000 +0000
-+++ ./protoMakefile 2014-02-10 21:14:29.000000000 +0000
-@@ -47,7 +47,7 @@
+--- protoMakefile.orig 2020-03-14 21:01:24 UTC
++++ protoMakefile
+@@ -45,8 +45,8 @@
# Example (for Solaris 2.x with SPARCompiler C):
# CC = cc -c -O -s -Xc -DDONTFREE
--CC = cc -c
-+CC = cc -c ${CFLAGS}
+-CPPFLAGS =
+-CFLAGS =
++#CPPFLAGS =
++#CFLAGS =
+ CC = cc $(CPPFLAGS) $(CFLAGS) -c
# Define LINK1 and LINK2 so that the command
- #
diff --git a/textproc/par/files/patch-reformat.c b/textproc/par/files/patch-reformat.c
deleted file mode 100644
index 9b9d0f0d84ab..000000000000
--- a/textproc/par/files/patch-reformat.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./reformat.c.orig 2014-02-10 21:14:43.000000000 +0000
-+++ ./reformat.c 2014-02-10 21:17:35.000000000 +0000
-@@ -335,7 +335,7 @@
- for (end = *line; *end; ++end);
- if (end - *line < affix) {
- sprintf(errmsg,
-- "Line %d shorter than <prefix> + <suffix> = %d + %d = %d\n",
-+ "Line %zd shorter than <prefix> + <suffix> = %d + %d = %d\n",
- line - inlines + 1, prefix, suffix, affix);
- goto rfcleanup;
- }