From owner-freebsd-current Sun Sep 22 13:28:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C36737B401 for ; Sun, 22 Sep 2002 13:28:24 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8E043E3B for ; Sun, 22 Sep 2002 13:28:23 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 4210842AC; Sun, 22 Sep 2002 21:28:09 +0100 (BST) Date: Sun, 22 Sep 2002 21:28:09 +0100 From: Josef Karthauser To: current@FreeBSD.ORG Subject: Re: Fixing ports/palm/coldsync. Message-ID: <20020922202809.GA47162@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , current@FreeBSD.ORG References: <20020922154232.GA664@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <20020922154232.GA664@genius.tao.org.uk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --RASg3xLB4tUQ4RcS Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 22, 2002 at 04:42:32PM +0100, Josef Karthauser wrote: > Has anyone here got the time to help me out? I want to fix the uvisor > code so that it works properly, but am getting caught up trying to fix > the coldsync port. It compiles on -stable, but has been broken on > -current for a while. Something changed in the fd_set area and it's not > compiled for a long time. I'd really appreciate it is someone with a > knowledge of select foo could help me work out what's wrong. Did we > tighten something up in -current, or have we deprecated something? Mark Trettin sent me a patch (attached for reference). Thanks Mark, Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-config.h" Content-Transfer-Encoding: quoted-printable --- config.h.in.orig Sun Sep 22 13:41:09 2002 +++ config.h.in Sun Sep 22 13:42:40 2002 @@ -316,19 +316,6 @@ */ #endif /* HAVE_O_BINARY */ =20 -#ifndef _POSIX_C_SOURCE -# define _POSIX_C_SOURCE 2 -#endif /* _POSIX_C_SOURCE */ - -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif - -#ifndef _XOPEN_SOURCE_EXTENDED - /* Provides declaration for lstat() under DU, and strdup() under Linux = */ -# define _XOPEN_SOURCE_EXTENDED -#endif /* _XOPEN_SOURCE_EXTENDED */ - #if __GNUC__ =20 /* The following should fix gcc complaining about missing --bg08WKrSYDhXBjb5-- --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj2OJ9gACgkQXVIcjOaxUBagfQCeKl/KQg6DRCrJyS1/gFhJo4AD WYQAnjgwoVj6GwSZoMqAT9s5eT+uiLHo =F9jR -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message