ports/83244: spell corrections
Mark Starovoytov
mark_sf at kikg.ifmo.ru
Mon Jul 11 05:30:19 UTC 2005
>Number: 83244
>Category: ports
>Synopsis: spell corrections
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 11 05:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Mark Starovoytov
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
FreeBSD relay.rubinrelax.spb.ru 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jul 4 14:23:57 MSD 2005 root@:/usr/obj/usr/src/sys/RUBY i386
>Description:
spell corrections
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/devel/dotconf++/files/
# /usr/ports/devel/dotconf++/files/patch-src-Makefile.in
# /usr/ports/devel/dotconf++/files/patch-README
# /usr/ports/devel/dotconf++/files/patch-doc-dotconfpp.html
# /usr/ports/devel/dotconf++/files/patch-src-dotconfpp.cc
# /usr/ports/devel/dotconf++/files/patch-src-dotconfpp.h
# /usr/ports/devel/dotconf++/files/patch-src-example1.cc
# /usr/ports/devel/dotconf++/files/patch-src-example2.cc
#
echo c - /usr/ports/devel/dotconf++/files/
mkdir -p /usr/ports/devel/dotconf++/files/ > /dev/null 2>&1
echo x - /usr/ports/devel/dotconf++/files/patch-src-Makefile.in
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-src-Makefile.in << 'END-of-/usr/ports/devel/dotconf++/files/patch-src-Makefile.in'
X--- src/Makefile.in.orig Fri Jun 25 14:13:09 2004
X+++ src/Makefile.in Thu Jul 7 15:16:26 2005
X@@ -116,7 +116,7 @@
X host_cpu = @host_cpu@
X host_os = @host_os@
X host_vendor = @host_vendor@
X-includedir = /usr/local/include/dotconf++
X+includedir = @prefix@/include/dotconf++
X infodir = @infodir@
X install_sh = @install_sh@
X libdir = @libdir@
X@@ -132,7 +132,7 @@
X target_alias = @target_alias@
X EXTRA_DIST = dotconfpp.h mempool.h mempool.cc
X
X-LIBdir = /usr/local/lib
X+LIBdir = @prefix@/lib
X SUBDIRS = . example1 example2
X
X INCLUDES = -I.
END-of-/usr/ports/devel/dotconf++/files/patch-src-Makefile.in
echo x - /usr/ports/devel/dotconf++/files/patch-README
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-README << 'END-of-/usr/ports/devel/dotconf++/files/patch-README'
X--- README.orig Fri May 16 12:25:35 2003
X+++ README Thu Jul 7 17:01:27 2005
X@@ -80,9 +80,9 @@
X 1. Opening configuration file
X * Create configuration document object:
X
X- DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);
X+ DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);
X or
X- DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASESENSETIVE);
X+ DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASESENSITIVE);
X * [OPTIONAL] Set required options
X
X const char * requiredOptions[] = {"Users", NULL};
END-of-/usr/ports/devel/dotconf++/files/patch-README
echo x - /usr/ports/devel/dotconf++/files/patch-doc-dotconfpp.html
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-doc-dotconfpp.html << 'END-of-/usr/ports/devel/dotconf++/files/patch-doc-dotconfpp.html'
X--- doc/dotconfpp.html.orig Fri May 16 12:26:05 2003
X+++ doc/dotconfpp.html Thu Jul 7 17:06:38 2005
X@@ -133,10 +133,10 @@
X <li>Create configuration document object:<br>
X <br style="color: rgb(0, 0, 255);">
X <span style="color: rgb(0, 0, 255);">DOTCONFDocument * conf =
X-new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);<br>
X+new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);<br>
X <span style="color: rgb(0, 0, 0);">or<br>
X </span></span><span style="color: rgb(0, 0, 255);">DOTCONFDocument
X-* conf = new DOTCONFDocument(DOTCONFDocument::CASESENSETIVE);<br>
X+* conf = new DOTCONFDocument(DOTCONFDocument::CASESENSITIVE);<br>
X <br>
X </span></li>
X <li><span style="color: rgb(0, 0, 255);"><span
END-of-/usr/ports/devel/dotconf++/files/patch-doc-dotconfpp.html
echo x - /usr/ports/devel/dotconf++/files/patch-src-dotconfpp.cc
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-src-dotconfpp.cc << 'END-of-/usr/ports/devel/dotconf++/files/patch-src-dotconfpp.cc'
X--- src/dotconfpp.cc.orig Fri Jun 25 14:03:20 2004
X+++ src/dotconfpp.cc Thu Jul 7 17:03:58 2005
X@@ -53,7 +53,7 @@
X mempool(NULL),
X curParent(NULL), curPrev(NULL), curLine(0), file(NULL), fileName(NULL)
X {
X- if(caseSensitivity == CASESENSETIVE){
X+ if(caseSensitivity == CASESENSITIVE){
X cmp_func = strcmp;
X } else {
X cmp_func = strcasecmp;
END-of-/usr/ports/devel/dotconf++/files/patch-src-dotconfpp.cc
echo x - /usr/ports/devel/dotconf++/files/patch-src-dotconfpp.h
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-src-dotconfpp.h << 'END-of-/usr/ports/devel/dotconf++/files/patch-src-dotconfpp.h'
X--- src/dotconfpp.h.orig Wed May 14 19:10:26 2003
X+++ src/dotconfpp.h Thu Jul 7 17:02:43 2005
X@@ -75,7 +75,7 @@
X class DOTCONFDocument
X {
X public:
X- enum CaseSensitive { CASESENSETIVE, CASEINSENSETIVE };
X+ enum CaseSensitive { CASESENSITIVE, CASEINSENSITIVE };
X protected:
X AsyncDNSMemPool * mempool;
X private:
X@@ -103,7 +103,7 @@
X virtual void error(int lineNum, const char * fileName, const char * fmt, ...);
X
X public:
X- DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSETIVE);
X+ DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSITIVE);
X virtual ~DOTCONFDocument();
X
X int setContent(const char * _fileName);
END-of-/usr/ports/devel/dotconf++/files/patch-src-dotconfpp.h
echo x - /usr/ports/devel/dotconf++/files/patch-src-example1.cc
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-src-example1.cc << 'END-of-/usr/ports/devel/dotconf++/files/patch-src-example1.cc'
X--- src/example1/example1.cc.orig Sat Apr 10 17:22:00 2004
X+++ src/example1/example1.cc Thu Jul 7 17:05:04 2005
X@@ -54,7 +54,7 @@
X
X int main()
X {
X- DOTCONFDocument *conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);
X+ DOTCONFDocument *conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);
X const DOTCONFDocumentNode * node = NULL;
X const char * v = NULL;
X char * fqdn = NULL;
END-of-/usr/ports/devel/dotconf++/files/patch-src-example1.cc
echo x - /usr/ports/devel/dotconf++/files/patch-src-example2.cc
sed 's/^X//' >/usr/ports/devel/dotconf++/files/patch-src-example2.cc << 'END-of-/usr/ports/devel/dotconf++/files/patch-src-example2.cc'
X--- src/example2/example2.cc.orig Thu Jul 7 17:05:21 2005
X+++ src/example2/example2.cc Thu Jul 7 17:05:27 2005
X@@ -51,7 +51,7 @@
X
X int main(int argc, char * argv[])
X {
X- DOTCONFDocument conf(DOTCONFDocument::CASEINSENSETIVE);
X+ DOTCONFDocument conf(DOTCONFDocument::CASEINSENSITIVE);
X
X conf.setRequiredOptionNames(requiredOptions);
X
END-of-/usr/ports/devel/dotconf++/files/patch-src-example2.cc
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list