Subject: Re: pkg/31867: php-mbstring-4.4.0nb1 does not patch cleanly
To: None <cube@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bugs
Date: 10/24/2005 21:57:02
The following reply was made to PR pkg/31867; it has been noted by GNATS.

From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: neil.hoggarth@physiol.ox.ac.uk
Subject: Re: pkg/31867: php-mbstring-4.4.0nb1 does not patch cleanly
Date: Mon, 24 Oct 2005 23:49:38 +0200

 --bAr+fMtvBxbbbkvl
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, Oct 19, 2005 at 08:59:00AM +0000, neil.hoggarth@physiol.ox.ac.uk wr=
 ote:
 > >Number:         31867
 > >Category:       pkg
 > >Synopsis:       php-mbstring-4.4.0nb1 does not patch cleanly
 > >Release:        Solaris 9
 > >Organization:
 > Laboratory of Physiology, Oxford University
 > >Environment:
 > SunOS saros 5.9 Generic_118558-10 sun4u sparc SUNW,Ultra-30
 > >Description:
 > I just tried to build php-mbstring-4.4.0nb1. The build fails at the
 > patching stage:
 
 Could you try the following patch?  Against lang/php/ext.mk.
 
 Index: ext.mk
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/lang/php/ext.mk,v
 retrieving revision 1.10
 diff -u -r1.10 ext.mk
 --- ext.mk	4 Oct 2005 16:50:50 -0000	1.10
 +++ ext.mk	24 Oct 2005 21:46:08 -0000
 @@ -82,7 +82,7 @@
  do-patch:
  	cd ${WRKSRC}; \
  	for p in `${EGREP} -l '^\+\+\+ ext/${MODNAME}/' ${PATCHDIR}/patch-*`;do\
 -		${SED} -e 's,^+++ ext/${MODNAME}/,+++ ,' $$p | ${PATCH}; \
 +		${SED} -e 's,^+++ ext/${MODNAME}/,+++ ,' $$p | ${PATCH} ${PATCH_ARGS}; \
  	done
  .endif
 =20
 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 
 --bAr+fMtvBxbbbkvl
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)
 
 iQEVAwUBQ11W8tgoQloHrPnoAQJyBAf+NVib7GLMzt5hnysqVyPPQsjNOKjy7HB9
 uqOwCQ1oqmrk5cWA2kxf1H7YLxOrbSBF3dhTI6R+tCZ5/5VDlLn84O+oFAh4r9c4
 rbJq1X8BQFLlqL86vRbxXjbAo2oGTGOo0eNbPDyK3rGIwbenmeryDOweROhsdUCh
 W724ad/yTLOpnK2Pax1nHQPafT3YJG9iWCVyeg2i987hcd6v6UYHGwolYC9gZT+D
 TUuqCd4Vn+FZNk1//AOvAVEcuIteshR9FHaxYXoHQEnpiUt7N34MzRCyj4iUiNU7
 EUkXgRveJgp0E+HZKHrA5G4ntxvfB/HGJ4cScWk3ey2Mj4YJiYRHlw==
 =3XsO
 -----END PGP SIGNATURE-----
 
 --bAr+fMtvBxbbbkvl--