From kde-buildsystem Wed Jan 13 05:55:48 2010 From: Benjamin Reed Date: Wed, 13 Jan 2010 05:55:48 +0000 To: kde-buildsystem Subject: Re: getgrouplist error Mac patch Message-Id: <57eba2251001122155h725d268ft685613aa9f7b4fbc () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=126336218031688 On Mon, Jan 4, 2010 at 4:41 AM, Mike Arthur wrote: >> http://pastebin.ca/1737071 > > Sorry, I'm confused. Is this building KDELibs under Macports or compiling by hand? Also, is this your patch or the patch by Macports? I'm finally having a chance to update the Fink packages to something modern, and I hit the same issue building 4.4rc1 -- my patch is slightly different, however. It works fine by changing the test to: check_symbol_exists(getgrouplist "unistd.h;grp.h" HAVE_GETGROUPLIST) # kdecore/fakes.c (I don't know if this has implications otherwise, but I'm assuming it's pretty safe to say unistd.h is on every KDE-supporting platform...?) The symptom is that since the getgrouplist function is defined in unistd.h (and it's not pulled in properly by grp.h) on OSX, it thinks that getgrouplist doesn't exist, and it tries to use the kdecore fake version instead, which then causes conflicts at link-time. -- Benjamin Reed a.k.a. Ranger Rick Fink, KDE, and Mac OS X development Blog: http://www.raccoonfink.com/ Music: http://music.raccoonfink.com/ _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem