SHA256
1
0
forked from pool/cyrus-sasl

Accepting request 201456 from network

- Add patch fix-sasl-header.diff to resolve build issues that 
  are failing due to typedef 'sasl_malloc_t' is initialized.
  (see gentoo#458870, fedora#906519)

OBS-URL: https://build.opensuse.org/request/show/201456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cyrus-sasl?expand=0&rev=42
This commit is contained in:
Tomáš Chvátal 2013-09-30 12:44:46 +00:00 committed by Git OBS Bridge
commit 2f58a4374f
4 changed files with 23 additions and 2 deletions

View File

@ -39,6 +39,7 @@ Patch: cyrus-sasl.dif
Patch1: shared_link_on_ppc.patch
Patch5: cyrus-sasl-no_rpath.patch
Patch6: cyrus-sasl-lfs.patch
Patch7: fix-sasl-header.diff
PreReq: %insserv_prereq %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -67,10 +68,9 @@ The SQL auxprop plugin supports PostgreSQL and MySQL
%setup -n cyrus-sasl-%{version} -a 1
%patch
%patch1
%patch2
%patch3 -p1
%patch5 -p1
%patch6
%patch7 -p1
%build
find . -name \*.cvsignore -print0 | xargs -0 rm -vf

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 29 08:11:05 UTC 2013 - tittiatcoke@gmail.com
- Add patch fix-sasl-header.diff to resolve build issues that
are failing due to typedef 'sasl_malloc_t' is initialized.
(see gentoo#458870, fedora#906519)
-------------------------------------------------------------------
Wed Sep 11 07:16:23 UTC 2013 - jcnengel@gmail.com

View File

@ -43,6 +43,7 @@ Patch: cyrus-sasl.dif
Patch1: shared_link_on_ppc.patch
Patch5: cyrus-sasl-no_rpath.patch
Patch6: cyrus-sasl-lfs.patch
Patch7: fix-sasl-header.diff
PreReq: %insserv_prereq %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -155,6 +156,7 @@ fi
%patch1
%patch5 -p1
%patch6
%patch7 -p1
%build
find . -name \*.cvsignore -print0 | xargs -0 rm -fv

12
fix-sasl-header.diff Normal file
View File

@ -0,0 +1,12 @@
--- cyrus-sasl-2.1.26/include/sasl.h 2012-10-12 09:05:48.000000000 -0500
+++ cyrus-sasl-2.1.26/include/sasl.h 2013-01-31 13:21:04.007739327 -0600
@@ -223,6 +223,8 @@ extern "C" {
* 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);