aboutsummaryrefslogtreecommitdiff
path: root/vietnamese/vnpstext
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 12:53:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 12:53:33 +0000
commite34fd3b7e7acbdde591fb47122e9844d864c3380 (patch)
treeb56c61c3817eaf9259e90d2a8640bf5af3604d98 /vietnamese/vnpstext
parent26eab0c72ecadd0e67baf34aae18c88df2a2d848 (diff)
downloadports-e34fd3b7e7acbdde591fb47122e9844d864c3380.tar.gz
ports-e34fd3b7e7acbdde591fb47122e9844d864c3380.zip
Fix build with clang
Notes
Notes: svn path=/head/; revision=319228
Diffstat (limited to 'vietnamese/vnpstext')
-rw-r--r--vietnamese/vnpstext/files/patch-0313
1 files changed, 11 insertions, 2 deletions
diff --git a/vietnamese/vnpstext/files/patch-03 b/vietnamese/vnpstext/files/patch-03
index 881d35319534..52c6b9fa935a 100644
--- a/vietnamese/vnpstext/files/patch-03
+++ b/vietnamese/vnpstext/files/patch-03
@@ -1,5 +1,5 @@
---- vnpstext.c.orig Wed Sep 2 14:01:59 1992
-+++ vnpstext.c Sun Dec 8 01:24:48 1996
+--- ./vnpstext.c.orig 1992-09-02 23:01:59.000000000 +0200
++++ ./vnpstext.c 2013-05-27 16:27:32.390245389 +0200
@@ -86,7 +86,8 @@
dofile(input)
FILE *input;
@@ -20,3 +20,12 @@
if (!*line) printf("B\n");
else {
+@@ -180,7 +182,7 @@
+ printf("/S{Lcheck count{gsave show grestore}repeat 0 ld rmoveto}def\n");
+ printf("/L{Lcheck ld mul 0 exch rmoveto}def\n");
+ printf("/B{Lcheck 0 ld rmoveto}def\n");
+- return;
++ return NULL;
+ }
+
+ /* filename specified, use it */