[packages/cyrus-sasl] - added stddef patch (sasl.h needs stddef.h for size_t definition)

qboosh qboosh at pld-linux.org
Sun Nov 25 13:58:39 CET 2012


commit 91acbd8e1051e86d6b296d360ba0d1c6efd72f01
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 25 13:58:56 2012 +0100

    - added stddef patch (sasl.h needs stddef.h for size_t definition)

 cyrus-sasl-stddef.patch | 12 ++++++++++++
 cyrus-sasl.spec         |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec
index 4274d7b..3508c59 100644
--- a/cyrus-sasl.spec
+++ b/cyrus-sasl.spec
@@ -55,6 +55,7 @@ Patch18:	0033-fix_segfault_in_GSSAPI.patch
 Patch19:	0034-fix_dovecot_authentication.patch
 Patch20:	%{name}-auxprop.patch
 Patch21:	0030-dont_use_la_files_for_opening_plugins.patch
+Patch22:	%{name}-stddef.patch
 URL:		http://asg.web.cmu.edu/sasl/
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake >= 1:1.7
@@ -518,6 +519,7 @@ Wtyczka Nagiosa do sprawdzania działania saslauthd.
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 cd doc
 echo "cyrus-sasl complies with the following RFCs:" > rfc-compliance
diff --git a/cyrus-sasl-stddef.patch b/cyrus-sasl-stddef.patch
new file mode 100644
index 0000000..a05d1a6
--- /dev/null
+++ b/cyrus-sasl-stddef.patch
@@ -0,0 +1,12 @@
+--- cyrus-sasl-2.1.26/include/sasl.h.orig	2012-10-12 16:05:48.000000000 +0200
++++ cyrus-sasl-2.1.26/include/sasl.h	2012-11-25 13:51:27.182149131 +0100
+@@ -130,6 +130,9 @@
+ #define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\
+       (SASL_VERSION_MINOR << 8) | SASL_VERSION_STEP)
+ 
++/* for size_t */
++#include <stddef.h>
++
+ #include "prop.h"
+ 
+ /*************
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cyrus-sasl.git/commitdiff/91acbd8e1051e86d6b296d360ba0d1c6efd72f01



More information about the pld-cvs-commit mailing list