From owner-freebsd-ports Sat Feb 10 9: 0: 9 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mile.nevermind.kiev.ua (ppp-244.nav.kiev.ua [213.169.65.244]) by hub.freebsd.org (Postfix) with ESMTP id 70F0B37B401 for ; Sat, 10 Feb 2001 08:59:45 -0800 (PST) Received: (from never@localhost) by mile.nevermind.kiev.ua (8.11.1/8.11.1) id f1AGxgI32203 for freebsd-ports@freebsd.org; Sat, 10 Feb 2001 18:59:42 +0200 (EET) (envelope-from never) Date: Sat, 10 Feb 2001 18:59:40 +0200 From: Nevermind To: freebsd-ports@freebsd.org Subject: [PATCH] for new ratpoison port Message-ID: <20010210185940.A32192@nevermind.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Pd0ReVV5GZGQvF3a Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Attached is patch to avoid one warning while compiling getopt.c included in this port. --=20 NEVE-RIPE The instructions said to install Windows 98 or better, so I installed FreeBSD. --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-aa Content-Transfer-Encoding: quoted-printable --- work/ratpoison-0.0.5/src/getopt.c Tue Oct 31 03:27:34 2000 +++ work/ratpoison-0.0.5/src/getopt.c.new Sat Feb 10 18:54:47 2001 @@ -690,6 +690,7 @@ else { if (opterr) + { if (argv[optind - 1][1] =3D=3D '-') /* --option */ fprintf (stderr, @@ -700,7 +701,7 @@ fprintf (stderr, _("%s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); - + } nextchar +=3D strlen (nextchar); =20 optopt =3D pfound->val; --6c2NcOVqGQ03X4Wi-- --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6hXN5pCk6epJSQlIRAqN3AKCHmvAWdIn07AqbyCwidO4zyZp5gwCeJgyS 23AEDz0UyeB1nwns1hYbpjI= =uTKV -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message