aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-29 06:03:28 +0800
committerpav <pav@FreeBSD.org>2004-10-29 06:03:28 +0800
commitfeba2332d7e87b10da0913907131a4b58f5f5bcf (patch)
tree70149a596ace4878b265865d1686fa9ae412b10e
parenteaeb6060aa4d0d15a91374cdf1a3ce794b5b04d1 (diff)
downloadfreebsd-ports-gnome-feba2332d7e87b10da0913907131a4b58f5f5bcf.tar.gz
freebsd-ports-gnome-feba2332d7e87b10da0913907131a4b58f5f5bcf.tar.zst
freebsd-ports-gnome-feba2332d7e87b10da0913907131a4b58f5f5bcf.zip
The qpage port will run words together in long pages. The problem
is in msgcpy in util.c, where the breaks don't preserve word boundries. PR: ports/73020 Submitted by: Douglas K. Rand <rand@meridian-enviro.com>
-rw-r--r--comms/qpage/Makefile2
-rw-r--r--comms/qpage/files/patch-util.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/qpage/Makefile b/comms/qpage/Makefile
index d13ed68c72a8..fa229482795b 100644
--- a/comms/qpage/Makefile
+++ b/comms/qpage/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qpage
PORTVERSION= 3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= comms
MASTER_SITES= http://www.qpage.org/download/
EXTRACT_SUFX= .tar.Z
diff --git a/comms/qpage/files/patch-util.c b/comms/qpage/files/patch-util.c
new file mode 100644
index 000000000000..fd7e6b7ff33c
--- /dev/null
+++ b/comms/qpage/files/patch-util.c
@@ -0,0 +1,11 @@
+--- util.c.orig Sun Oct 25 20:55:11 1998
++++ util.c Thu Oct 28 23:58:37 2004
+@@ -537,7 +537,7 @@
+ ** Now make sure we didn't chop a word in the middle.
+ */
+ if (*src && end) {
+- *end++ = '\0';
++ *++end = '\0';
+ src = start;
+ }
+