[packages/pokerth] Add libircclient BR and use all required headers from it

baggins baggins at pld-linux.org
Thu Jul 12 22:23:47 CEST 2012


commit a00494718e94adb63bbb2315ef1973f8f23ff4ac
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jul 12 22:22:46 2012 +0200

    Add libircclient BR and use all required headers from it

 libircclient.patch | 10 ++++++++++
 pokerth.spec       |  3 +++
 2 files changed, 13 insertions(+)
---
diff --git a/libircclient.patch b/libircclient.patch
new file mode 100644
index 0000000..4a7b0c3
--- /dev/null
+++ b/libircclient.patch
@@ -0,0 +1,10 @@
+--- PokerTH-0.9.5-src/src/net/common/ircthread.cpp.orig	2012-07-12 22:16:13.656767561 +0200
++++ PokerTH-0.9.5-src/src/net/common/ircthread.cpp	2012-07-12 22:16:37.076766733 +0200
+@@ -20,6 +20,7 @@
+ #include <net/ircthread.h>
+ #include <net/socket_msg.h>
+ #include <libircclient/libircclient.h>
++#include <libircclient/libirc_rfcnumeric.h>
+ #include <boost/algorithm/string/predicate.hpp>
+ #include <queue>
+ #include <sstream>
diff --git a/pokerth.spec b/pokerth.spec
index 7b6177a..09d961b 100644
--- a/pokerth.spec
+++ b/pokerth.spec
@@ -7,6 +7,7 @@ License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
 # Source0-md5:	4bdea98bfc142a825c64b77feb4667d0
+Patch0:		libircclient.patch
 URL:		http://www.pokerth.net/
 BuildRequires:	QtCore-devel >= 4.3.1
 BuildRequires:	QtGui-devel >= 4.3.1
@@ -17,6 +18,7 @@ BuildRequires:	boost-devel >= 1.37.0-3
 BuildRequires:	curl-devel >= 7.16
 BuildRequires:	gnutls-devel
 BuildRequires:	gsasl-devel
+BuildRequires:	libircclient-devel
 BuildRequires:	qt4-build >= 4.3.1
 BuildRequires:	qt4-qmake >= 4.3.1
 BuildRequires:	sed >= 4.0
@@ -38,6 +40,7 @@ Silnik gry dostępny jest na platformy Linux, Windows oraz MacOS X.
 
 %prep
 %setup -q -n PokerTH-%{version}-src
+%patch0 -p1
 
 # what is it?
 sed -i -e '/-no_dead_strip_inits_and_terms/d' *.pro


More information about the pld-cvs-commit mailing list