From owner-freebsd-gnome Sun Feb 10 3:28: 5 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from CRWdog.demon.co.uk (adsl-216-103-105-71.dsl.snfc21.pacbell.net [216.103.105.71]) by hub.freebsd.org (Postfix) with ESMTP id F251137B419 for ; Sun, 10 Feb 2002 03:27:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id 601CA3E2D for ; Sun, 10 Feb 2002 03:27:50 -0800 (PST) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-gnome@freebsd.org Subject: GtK library problem? Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1928701752P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sun, 10 Feb 2002 03:27:50 -0800 From: Andy Sparrow Message-Id: <20020210112750.601CA3E2D@CRWdog.demon.co.uk> Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==_Exmh_-1928701752P Content-Type: text/plain; charset=us-ascii Hi, Please excuse me if this has been asked before, I can't find any archives for this list... The port for gtk12 in -STABLE defines HAVE_GETRESUID in the 'config.h' file it generates, and thus the appropriate snippet of code is enabled in 'gtkmain.c', in the 'check_setugid()' function. This appears to be because FreeBSD actually has one of these (in the kernel?), although it's hidden. However, it's not available to userland programs, thus this define is bogus. This makes Applix (the native FreeBSD one, from the Desktop edition) blow up at runtime, because it can't find the 'getresuid()' call. I don't know why it's only Applix that seems to blow up (I've got a bunch of other stuff that uses Gtk without any problems) and the fix is relatively simple, but it gets kind of old having to remember to manually frob Gtk everytime I rebuild my ports. Any chance that someone more familiar with this could make the gtk12 port DTRT? The best suggestion I can come up with is a fairly inelegant post-configuration script to comment out the definition. Please 'cc' me on any reply, as I'm not subscribed to this list. Cheers, AS --==_Exmh_-1928701752P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE8Zlk2PHh895bDXeQRAtHLAJ41W8nWfSkaOfzoIR7yPy2Z3T68GgCgoTH2 5vC2p9g6vspGxxwXWLaYRQ4= =650g -----END PGP SIGNATURE----- --==_Exmh_-1928701752P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message