Cyril Brulebois <[email protected]> (20/08/2009):
> Package: fmit
> Version: 0.97.7-2
> Severity: important
> Tags: patch
> User: [email protected]
> Usertags: kfreebsd

No reply in months, I've uploaded an NMU which fixes this FTBFS.

> a single tweak is needed to get your package built on GNU/kFreeBSD,
> which you can find in the attached patch. It pretty much looks like
> all those other include-cleaning-related issues when porting to a
> newer gcc version, see build logs[1].

I could trigger this FTBFS on a Linux environment, so I guess there
are some tiny architecture-related disparities. Anyway, since exit()
is used, let's just add the include as initially suggested.

Please find attached the source debdiff for my NMU.

Mraw,
KiBi.
diff -u fmit-0.97.7/debian/changelog fmit-0.97.7/debian/changelog
--- fmit-0.97.7/debian/changelog
+++ fmit-0.97.7/debian/changelog
@@ -1,3 +1,11 @@
+fmit (0.97.7-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS on GNU/kFreeBSD (Closes: #542540):
+     - Add a <cstdlib> include (for exit) to src/main.cc.
+
+ -- Cyril Brulebois <[email protected]>  Mon, 21 Dec 2009 09:36:33 +0100
+
 fmit (0.97.7-2) unstable; urgency=low
 
   * Update Standards-Version to 3.7.3 (no changes needed to be made)
only in patch2:
unchanged:
--- fmit-0.97.7.orig/src/main.cpp
+++ fmit-0.97.7/src/main.cpp
@@ -20,6 +20,7 @@
 #include "config.h"
 
 #include <iostream>
+#include <cstdlib>
 using namespace std;
 #include <signal.h>
 #include <qapplication.h>

Attachment: signature.asc
Description: Digital signature

Reply via email to