[torium] add patch to compile
Mamoru Tasaka
mtasaka at fedoraproject.org
Thu Feb 10 14:09:07 UTC 2011
commit 967c0c2770653b8ce510d2015599aed5893d289e
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Thu Feb 10 23:09:04 2011 +0900
add patch to compile
add-missing-boost-header.patch | 10 ++++++++++
torium.spec | 3 +++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/add-missing-boost-header.patch b/add-missing-boost-header.patch
new file mode 100644
index 0000000..b1c30e2
--- /dev/null
+++ b/add-missing-boost-header.patch
@@ -0,0 +1,10 @@
+--- torium-0.4.2/src/treeview.cc.debug 2009-04-19 02:50:26.000000000 +0900
++++ torium-0.4.2/src/treeview.cc 2011-02-10 23:01:25.000000000 +0900
+@@ -2,6 +2,7 @@
+ #ifndef WIN32
+ #include <libnotify/notify.h>
+ #endif
++#include <boost/lexical_cast.hpp>
+
+ TreeView::TreeView()
+ {
diff --git a/torium.spec b/torium.spec
index a845631..98fe7bf 100644
--- a/torium.spec
+++ b/torium.spec
@@ -10,6 +10,7 @@ Source0: http://downloads.sf.net/torium/%{name}-%{version}.tar.gz
Patch0: DSO.patch
Patch1: fix_add_torrent-function.patch
Patch2: libnotify-070-fix.diff
+Patch3: add-missing-boost-header.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: rb_libtorrent-devel >= 0.13, gtkmm24-devel, libnotify-devel, boost-devel
@@ -24,6 +25,7 @@ A minimalistic, easily configurable torrent client for Linux.
%patch0 -p1 -b .DSO
%patch1 -p1 -b .fix_add_torrent-function
%patch2 -p1 -b .libnotify-070-fix
+%patch3 -p1 -b .boost046_heaer
%build
@@ -67,6 +69,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Feb 10 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 0.4.2-14
- Rebuild against new rb_libtorrent
+- Add patch to compile with new rb_libtorrent + boost 146
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list