- Workround for PCRE version dependancy in version reporting; (beo#1073).
OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=99
This commit is contained in:
parent
977e36dc8b
commit
d66b1e9a61
45
aa097c4c00f62487128d74f65c521f9e877b184f.diff
Normal file
45
aa097c4c00f62487128d74f65c521f9e877b184f.diff
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
commit aa097c4c00f62487128d74f65c521f9e877b184f
|
||||||
|
Author: Nigel Metheringham <nigel@exim.org>
|
||||||
|
Date: Wed Jan 26 11:04:32 2011 +0000
|
||||||
|
|
||||||
|
Workround compile error with old PCRE versions
|
||||||
|
|
||||||
|
Fixes bug #1073
|
||||||
|
|
||||||
|
Index: exim-4.74/doc/ChangeLog
|
||||||
|
===================================================================
|
||||||
|
--- exim-4.74.orig/doc/ChangeLog
|
||||||
|
+++ exim-4.74/doc/ChangeLog
|
||||||
|
@@ -3,6 +3,13 @@ $Cambridge: exim/doc/doc-txt/ChangeLog,v
|
||||||
|
Change log file for Exim from version 4.21
|
||||||
|
-------------------------------------------
|
||||||
|
|
||||||
|
+Exim version 4.75
|
||||||
|
+-----------------
|
||||||
|
+
|
||||||
|
+NM/01 Workround for PCRE version dependancy in version reporting
|
||||||
|
+ Bugzilla 1073
|
||||||
|
+
|
||||||
|
+
|
||||||
|
Exim version 4.74
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Index: exim-4.74/src/exim.c
|
||||||
|
===================================================================
|
||||||
|
--- exim-4.74.orig/src/exim.c
|
||||||
|
+++ exim-4.74/src/exim.c
|
||||||
|
@@ -931,8 +931,13 @@ DEBUG(D_any) do {
|
||||||
|
" Runtime: %s\n",
|
||||||
|
PCRE_MAJOR, PCRE_MINOR,
|
||||||
|
/* PRE_PRERELEASE is either defined and empty or a string.
|
||||||
|
- * This should work: */
|
||||||
|
+ * unless its an ancient version of PCRE in which case it
|
||||||
|
+ * is not defined */
|
||||||
|
+#ifdef PCRE_PRERELEASE
|
||||||
|
PCRE_PRERELEASE "",
|
||||||
|
+#else
|
||||||
|
+ "",
|
||||||
|
+#endif
|
||||||
|
pcre_version());
|
||||||
|
|
||||||
|
init_lookup_list();
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 4 22:13:39 UTC 2011 - lars@samba.org
|
||||||
|
|
||||||
|
- Workround for PCRE version dependancy in version reporting; (beo#1073).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 4 19:33:40 UTC 2011 - lars@samba.org
|
Fri Feb 4 19:33:40 UTC 2011 - lars@samba.org
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ Source20: http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/exi
|
|||||||
Source30: eximstats-html-update.py
|
Source30: eximstats-html-update.py
|
||||||
Source31: eximstats.conf
|
Source31: eximstats.conf
|
||||||
Patch: exim-4.12-tail.patch
|
Patch: exim-4.12-tail.patch
|
||||||
|
Patch1: aa097c4c00f62487128d74f65c521f9e877b184f.diff
|
||||||
%if !%{?build_with_mysql:1}0
|
%if !%{?build_with_mysql:1}0
|
||||||
|
|
||||||
%package -n eximon
|
%package -n eximon
|
||||||
@ -124,6 +125,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n exim-%{version}
|
%setup -q -n exim-%{version}
|
||||||
%patch
|
%patch
|
||||||
|
%patch1 -p1
|
||||||
# build with fPIE/pie on SUSE 10.0 or newer, or on any other platform
|
# build with fPIE/pie on SUSE 10.0 or newer, or on any other platform
|
||||||
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
|
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
|
||||||
fPIE="-fPIE"
|
fPIE="-fPIE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user