forked from jengelh/openldap2
7ea7006f66
- Add 0009-gcc5.patch to pass -P to the preprocessor in configure checks for Berkeley DB version OBS-URL: https://build.opensuse.org/request/show/286731 OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=133
23 lines
907 B
Diff
23 lines
907 B
Diff
Index: openldap-2.4.39/build/openldap.m4
|
|
===================================================================
|
|
--- openldap-2.4.39.orig/build/openldap.m4 2014-01-25 14:36:15.000000000 +0100
|
|
+++ openldap-2.4.39/build/openldap.m4 2015-02-19 10:58:35.128769091 +0100
|
|
@@ -328,7 +328,7 @@ AC_DEFUN([OL_BDB_HEADER_VERSION],
|
|
#endif
|
|
__db_version DB_VERSION_MAJOR
|
|
])
|
|
- set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none
|
|
+ set X `eval "$ac_cpp -P conftest.$ac_ext" | $EGREP __db_version` none none
|
|
ol_cv_bdb_major=${3}
|
|
])
|
|
case $ol_cv_bdb_major in [[1-9]]*) : ;; *)
|
|
@@ -344,7 +344,7 @@ AC_CACHE_CHECK([for Berkeley DB minor ve
|
|
#endif
|
|
__db_version DB_VERSION_MINOR
|
|
])
|
|
- set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none
|
|
+ set X `eval "$ac_cpp -P conftest.$ac_ext" | $EGREP __db_version` none none
|
|
ol_cv_bdb_minor=${3}
|
|
])
|
|
case $ol_cv_bdb_minor in [[0-9]]*) : ;; *)
|