Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=boost149.git;a=commitdiff;h=7dff6e1dc6893262a6314dd2df136d30e067794c
commit 7dff6e1dc6893262a6314dd2df136d30e067794c
Author: Elentir elen...@frugalware.org
Date: Thu May 3 21:33:52 2012 +0200
qbittorrent-2.9.7-2-x86_64
* add patch to fix build
diff --git a/source/xapps-extra/qbittorrent/FrugalBuild
b/source/xapps-extra/qbittorrent/FrugalBuild
index ef57ce8..61f14a4 100644
--- a/source/xapps-extra/qbittorrent/FrugalBuild
+++ b/source/xapps-extra/qbittorrent/FrugalBuild
@@ -14,10 +14,13 @@ groups=('xapps-extra')
archs=('i686' 'x86_64')
_F_gnome_iconcache=y
Finclude sourceforge
+source=(${source[@]} fix-missing-header.patch)
url=http://www.$pkgname.org/;
-sha1sums=('ea49b3031b1517fe83826627b38cf4df725b5f4a')
+sha1sums=('ea49b3031b1517fe83826627b38cf4df725b5f4a' \
+ '1e99c275b6cc64f8334418bd7d565ae2f7aaa685')
build() {
+ Fpatchall
Fconf
Fmake
make INSTALL_ROOT=$Fdestdir install || Fdie
diff --git a/source/xapps-extra/qbittorrent/fix-missing-header.patch
b/source/xapps-extra/qbittorrent/fix-missing-header.patch
new file mode 100644
index 000..ea2bfd7
--- /dev/null
+++ b/source/xapps-extra/qbittorrent/fix-missing-header.patch
@@ -0,0 +1,24 @@
+From 57d046b835d1eb996998660c5c7cf1af1fbbf458 Mon Sep 17 00:00:00 2001
+From: Jekyll Wu adap...@gmail.com
+Date: Thu, 5 Apr 2012 09:16:05 +0800
+Subject: [PATCH] fix compilation error
+
+---
+ src/qtsingleapp/qtlocalpeer.cpp |1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/qtsingleapp/qtlocalpeer.cpp b/src/qtsingleapp/qtlocalpeer.cpp
+index b329e91..83cfa68 100644
+--- a/src/qtsingleapp/qtlocalpeer.cpp
b/src/qtsingleapp/qtlocalpeer.cpp
+@@ -57,6 +57,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include time.h
++#include unistd.h
+ #endif
+ #if defined(Q_OS_OS2)
+ #include unistd.h
+--
+1.7.9.6
+
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git