diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-28 22:03:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-28 22:03:28 +0000 |
commit | 8f15720c8451df633f2ee88bd58298c69a70342f (patch) | |
tree | 5fc8cdd209fc4f3b6b20d14559c2a313d6712202 | |
parent | - Update to 1.8.3 (diff) |
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/Makefile | 2 | ||||
-rw-r--r-- | comms/qpage/files/patch-util.c | 11 |
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; + } + |