From 1a9ba34fc626b5f77757f3d5721b2847cb57f4db255efa24dfb4c6781c065176 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 11 Oct 2014 12:40:55 +0000 Subject: [PATCH] Accepting request 255031 from home:elvigia:branches:network:ldap - 0001-build-detect-endianness-at-configure-time.patch Correct defective endianness test. OBS-URL: https://build.opensuse.org/request/show/255031 OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=133 --- ...ild-detect-endianness-at-configure-time.patch | 16 +++++----------- sssd.changes | 6 ++++++ sssd.spec | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/0001-build-detect-endianness-at-configure-time.patch b/0001-build-detect-endianness-at-configure-time.patch index 86c37fd..1a8da77 100644 --- a/0001-build-detect-endianness-at-configure-time.patch +++ b/0001-build-detect-endianness-at-configure-time.patch @@ -11,20 +11,14 @@ Signed-off-by: David Disseldorp configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) -Index: sssd-1.11.5.1/configure.ac -=================================================================== ---- sssd-1.11.5.1.orig/configure.ac -+++ sssd-1.11.5.1/configure.ac -@@ -301,6 +301,13 @@ AM_CHECK_CMOCKA +--- sssd-1.12.1.orig/configure.ac ++++ sssd-1.12.1/configure.ac +@@ -322,6 +322,9 @@ AM_CHECK_CMOCKA AM_CONDITIONAL([HAVE_DEVSHM], [test -d /dev/shm]) -+AC_C_BIGENDIAN -+if test x$WORDS_BIGENDIAN != x; then -+ AC_DEFINE(HAVE_BIG_ENDIAN, 1, [whether platform is big endian]) -+else -+ AC_DEFINE(HAVE_LITTLE_ENDIAN, 1, [whether platform is little endian]) -+fi ++AC_C_BIGENDIAN([AC_DEFINE(HAVE_BIG_ENDIAN, [1], [whether platform is big endian])], ++ [AC_DEFINE(HAVE_LITTLE_ENDIAN, [1], [whether platform is little endian])]) + abs_build_dir=`pwd` AC_DEFINE_UNQUOTED([ABS_BUILD_DIR], ["$abs_build_dir"], [Absolute path to the build directory]) diff --git a/sssd.changes b/sssd.changes index 7c5f102..0cc8d57 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 11 00:16:15 UTC 2014 - crrodriguez@opensuse.org + +- 0001-build-detect-endianness-at-configure-time.patch + Correct defective endianness test. + ------------------------------------------------------------------- Mon Oct 6 13:25:23 UTC 2014 - jengelh@inai.de diff --git a/sssd.spec b/sssd.spec index ec788a3..a4085d5 100644 --- a/sssd.spec +++ b/sssd.spec @@ -344,7 +344,7 @@ export LDB_DIR="$(pkg-config ldb --variable=modulesdir)" # help configure find nscd export PATH="$PATH:/usr/sbin" -autoreconf -fi; +autoreconf -fiv; %configure \ --with-crypto=libcrypto \ --with-db-path="%dbpath" \