diff options
author | ume <ume@FreeBSD.org> | 2006-12-15 10:08:58 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-12-15 10:08:58 +0800 |
commit | bdd82f42337cb52d77eacfb80d6c926ef0178da8 (patch) | |
tree | d7b502561db87e35f84eae83e2e32e64411bcf25 | |
parent | 712f036c1ae7eb46eb8d26f2c28ae31882ea2708 (diff) | |
download | freebsd-ports-gnome-bdd82f42337cb52d77eacfb80d6c926ef0178da8.tar.gz freebsd-ports-gnome-bdd82f42337cb52d77eacfb80d6c926ef0178da8.tar.zst freebsd-ports-gnome-bdd82f42337cb52d77eacfb80d6c926ef0178da8.zip |
make it compilable with gcc 4.1.
Reported by: pointyhat via kris
-rw-r--r-- | security/cyrus-sasl2/files/patch-saslauthd::saslcache.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-saslauthd::saslcache.c b/security/cyrus-sasl2/files/patch-saslauthd::saslcache.c new file mode 100644 index 000000000000..7de41fe20d25 --- /dev/null +++ b/security/cyrus-sasl2/files/patch-saslauthd::saslcache.c @@ -0,0 +1,13 @@ +Index: saslauthd/saslcache.c +diff -u -p saslauthd/saslcache.c.orig saslauthd/saslcache.c +--- saslauthd/saslcache.c.orig Sat Mar 29 04:59:24 2003 ++++ saslauthd/saslcache.c Thu Dec 14 13:44:41 2006 +@@ -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; |