Add no-return-in-find_variable.patch; (beo#1506).

OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=141
This commit is contained in:
Lars Müller 2014-07-23 13:19:52 +00:00 committed by Git OBS Bridge
parent 399233b85e
commit 72254c2535
3 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 23 13:09:41 UTC 2014 - lmuelle@suse.com
- Add no-return-in-find_variable.patch; (beo#1506).
-------------------------------------------------------------------
Wed Jul 23 10:08:04 UTC 2014 - lmuelle@suse.com

View File

@ -77,6 +77,7 @@ Source31: eximstats.conf
Source32: exim.service
Patch: exim-tail.patch
Patch1: exim-enable_ecdh_openssl.patch
Patch2: no-return-in-find_variable.patch
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
%package -n eximon
@ -130,6 +131,7 @@ once, if at all. The rest is done by logrotate / cron.)
%setup -q -n exim-%{version}
%patch
%patch1 -p1
%patch2 -p1
# build with fPIE/pie on SUSE 10.0 or newer, or on any other platform
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
fPIE="-fPIE"

View File

@ -0,0 +1,17 @@
Author: Lars Mueller <lmuelle@suse.com>
Subject: no-return-in-nonvoid-function expand.c:1882
Reported upstream: http://bugs.exim.org/show_bug.cgi?id=1506
Index: exim-4.83/src/expand.c
===================================================================
--- exim-4.83.orig/src/expand.c
+++ exim-4.83/src/expand.c
@@ -1879,6 +1879,8 @@ switch (vp->type)
#endif
}
+
+return NULL; /* Unknown variable name */
}