Bug#692499: arb: FTBFS on armhf [PATCH]

2012-11-07 Thread Andreas Tille
Hi Elmar,

On Tue, Nov 06, 2012 at 09:47:52PM +0100, Elmar Pruesse wrote:
 Hi Konstantinos!
 
 I suppose you've got no objections against me merging the one-line fix
 to GBS_reuse_buffer in the upstream svn/trunk.

Taking over this upstream is pretty welcome.  Thanks for your very quick
response

   Andreas. 

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#692499: arb: FTBFS on armhf [PATCH]

2012-11-06 Thread Konstantinos Margaritis
Package: src:arb
Version: 5.3-4
Severity: important

Hi,

according to

https://buildd.debian.org/status/package.php?p=arbsuite=sid

arb fails to build from source on armhf (severity is not serious however
as the package was never built on armhf before). The patch to fix the
build failure is rather simple (attached). 

Regards

Konstantinos
diff -ruN arb-5.3/ARBDB/adstring.c arb-5.3.mine/ARBDB/adstring.c
--- arb-5.3/ARBDB/adstring.c	2010-09-05 16:32:00.0 +
+++ arb-5.3.mine/ARBDB/adstring.c	2012-10-22 09:04:29.178734706 +
@@ -452,7 +452,8 @@
 
 void GBS_reuse_buffer(GB_CSTR global_buffer) {
 /* If you've just shortely used a buffer, you can put it back here */
-gbs_vglobal_string(global_buffer, 0, -1);
+va_list empty;
+gbs_vglobal_string(global_buffer, empty, -1);
 }
 
 GB_CSTR GBS_global_string(const char *templat, ...) {
diff -ruN arb-5.3/debian/rules arb-5.3.mine/debian/rules
--- arb-5.3/debian/rules	2012-07-27 13:25:59.0 +
+++ arb-5.3.mine/debian/rules	2012-11-06 19:41:52.157493413 +
@@ -27,11 +27,11 @@
 	export PATH=$(ARBHOME)/bin:$${PATH} ; \
 	export LD_LIBRARY_PATH=$(ARBHOME)/lib:$${LD_LIBRARY_PATH}; \
 	  $(MAKE) DEBIAN=1 ARBHOME=$(ARBHOME) ARB_64=$(ARB_64) \
-	  CPPFLAGS=$(CPPFLAGS) CFLAGS=$(CFLAGS) CXXFLAGS=$(CXXFLAGS) LDFLAGS=$(LDFLAGS) \
+	  CPPFLAGS=$(CPPFLAGS) CFLAGS=$(CFLAGS) CXXFLAGS=$(CXXFLAGS) LDFLAGS=$(LDFLAGS) -lm \
 	  all ; \
 	export LD_LIBRARY_PATH=$(ARBHOME)/lib:$${LD_LIBRARY_PATH}; \
 	  $(MAKE) DEBIAN=1 ARBHOME=$(ARBHOME) ARB_64=$(ARB_64) \
-	  CPPFLAGS=$(CPPFLAGS) CFLAGS=$(CFLAGS) CXXFLAGS=$(CXXFLAGS) LDFLAGS=$(LDFLAGS) \
+	  CPPFLAGS=$(CPPFLAGS) CFLAGS=$(CFLAGS) CXXFLAGS=$(CXXFLAGS) LDFLAGS=$(LDFLAGS) -lm \
 	  arbxtras
 	export LD_LIBRARY_PATH=$(ARBHOME)/lib:$${LD_LIBRARY_PATH}; \
 	  cd HELP_SOURCE; $(MAKE) ARBHOME=$(ARBHOME) html


Bug#692499: arb: FTBFS on armhf [PATCH]

2012-11-06 Thread Elmar Pruesse
Hi Konstantinos!

I suppose you've got no objections against me merging the one-line fix
to GBS_reuse_buffer in the upstream svn/trunk. Would you prefer to be
mentioned or not mentioned?

Elmar


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org