Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123227 - OpenPAM cannot compile on Gentoo/NetBSD with gcc-3.4.5
Summary: OpenPAM cannot compile on Gentoo/NetBSD with gcc-3.4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 21:03 UTC by Benigno B. Junior (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openpam-20050201-gentoo.patch (openpam-20050201-gentoo.patch,7.00 KB, patch)
2006-02-17 21:03 UTC, Benigno B. Junior (RETIRED)
Details | Diff
openpam-gcc-3.4.5.patch (openpam-gcc-3.4.5.patch,449 bytes, patch)
2006-02-17 21:28 UTC, Benigno B. Junior (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benigno B. Junior (RETIRED) gentoo-dev 2006-02-17 21:03:02 UTC
There's a problem when compiling OpenPAM's code with the specs in the title. I've noticed that Zoulas has touched pam_debug_log.c and pam_mod_misc.h a bit, dating 2004/12/12, and they work fine here.

I created a patch to include the actual Gentoo/FreeBSD's patch, but with these two updated files. I wonder if it works fine on Gentoo/FreeBSD as well. The patch goes below.
Comment 1 Benigno B. Junior (RETIRED) gentoo-dev 2006-02-17 21:03:48 UTC
Created attachment 80059 [details, diff]
openpam-20050201-gentoo.patch
Comment 2 Benigno B. Junior (RETIRED) gentoo-dev 2006-02-17 21:28:05 UTC
Created attachment 80060 [details, diff]
openpam-gcc-3.4.5.patch

I'm attaching a patch with the specific char which should be replaced by const char, from where gcc 3.4.5 complains.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-18 03:33:23 UTC
Applied incremental patch.