[MacPorts] #21684: Error building GDM / gdm-session-worker.c
MacPorts
noreply at macports.org
Sun Feb 7 01:11:10 PST 2010
#21684: Error building GDM / gdm-session-worker.c
------------------------------+---------------------------------------------
Reporter: lefsky@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: gdm
------------------------------+---------------------------------------------
Comment(by sawtdk@…):
Replying to [comment:9 pope@…]:
> Replying to [comment:7 sawtdk@…]:
> > Replying to [comment:4 jmr@…]:
> > > According to someone on the mailing list it's just a matter of
including <pam/pam_appl.h> vs <security/pam_appl.h>.
> >
> > Can you explain how you would do that??
>
> So for 10.6, the correct header is <security/pam_appl.h>. However, a
couple of patch files with the gdm are changing security/pam_appl.h to
pam/appl.h to make it work with 10.5. I don't know what the right
solution is other than to conditionally set what the patch files should be
between OSes, but I just created a copy of the gdm port as a local project
with my changes. It's ugly, but it worked for me to just get it done.
Ahh it worked!
I searched for the gdm-session-worker.c file; and changed the line "
#include <pam/pam_appl.h> " to " #include <security/pam_appl.h> "
--
Ticket URL: <http://trac.macports.org/ticket/21684#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list