Date: Thu, 13 Jun 2013 22:45:37 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320846 - head/textproc/rot/files Message-ID: <201306132245.r5DMjbbE044863@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Thu Jun 13 22:45:37 2013 New Revision: 320846 URL: http://svnweb.freebsd.org/changeset/ports/320846 Log: Fix build with clang. Added: head/textproc/rot/files/ head/textproc/rot/files/patch-rot.c (contents, props changed) Added: head/textproc/rot/files/patch-rot.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rot/files/patch-rot.c Thu Jun 13 22:45:37 2013 (r320846) @@ -0,0 +1,27 @@ +--- rot.c.orig 1989-03-05 02:11:02.000000000 +0100 ++++ rot.c 2013-06-14 00:36:58.068387596 +0200 +@@ -244,10 +244,10 @@ + if (i2 >= 0L) + { + if (seekinput (sum + z + col, 1) == -1) +- return; ++ return 0; + + if ((c = getinput()) == EOF) +- return; /* end of input */ ++ return 0; /* end of input */ + + if (c == ' ' && !bflag) + holdbl++; +@@ -292,9 +292,9 @@ + if (i2 > 0L) + { + if (seekinput (- (sum + z + 2L), 1) == -1) +- return; ++ return 0; + if ((c = getinput()) == EOF) +- return; /* end of input */ ++ return 0; /* end of input */ + + if (c == ' ' && !bflag) + holdbl++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306132245.r5DMjbbE044863>