Subject: Re: pkg/34132
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Freidank, Kenneth <Kenneth.Freidank@delta.com>
List: pkgsrc-bugs
Date: 08/03/2006 17:45:02
The following reply was made to PR pkg/34132; it has been noted by GNATS.
From: "Freidank, Kenneth" <Kenneth.Freidank@delta.com>
To: <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/34132
Date: Thu, 3 Aug 2006 13:43:53 -0400
1) Create the following patch file "patch-ar" in the "patches"
directory, then 2) run "make makechecksum" to fix the patch file
checksums. 3) A subsequent build should work.
STEP 1
$vi patches/patch-ar
(cut & paste the following while in vi's insert mode)
(the leading spaces are a space followed by 1 tab)
(the spaces following a '-' or a '+' are a single tab)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D do not cut & paste this =
line =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
$NetBSD$
--- rf/ustr.h.orig 2002-03-06 09:13:01.000000000 -0500
+++ rf/ustr.h
@@ -175,13 +175,13 @@ public :
//! concatenate
UStr & operator<<(int addToStr);
//! concatenate
- UStr & UStr::operator+=3D(int addToStr);
+ UStr & operator+=3D(int addToStr);
//! concatenate
- UStr & UStr::operator+=3D(char *addToStr);
+ UStr & operator+=3D(char *addToStr);
//! concatenate
- UStr & UStr::operator+=3D(const char *addToStr);
+ UStr & operator+=3D(const char *addToStr);
//! concatenate
- UStr & UStr::operator+=3D(const Ustr & addToStr);
+ UStr & operator+=3D(const Ustr & addToStr);
//! compare
inline int compare(const char *thestr) const { return
strcmp(*this, thestr); }
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D do not cut & paste this =
line =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
:wq (colon write file & quit vi)
STEP 2
$make makepatchsum
STEP 3
$make clean
$make package
Kenneth Freidank
kennethcf@earthlink.net