diff options
author | 2012-10-09 12:05:00 +0800 | |
---|---|---|
committer | 2012-10-09 12:05:00 +0800 | |
commit | 9e6f2a1f85f60acb6a9024876c9204fa06b1bba8 (patch) | |
tree | 1fbbd15c3e6f0806b771db96a8f99bb22750cd50 /app-misc | |
parent | [kde-base/kdelibs] Update Python byte compilation patch by Arfrever, wrt bug ... (diff) | |
download | kde-9e6f2a1f85f60acb6a9024876c9204fa06b1bba8.tar.gz kde-9e6f2a1f85f60acb6a9024876c9204fa06b1bba8.tar.bz2 kde-9e6f2a1f85f60acb6a9024876c9204fa06b1bba8.zip |
Fixing strigi build failure
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/strigi/files/strigi-fix-sleep.patch | 11 | ||||
-rw-r--r-- | app-misc/strigi/strigi-9999.ebuild | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/app-misc/strigi/files/strigi-fix-sleep.patch b/app-misc/strigi/files/strigi-fix-sleep.patch new file mode 100644 index 0000000000..ab690c0205 --- /dev/null +++ b/app-misc/strigi/files/strigi-fix-sleep.patch @@ -0,0 +1,11 @@ +--- eventlistenerqueue2.cpp 2012-10-09 11:53:24.662572336 +0800 ++++ eventlistenerqueue.cpp 2012-10-09 11:53:41.269242216 +0800 +@@ -26,6 +26,7 @@ + #include <algorithm> + #include <iostream> + #include <stdio.h> ++#include <unistd.h> + + #if defined(__SUNPRO_CC) + #include <unistd.h> + diff --git a/app-misc/strigi/strigi-9999.ebuild b/app-misc/strigi/strigi-9999.ebuild index 3a627c1633..3aa0780d1c 100644 --- a/app-misc/strigi/strigi-9999.ebuild +++ b/app-misc/strigi/strigi-9999.ebuild @@ -58,6 +58,11 @@ if [[ ${PV} == 9999 ]] ; then } fi +src_prepare() { + cd ${S}/strigidaemon/bin/daemon/eventlistener + epatch ${FILESDIR}/strigi-fix-sleep.patch || die "Fail" +} + src_configure() { # Enabled: POLLING (only reliable way to check for files changed.) # Disabled: xine - recommended upstream to keep it this way |