summaryrefslogtreecommitdiff
path: root/source/l/strigi/strigi-fix-ftbfs-with-gcc-4.7.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/strigi/strigi-fix-ftbfs-with-gcc-4.7.diff')
-rw-r--r--source/l/strigi/strigi-fix-ftbfs-with-gcc-4.7.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/l/strigi/strigi-fix-ftbfs-with-gcc-4.7.diff b/source/l/strigi/strigi-fix-ftbfs-with-gcc-4.7.diff
new file mode 100644
index 00000000..d4721c39
--- /dev/null
+++ b/source/l/strigi/strigi-fix-ftbfs-with-gcc-4.7.diff
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with gcc 4.7 due to missing <unistd.h> include.
+Author: Cyril Brulebois <kibi@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;
+