From c74021d9e4f24fead58f451fc34d1b7323373b1a Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 11 Aug 2006 12:50:40 +0000 Subject: Make this package compile with gcc-4. Bump PKGREVISION. --- security/cyrus-saslauthd/Makefile | 4 ++-- security/cyrus-saslauthd/distinfo | 3 ++- security/cyrus-saslauthd/patches/patch-ah | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 security/cyrus-saslauthd/patches/patch-ah (limited to 'security') diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile index 9bfd730fb57..0f8b3df5936 100644 --- a/security/cyrus-saslauthd/Makefile +++ b/security/cyrus-saslauthd/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.32 2006/04/19 17:58:01 tv Exp $ +# $NetBSD: Makefile,v 1.33 2006/08/11 12:51:32 taca Exp $ DISTNAME= cyrus-sasl-2.1.21 PKGNAME= ${DISTNAME:S/sasl/saslauthd/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/ diff --git a/security/cyrus-saslauthd/distinfo b/security/cyrus-saslauthd/distinfo index 9f67ebfab8a..862a3aa1620 100644 --- a/security/cyrus-saslauthd/distinfo +++ b/security/cyrus-saslauthd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2006/04/18 17:42:59 jlam Exp $ +$NetBSD: distinfo,v 1.8 2006/08/11 12:51:32 taca Exp $ SHA1 (cyrus-sasl-2.1.21.tar.gz) = 6449f730c963d29d43600a95373a6e2db52d6d66 RMD160 (cyrus-sasl-2.1.21.tar.gz) = 93e0e1868453c5781602b5cce23e746b8823a26b @@ -10,3 +10,4 @@ SHA1 (patch-ad) = c14defd79e6e0cec153be004fff3016ad6f0e731 SHA1 (patch-ae) = de944306bcc8609a3353bf713876e0d42c9d05f9 SHA1 (patch-af) = 0477e862dbc10d67fb0b82862eea612c81e46e39 SHA1 (patch-ag) = d0dbe55b9a91ed49e2e43c2ef44e141ac86a83c7 +SHA1 (patch-ah) = d4dc5858ef1b36d10fae729469262450ff2e3fef diff --git a/security/cyrus-saslauthd/patches/patch-ah b/security/cyrus-saslauthd/patches/patch-ah new file mode 100644 index 00000000000..cd3e3774748 --- /dev/null +++ b/security/cyrus-saslauthd/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2006/08/11 12:51:32 taca Exp $ + +--- saslcache.c.orig 2003-03-29 04:59:24.000000000 +0900 ++++ saslcache.c +@@ -137,7 +137,7 @@ int main(int argc, char **argv) { + } + + table_stats = shm_base + 64; +- (char *)table = (char *)table_stats + 128; ++ table = (struct bucket *)((char *)table_stats + 128); + + if (dump_stat_info == 0 && dump_user_info == 0) + dump_stat_info = 1; -- cgit v1.2.3