Package: sphinxsearch
Version: 2.0.4-1.1
Followup-For: Bug #713331
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf
Dear Maintainer,
The package sphinxsearch fails to build on ppc64le, because of changes
required in libtool, aclocal.m4 and configure.ac. This patch includes
autotools-dev and a couple of changes in configure.ac to the package
so that it builds correctly.
Thanks for considering the patch!
Thanks and regards,
Brahadambal
-- System Information:
*** End of the template - remove these template lines ***
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -ruN sphinxsearch-2.0.4.orig/configure.ac sphinxsearch-2.0.4/configure.ac
--- sphinxsearch-2.0.4.orig/configure.ac 2014-10-21 12:56:47.000000000
+0000
+++ sphinxsearch-2.0.4/configure.ac 2014-10-21 12:57:19.000000000 +0000
@@ -8,7 +8,7 @@
SPHINX_CONFIGURE_PART([checking build environment])
AC_CONFIG_AUX_DIR([config])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([src/searchd.cpp])
AC_CONFIG_HEADER([config/config.h])
@@ -56,6 +56,7 @@
AC_PROG_CC
AC_PROG_CXX
AC_PROG_RANLIB
+AM_PROG_AR
AC_COMPILE_IFELSE([
#ifdef __GNUC__
diff -ruN sphinxsearch-2.0.4.orig/debian/rules sphinxsearch-2.0.4/debian/rules
--- sphinxsearch-2.0.4.orig/debian/rules 2014-10-21 12:56:27.000000000
+0000
+++ sphinxsearch-2.0.4/debian/rules 2014-10-21 12:57:06.000000000 +0000
@@ -26,6 +26,7 @@
config.status:
dh_testdir
+ dh_autotools-dev_updateconfig
dh_autoreconf
# Add here commands to configure the package.
@@ -59,6 +60,7 @@
$(RM) -f indexer.1 searchd.1
dh_autoreconf_clean
+ dh_autotools-dev_restoreconfig
dh_clean
install: build