Control: tags -1 + patch

On 2013-02-23 11:34:53, Matthias Klose wrote:
> /bin/bash ../../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I../..    -I../../share -I../../gbx -D_REENTRANT 
> -I../../libltdl -pipe -Wall -Wno-unused-value -fsigned-char 
> -fvisibility=hidden -g -Os  -MT gb_signal_la-csignal.lo -MD -MP -MF 
> .deps/gb_signal_la-csignal.Tpo -c -o gb_signal_la-csignal.lo `test -f 
> 'csignal.c' || echo './'`csignal.c
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. 
> -I../../share -I../../gbx -D_REENTRANT -I../../libltdl -pipe -Wall 
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT 
> gb_signal_la-csignal.lo -MD -MP -MF .deps/gb_signal_la-csignal.Tpo -c 
> csignal.c  -fPIC -DPIC -o .libs/gb_signal_la-csignal.o
> csignal.c:45:17: error: conflicting types for 'siginfo_t'
>   struct siginfo siginfo_t;
>                  ^
> In file included from /usr/include/signal.h:80:0,
>                  from csignal.c:28:
> /usr/include/x86_64-linux-gnu/bits/siginfo.h:127:5: note: previous 
> declaration of 'siginfo_t' was here
>    } siginfo_t __SI_ALIGNMENT;
>      ^
> csignal.c: In function 'Signal_Catch':
> csignal.c:234:22: warning: assignment from incompatible pointer type [enabled 
> by default]
>   action.sa_sigaction = handle_signal;
>                       ^
> make[6]: *** [gb_signal_la-csignal.lo] Error 1
> make[6]: Leaving directory `/«PKGBUILDDIR»/main/lib/signal'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/«PKGBUILDDIR»/main/lib'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/«PKGBUILDDIR»/main'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/«PKGBUILDDIR»/main'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/«PKGBUILDDIR»'
> make[1]: *** [all] Error 2
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Please find attached a patch to fix this FTBFS.

Regards
-- 
Sebastian Ramacher
diff -Nru gambas3-3.1.1/debian/changelog gambas3-3.1.1/debian/changelog
--- gambas3-3.1.1/debian/changelog	2012-05-24 13:22:15.000000000 +0200
+++ gambas3-3.1.1/debian/changelog	2013-05-09 19:34:25.000000000 +0200
@@ -1,3 +1,10 @@
+gambas3 (3.1.1-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with eglibc-2.7. (Closes: #701393)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Thu, 09 May 2013 19:34:24 +0200
+
 gambas3 (3.1.1-2) unstable; urgency=low
 
   * debian/control:
diff -Nru gambas3-3.1.1/debian/patches/701393.patch gambas3-3.1.1/debian/patches/701393.patch
--- gambas3-3.1.1/debian/patches/701393.patch	1970-01-01 01:00:00.000000000 +0100
+++ gambas3-3.1.1/debian/patches/701393.patch	2013-05-09 20:01:57.000000000 +0200
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with eglic-2.17
+Author: Sebastian Ramacher <sramac...@debian.org>
+Last-Update: 2013-05-09
+
+--- gambas3-3.1.1.orig/main/lib/signal/csignal.c
++++ gambas3-3.1.1/main/lib/signal/csignal.c
+@@ -40,7 +40,7 @@
+ #define SIGPWR -1
+ #endif
+ 
+-#if !defined(OS_BSD) && !defined(OS_CYGWIN)
++#if !defined(OS_BSD) && !defined(OS_CYGWIN) && !defined(OS_LINUX)
+ typedef
+ 	struct siginfo siginfo_t;
+ #endif
diff -Nru gambas3-3.1.1/debian/patches/series gambas3-3.1.1/debian/patches/series
--- gambas3-3.1.1/debian/patches/series	2012-05-24 13:00:02.000000000 +0200
+++ gambas3-3.1.1/debian/patches/series	2013-05-09 19:38:36.000000000 +0200
@@ -1,2 +1,3 @@
 detect_browser_debian
 dont_compile_examples
+701393.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to