SHA256
1
0
forked from jengelh/sssd

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
This commit is contained in:
Jan Engelhardt 2014-10-11 12:40:55 +00:00 committed by Git OBS Bridge
parent 913fb74ac9
commit 1a9ba34fc6
3 changed files with 12 additions and 12 deletions

View File

@ -11,20 +11,14 @@ Signed-off-by: David Disseldorp <ddiss@samba.org>
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])

View File

@ -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

View File

@ -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" \