Page MenuHomeFreeBSD

D1567.1796410684.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D1567.1796410684.diff

Index: Makefile
===================================================================
--- Makefile
+++ Makefile
@@ -2,15 +2,17 @@
# $FreeBSD$
PORTNAME= yodl
-PORTVERSION= 3.04.00
+PORTVERSION= 3.05.00
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .orig.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Easy to use but powerful document formatting/preparation language
+LICENSE= GPLv3
+
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
${LOCALBASE}/bin/getopt:${PORTSDIR}/misc/getopt
BUILD_DEPENDS= icmake:${PORTSDIR}/devel/icmake \
Index: distinfo
===================================================================
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (yodl_3.04.00.orig.tar.gz) = 66b317877906e165506796f9342a1adf931376f7d8b6990b2d2ff12107685893
-SIZE (yodl_3.04.00.orig.tar.gz) = 296554
+SHA256 (yodl_3.05.00.orig.tar.gz) = 2f360062a85f9359207088b2586da863e2b111428f3e12486cd34c9de12b1b8a
+SIZE (yodl_3.05.00.orig.tar.gz) = 301612
Index: files/patch-src_verbinsert_verbinsert.cc
===================================================================
--- files/patch-src_verbinsert_verbinsert.cc
+++ files/patch-src_verbinsert_verbinsert.cc
@@ -0,0 +1,34 @@
+--- src/verbinsert/verbinsert.cc.orig 2015-01-20 18:56:00.226610975 +0600
++++ src/verbinsert/verbinsert.cc 2015-01-20 18:56:46.890607566 +0600
+@@ -2,6 +2,7 @@
+ #include <fstream>
+ #include <iomanip>
+ #include <string>
++#include <cstdlib>
+ #include <unistd.h>
+
+ using namespace std;
+@@ -37,19 +38,19 @@
+ continue;
+
+ case 's':
+- indent.append(stoul(optarg), ' ');
++ indent.append(strtoul(optarg, NULL, 0), ' ');
+ continue;
+
+ case 't':
+- indent.insert(0, stoul(optarg), '\t');
++ indent.insert(0, strtoul(optarg, NULL, 0), '\t');
+ continue;
+
+ case 'S':
+- vindent.append(stoul(optarg), ' ');
++ vindent.append(strtoul(optarg, NULL, 0), ' ');
+ continue;
+
+ case 'T':
+- vindent.insert(0, stoul(optarg), '\t');
++ vindent.insert(0, strtoul(optarg, NULL, 0), '\t');
+ continue;
+
+ case 'N':

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 4, 6:58 PM (4 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42204085
Default Alt Text
D1567.1796410684.diff (2 KB)

Event Timeline