Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 18:59:40 +0200
From:      Nevermind <never@nevermind.kiev.ua>
To:        freebsd-ports@freebsd.org
Subject:   [PATCH] for new ratpoison port
Message-ID:  <20010210185940.A32192@nevermind.kiev.ua>

next in thread | raw e-mail | index | archive | help

--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




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