Matthias Klose <d...@debian.org> (03/04/2012):
> Package: strigi
> Version: 0.7.7-1.1
> Severity: important
> Tags: sid wheezy
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-4.7

Here's a patch for the include part of this FTBFS. Symbols change with
the new compiler, though, so this patch isn't sufficient. Not tagging
with “patch” accordingly.

Mraw,
KiBi.
diff -Nru strigi-0.7.7/debian/changelog strigi-0.7.7/debian/changelog
--- strigi-0.7.7/debian/changelog	2012-03-03 20:42:18.000000000 +0000
+++ strigi-0.7.7/debian/changelog	2012-04-04 19:54:49.000000000 +0000
@@ -1,3 +1,11 @@
+strigi (0.7.7-1.2) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 due to missing <unistd.h> include
+    (Closes: #667384).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 04 Apr 2012 19:54:18 +0000
+
 strigi (0.7.7-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru strigi-0.7.7/debian/patches/fix-ftbfs-with-gcc-4.7 strigi-0.7.7/debian/patches/fix-ftbfs-with-gcc-4.7
--- strigi-0.7.7/debian/patches/fix-ftbfs-with-gcc-4.7	1970-01-01 00:00:00.000000000 +0000
+++ strigi-0.7.7/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 19:55:27.000000000 +0000
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with gcc 4.7 due to missing <unistd.h> include.
+Author: Cyril Brulebois <k...@debian.org>
+Bug-Debian: http://bugs.debian.org/667384
+
+--- strigi-0.7.7.orig/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp
++++ strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp
+@@ -27,9 +27,7 @@
+ #include <iostream>
+ #include <stdio.h>
+ 
+-#if defined(__SUNPRO_CC)
+ #include <unistd.h>
+-#endif
+ 
+ using namespace std;
+ 
diff -Nru strigi-0.7.7/debian/patches/series strigi-0.7.7/debian/patches/series
--- strigi-0.7.7/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ strigi-0.7.7/debian/patches/series	2012-04-04 19:55:13.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to