Package: 4store
Version: 1.1.4-2
Followup-For: Bug #713659
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Added missing math lib to link, fixing FTBFS on armhf.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-7-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru 4store-1.1.4/debian/patches/1006_armhf_libm.patch 4store-1.1.4/debian/patches/1006_armhf_libm.patch
--- 4store-1.1.4/debian/patches/1006_armhf_libm.patch	1969-12-31 19:00:00.000000000 -0500
+++ 4store-1.1.4/debian/patches/1006_armhf_libm.patch	2013-03-31 19:27:07.000000000 -0400
@@ -0,0 +1,23 @@
+Index: 4store-1.1.4/src/http/Makefile.am
+===================================================================
+--- 4store-1.1.4.orig/src/http/Makefile.am	2013-03-31 19:19:41.000000000 -0400
++++ 4store-1.1.4/src/http/Makefile.am	2013-03-31 19:26:39.367220978 -0400
+@@ -9,4 +9,4 @@
+ LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs`
+ 
+ 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c
+-4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a
++4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a -lm
+Index: 4store-1.1.4/src/http/Makefile.in
+===================================================================
+--- 4store-1.1.4.orig/src/http/Makefile.in	2013-03-31 19:19:41.000000000 -0400
++++ 4store-1.1.4/src/http/Makefile.in	2013-03-31 19:27:02.089163770 -0400
+@@ -215,7 +215,7 @@
+ AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` -I/usr/include
+ LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs`
+ 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c
+-4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a
++4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a -lm
+ all: all-am
+ 
+ .SUFFIXES:
diff -Nru 4store-1.1.4/debian/patches/series 4store-1.1.4/debian/patches/series
--- 4store-1.1.4/debian/patches/series	2012-03-17 06:18:25.000000000 -0400
+++ 4store-1.1.4/debian/patches/series	2013-03-31 19:26:01.000000000 -0400
@@ -6,3 +6,4 @@
 2001a_fix_ftbfs_with_as_needed_autoconf.patch
 2002_use_system_shared_libstemmer.patch
 2002a_use_system_shared_libstemmer_autoconf.patch
+1006_armhf_libm.patch

Reply via email to