From owner-freebsd-ports@FreeBSD.ORG Fri Oct 31 16:05:06 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60DF216A516; Fri, 31 Oct 2003 16:05:06 -0800 (PST) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EEF443FDF; Fri, 31 Oct 2003 16:05:04 -0800 (PST) (envelope-from pav@oook.cz) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.12.10/8.12.10) with ESMTP id hA1053In095514; Sat, 1 Nov 2003 01:05:03 +0100 (CET) (envelope-from pav@oook.cz) Received: (from pav@localhost) by hood.oook.cz (8.12.10/8.12.10/Submit) id hA1052jt095513; Sat, 1 Nov 2003 01:05:02 +0100 (CET) (envelope-from pav@oook.cz) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@oook.cz using -f From: Pav Lucistnik To: knu@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-VrwH+LuEeE0wxuQzjx5f" Message-Id: <1067645102.27451.76.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 01 Nov 2003 01:05:02 +0100 cc: freebsd-ports@freebsd.org Subject: ruby16-shim-ruby18 broken on stable (patch) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 00:05:06 -0000 --=-VrwH+LuEeE0wxuQzjx5f Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I can't build ruby16-shim-ruby18 1.8.1 preview2, commited earlier today, on my -STABLE box.=20 Here is an error output: cc -fPIC -O -pipe -march=3Dpentium-mmx -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd5 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/io/wait -DHAVE_FIONREAD -DFIONREAD_HEADER=3D"" -c -o wait.o wait.c wait.c: In function `io_wait': wait.c:74: storage size of `timerec' isn't known wait.c:83: invalid use of undefined type `struct timeval' *** Error code 1 And here is an quick patch: --- shim/ruby16/ext/io/wait/wait.c.orig Sat Nov 1 01:00:12 2003 +++ shim/ruby16/ext/io/wait/wait.c Sat Nov 1 00:59:14 2003 @@ -16,6 +16,7 @@ =20 #include #include FIONREAD_HEADER +#include =20 static VALUE io_ready_p _((VALUE io)); static VALUE io_wait _((int argc, VALUE *argv, VALUE io)); --=20 Pav Lucistnik What do we know about love? Love is like a pear. Pear is sweet and have a specific shape. Try to exactly define the shape of a pear. -- Marigold: 50 Years Of Poetry --=-VrwH+LuEeE0wxuQzjx5f Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/oviuntdYP8FOsoIRAhodAKDGp1fgBaLf3s/mBJEOl3zDhqzqPwCgqYBR aktpf3Mgk1mvWqrQudcqkSU= =3LTt -----END PGP SIGNATURE----- --=-VrwH+LuEeE0wxuQzjx5f--