summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Gloßner <viper@hometux.de>2006-03-16 15:22:03 +0000
committerSimon Gloßner <viper@hometux.de>2006-03-16 15:22:03 +0000
commit165c00dbf328519344c9a23986b583d960e5fc48 (patch)
tree8af3604d76ab2151eb576bcc490ddc99d00cb36e
parent173b033048c6bce8b9a1a2718c78edb1b1504bcf (diff)
downloadopt-165c00dbf328519344c9a23986b583d960e5fc48.tar.gz
opt-165c00dbf328519344c9a23986b583d960e5fc48.tar.xz
Added a patch which is necessary if you want to compile cyrus-sasl with
gcc4.
-rw-r--r--cyrus-sasl/.md5sum1
-rw-r--r--cyrus-sasl/Pkgfile4
-rw-r--r--cyrus-sasl/cyrus-sasl-2.1.21-gcc4.patch11
3 files changed, 16 insertions, 0 deletions
diff --git a/cyrus-sasl/.md5sum b/cyrus-sasl/.md5sum
index 67a268040..dec7d3f9d 100644
--- a/cyrus-sasl/.md5sum
+++ b/cyrus-sasl/.md5sum
@@ -1,3 +1,4 @@
+d5d1c592c1581ec4bd02bb96e299bd9e cyrus-sasl-2.1.21-gcc4.patch
24340f304b900460fb5f815d9d2e040c cyrus-sasl-2.1.21.patch
dde02db234dea892bee298390890502e cyrus-sasl-2.1.21.tar.gz
ec81c1d452216c3da110d7b9a6f8fa8f saslauthd
diff --git a/cyrus-sasl/Pkgfile b/cyrus-sasl/Pkgfile
index 756645e49..412bd2588 100644
--- a/cyrus-sasl/Pkgfile
+++ b/cyrus-sasl/Pkgfile
@@ -9,12 +9,16 @@ version=2.1.21
release=2
source=(http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz \
$name-$version.patch \
+ $name-$version-gcc4.patch \
saslauthd)
build(){
cd $name-$version
patch -p0 < $SRC/$name-$version.patch
+
+ # isn't necessary yet
+ #patch -p0 < $SRC/$name-$version-gcc4.patch
./configure \
--prefix=/usr \
diff --git a/cyrus-sasl/cyrus-sasl-2.1.21-gcc4.patch b/cyrus-sasl/cyrus-sasl-2.1.21-gcc4.patch
new file mode 100644
index 000000000..c62c16a9d
--- /dev/null
+++ b/cyrus-sasl/cyrus-sasl-2.1.21-gcc4.patch
@@ -0,0 +1,11 @@
+--- lib/client.c 2006-03-16 15:57:00.000000000 +0100
++++ lib/client.c 2006-03-16 15:57:18.000000000 +0100
+@@ -61,7 +61,7 @@
+
+ static cmech_list_t *cmechlist; /* global var which holds the list */
+
+-static sasl_global_callbacks_t global_callbacks;
++sasl_global_callbacks_t global_callbacks;
+
+ static int _sasl_client_active = 0;
+

Generated by cgit