From e34fd3b7e7acbdde591fb47122e9844d864c3380 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 27 May 2013 12:53:33 +0000 Subject: [PATCH] Fix build with clang --- vietnamese/vnpstext/files/patch-03 | 13 +++++++++++-- 1 file 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 */