Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2011 21:01:29 +0000
From:      "Philip M. Gollucci" <pgollucci@gmail.com>
To:        Steve Wills <swills@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, "Philip M. Gollucci" <pgollucci@gmail.com>, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/x11-toolkits/ruby-gtk2/files patch-rbgtkrecentfilterinfo.c
Message-ID:  <4EDE82A9.2050306@p6m7g8.com>
In-Reply-To: <d4c3a2fa91ab4b8cf494536a0873a751.squirrel@mouf.net>
References:  <201112060247.pB62lW9f062884@repoman.freebsd.org> <4EDE5A09.4090406@p6m7g8.com> <d4c3a2fa91ab4b8cf494536a0873a751.squirrel@mouf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig941EBDD3E4E863725A1B3811
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/06/11 20:21, Steve Wills wrote:
>> Really ?  UTF8 in comments ?  GCC should handle that though not
>> technically valid C89/99 I forget.  Its clang/sun compiler that yells.=

>>
>>
>=20
> GCC has nothing to do with it, unfortunately. The file in question is
> parsed by ruby and a regex is applied. Ruby 1.9 complains with:
>=20
> extconf.rb:123:in `block (2 levels) in run': invalid byte sequence in
> US-ASCII (ArgumentError)
>=20
> Apparently it's unwilling to perform a regex on data that it thinks sho=
uld
> be US-ASCII only but turns out to be UTF8? I'm not sure. If you find a
> better solution, by all means let me know.

Update extconf.rb:123 to use the /u flag in the regex. Though I'm not
sure why the comment has multi-byte stings to begin with.




--=20
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


--------------enig941EBDD3E4E863725A1B3811
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFO3oKrdbiP+9ubjBwRAo+eAJ9NKp2ExmeH/7trPcNvGFndn+KqSQCfWV40
QHyv6n1n91R0ML/MQ39QcTs=
=Cv46
-----END PGP SIGNATURE-----

--------------enig941EBDD3E4E863725A1B3811--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDE82A9.2050306>