diff --git a/cyrus-sasl/.md5sum b/cyrus-sasl/.md5sum index 4f467b7a9..f7c33cda8 100644 --- a/cyrus-sasl/.md5sum +++ b/cyrus-sasl/.md5sum @@ -1,2 +1,3 @@ +7ffb3d7e147470f26041c005847512cf cyrus-sasl-2.1.23-gcc44.patch 2eb0e48106f0e9cd8001e654f267ecbc cyrus-sasl-2.1.23.tar.gz ec81c1d452216c3da110d7b9a6f8fa8f saslauthd diff --git a/cyrus-sasl/Pkgfile b/cyrus-sasl/Pkgfile index 800c16bf6..4dd1b03cb 100644 --- a/cyrus-sasl/Pkgfile +++ b/cyrus-sasl/Pkgfile @@ -6,13 +6,15 @@ name=cyrus-sasl version=2.1.23 -release=1 +release=2 source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz \ - saslauthd) + saslauthd $name-$version-gcc44.patch) build(){ cd $name-$version + patch -p0 -i $SRC/$name-$version-gcc44.patch + ./configure \ --prefix=/usr \ --sysconfdir=/etc/sasl \ diff --git a/cyrus-sasl/cyrus-sasl-2.1.23-gcc44.patch b/cyrus-sasl/cyrus-sasl-2.1.23-gcc44.patch new file mode 100644 index 000000000..79ee408a9 --- /dev/null +++ b/cyrus-sasl/cyrus-sasl-2.1.23-gcc44.patch @@ -0,0 +1,20 @@ +--- plugins/digestmd5.c~ 2008-11-08 18:28:21.000000000 +0000 ++++ plugins/digestmd5.c 2008-11-08 18:28:50.000000000 +0000 +@@ -2715,7 +2715,7 @@ + "DIGEST-MD5", /* mech_name */ + #ifdef WITH_RC4 + 128, /* max_ssf */ +-#elif WITH_DES ++#elif defined(WITH_DES) + 112, + #else + 1, +@@ -4034,7 +4034,7 @@ + "DIGEST-MD5", + #ifdef WITH_RC4 /* mech_name */ + 128, /* max ssf */ +-#elif WITH_DES ++#elif defined(WITH_DES) + 112, + #else + 1,