mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
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>
This commit is contained in:
parent
f5bf8a1a6b
commit
8f15720c84
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120440
2 changed files with 12 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= qpage
|
PORTNAME= qpage
|
||||||
PORTVERSION= 3.3
|
PORTVERSION= 3.3
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= comms
|
CATEGORIES= comms
|
||||||
MASTER_SITES= http://www.qpage.org/download/
|
MASTER_SITES= http://www.qpage.org/download/
|
||||||
EXTRACT_SUFX= .tar.Z
|
EXTRACT_SUFX= .tar.Z
|
||||||
|
|
11
comms/qpage/files/patch-util.c
Normal file
11
comms/qpage/files/patch-util.c
Normal file
|
@ -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;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue