added patch to fix missing include in sasl.h (fixes ftbfs of kdepimlibs) [release 2.1.26-3mamba;Sat Apr 04 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 21:37:54 +01:00
parent c633664dd7
commit cab59e071e
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Nru cyrus-sasl-2.1.26.orig/include/sasl.h cyrus-sasl-2.1.26/include/sasl.h
--- cyrus-sasl-2.1.26.orig/include/sasl.h 2012-10-12 16:05:48.000000000 +0200
+++ cyrus-sasl-2.1.26/include/sasl.h 2015-04-04 21:18:11.517000000 +0200
@@ -223,6 +223,8 @@
* they must be called before all other SASL functions:
*/
+#include <sys/types.h>
+
/* memory allocation functions which may optionally be replaced:
*/
typedef void *sasl_malloc_t(size_t);

View File

@ -1,6 +1,6 @@
Name: cyrus-sasl
Version: 2.1.26
Release: 2mamba
Release: 3mamba
Summary: SASL Authentication Daemon for simple authentication and security
Group: System/Libraries
Vendor: openmamba
@ -15,6 +15,7 @@ Patch0: %{name}-2.1.21-gcc4.patch
Patch1: %{name}-2.1.23-gcc44.patch
Patch2: cyrus-sasl-2.1.25-db-5.1.patch
Patch3: cyrus-sasl-2.1.25-db-5.1-2.patch
Patch4: cyrus-sasl-2.1.26-missing-include.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -71,6 +72,7 @@ This package contains static libraries and header files need for development.
#%patch1 -p1
#%patch2 -p0
#%patch3 -p0
%patch4 -p1
sed -i "s|db-4.7|db-5.1|" configure
%build
@ -169,6 +171,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%doc ChangeLog NEWS README
%changelog
* Sat Apr 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.26-3mamba
- added patch to fix missing include in sasl.h (fixes ftbfs of kdepimlibs)
* Fri Feb 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.26-2mamba
- fix sysconfig file
- add /etc/sasl2 empty config directory