From owner-freebsd-questions Mon Sep 3 23:22:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-54.dsl.lsan03.pacbell.net [63.207.60.54]) by hub.freebsd.org (Postfix) with ESMTP id 2C28737B40C for ; Mon, 3 Sep 2001 23:22:07 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5A09166D0A; Mon, 3 Sep 2001 23:22:06 -0700 (PDT) Date: Mon, 3 Sep 2001 23:22:06 -0700 From: Kris Kennaway To: Manas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: i had to hack regex.h file Message-ID: <20010903232206.C42261@xor.obsecurity.org> References: <20010904060246.73341.qmail@web10706.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="8NvZYKFJsRX2Djef" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010904060246.73341.qmail@web10706.mail.yahoo.com>; from bhatt_manas@yahoo.com on Mon, Sep 03, 2001 at 11:02:46PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 03, 2001 at 11:02:46PM -0700, Manas wrote: > Then i search for off_t in other header file and found > that it was defined in sys/types.h which i duly > included in regex.h and the gnut got build properly. > My questions is this. Is it alright for me to hack > header files like this and should i now revert the > changes that i have made.=20 > thanks Usually it's breakage in the source, not in the headers. In particular, Linux includes way more headers within other headers than it's supposed to according to standards, so a lot of software which is written for Linux is unportable because it wrongly expects half of the #include work to be done automatically. If you were using the FreeBSD gnut port, you wouldn't have had to do any of this because I already added "#include " to the one file in the gnut source code which needs it. Kris --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7lHMNWry0BWjoQKURAjpzAKD36RY7GV9VYI1NDVWXDlgaiv4SwACfRkVb FgZXb0AJKtGfvN9vtauNpfI= =5EKT -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message