pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Failed build for wip/policykit



Jean-Yves Migeon wrote:
> Fix:
> The #include does not seem to point to the correct file for the pam_get_*
> prototypes. To make things short:
> 
> --- pam-polkit-console.c        2007-11-17 20:13:57.000000000 +0100
> +++ pam-polkit-console.c.new    2007-11-17 20:14:40.000000000 +0100
> @@ -40,7 +40,7 @@
> #include <stdarg.h>
> 
> #include <security/pam_modules.h>
> -#include <security/_pam_macros.h>
> +#include <security/pam_appl.h>
> #ifdef HAVE_PAM_MODUTIL_H
> #include <security/pam_modutil.h>
> 
> Since I have no idea on how to fix it properly, I am just giving some
> pointers.

The patch looks really good. I fixed it in the following way:

cd $pkgsrc/wip/policykit/work/*/pam-*
cp pam-polkit-console.c pam-polkit-console.c.orig
$editor pam-polkit-console.c

cd $pkgsrc/wip/policykit
bmake patches # (this is some code I've written for myself, the official
               # way is to use pkgdiff, I think.)
bmake mps     # regenerate the patch checksums
cvs add patches/patch-ad
cvs ci

Roland

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss




Home | Main Index | Thread Index | Old Index