head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2011.10.17.08.47.52; author obache; state dead; branches; next 1.1; 1.1 date 2011.01.25.09.07.58; author obache; state Exp; branches; next ; desc @@ 1.2 log @Update pam-af to 1.0.2. Bug fix release. @ text @$NetBSD: patch-ae,v 1.1 2011/01/25 09:07:58 obache Exp $ * catch `getopt' with `int' to cath `-1' correctly. --- pam_af_tool/pam_af_tool.c.orig 2005-10-15 13:26:37.000000000 +0000 +++ pam_af_tool/pam_af_tool.c @@@@ -199,7 +199,8 @@@@ handle_ruleadd(argc, argv) datum key, data; struct myaddrinfo *res, *res0; char buf[1024], *tmp; - char ch, *ep; + int ch; + char *ep; int flags = 0, dbflags; int ret; @ 1.1 log @* Note comments to patch files. * detect recent OpenPAM correctly * catch getopt(3) with `int' for platforms that char will never be -1. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @