Date: Tue, 24 Jul 2018 13:24:09 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475251 - in head/textproc/yodl: . files Message-ID: <201807241324.w6ODO93S034757@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Tue Jul 24 13:24:09 2018 New Revision: 475251 URL: https://svnweb.freebsd.org/changeset/ports/475251 Log: textproc/yodl: Fix patches Added: head/textproc/yodl/files/patch-src_verbinsert_main.cc (contents, props changed) Deleted: head/textproc/yodl/files/patch-src_verbinsert_verbinsert.cc Modified: head/textproc/yodl/Makefile Modified: head/textproc/yodl/Makefile ============================================================================== --- head/textproc/yodl/Makefile Tue Jul 24 13:07:46 2018 (r475250) +++ head/textproc/yodl/Makefile Tue Jul 24 13:24:09 2018 (r475251) @@ -3,6 +3,7 @@ PORTNAME= yodl PORTVERSION= 3.10.00 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= bofh@FreeBSD.org Added: head/textproc/yodl/files/patch-src_verbinsert_main.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/yodl/files/patch-src_verbinsert_main.cc Tue Jul 24 13:24:09 2018 (r475251) @@ -0,0 +1,34 @@ +--- src/verbinsert/main.cc.orig 2018-07-22 13:07:15 UTC ++++ src/verbinsert/main.cc +@@ -2,6 +2,7 @@ + #include <fstream> + #include <iomanip> + #include <string> ++#include <cstdlib> + #include <unistd.h> + #include <regex> + +@@ -43,19 +44,19 @@ int main(int argc, char **argv) + continue; + + case 's': +- indent.append(stoul(optarg), ' '); ++ indent.append(stoul(optarg, NULL, 0), ' '); + continue; + + case 't': +- indent.insert(0, stoul(optarg), '\t'); ++ indent.insert(0, stoul(optarg, NULL, 0), '\t'); + continue; + + case 'S': +- vindent.append(stoul(optarg), ' '); ++ vindent.append(stoul(optarg, NULL, 0), ' '); + continue; + + case 'T': +- vindent.insert(0, stoul(optarg), '\t'); ++ vindent.insert(0, stoul(optarg, NULL, 0), '\t'); + continue; + + case 'N':
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807241324.w6ODO93S034757>