File sendmail-db6.diff of Package sendmail

From: Jan Engelhardt <jengelh@inai.de>
Date: 2013-06-14 03:17:51.981537545 +0200

src: fix sloppy DB version >= 5 check

---
 include/sm/bdb.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: sendmail-8.14.7/include/sm/bdb.h
===================================================================
--- sendmail-8.14.7.orig/include/sm/bdb.h
+++ sendmail-8.14.7/include/sm/bdb.h
@@ -19,7 +19,7 @@
 #  define DB_VERSION_MAJOR 1
 # endif /* ! DB_VERSION_MAJOR */
 
-# if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1
+# if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
 
 #  define DBTXN	NULL ,
openSUSE Build Service is sponsored by