[pokerth] Update patch as well.

Jussi Lehtola jussilehtola at fedoraproject.org
Wed Jan 5 17:57:21 UTC 2011


commit 673337e4dcfe4c646ba216315005d3ea177f26bc
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Wed Jan 5 19:57:10 2011 +0200

    Update patch as well.

 pokerth-libs.patch |   24 ++++++++++++------------
 pokerth.spec       |    3 ++-
 2 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/pokerth-libs.patch b/pokerth-libs.patch
index 25c6fff..13ca555 100644
--- a/pokerth-libs.patch
+++ b/pokerth-libs.patch
@@ -1,12 +1,12 @@
-diff -up PokerTH-0.8-2490svn/pokerth_game.pro.orig PokerTH-0.8-2490svn/pokerth_game.pro
---- PokerTH-0.8-2490svn/pokerth_game.pro.orig	2010-08-23 00:42:55.740949492 +0300
-+++ PokerTH-0.8-2490svn/pokerth_game.pro	2010-08-23 01:02:02.790949570 +0300
-@@ -416,7 +416,7 @@ unix:!mac { 
-         -lpokerth_db \
-         -lpokerth_protocol
-     LIBS += $$BOOST_LIBS
--    LIBS += -lSDL_mixer \
-+    LIBS += -lSDL -lSDL_mixer \
-         -lcurl \
-         -lgsasl
-     !isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto
+diff -up PokerTH-0.8.2-src/pokerth_game.pro.orig PokerTH-0.8.2-src/pokerth_game.pro
+--- PokerTH-0.8.2-src/pokerth_game.pro.orig	2011-01-05 19:32:18.144452611 +0200
++++ PokerTH-0.8.2-src/pokerth_game.pro	2011-01-05 19:38:22.628858433 +0200
+@@ -449,7 +449,7 @@ unix:!mac { 
+ 	kFreeBSD = $$find(UNAME, "kFreeBSD")
+ 	LIBS += -lsqlite3
+ 	LIBS += $$BOOST_LIBS
+-	LIBS += -lSDL_mixer \
++	LIBS += -lSDL -lSDL_mixer \
+ 		-lgsasl
+ 	!isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto
+ 	else:LIBS += -lgnutls-openssl \
diff --git a/pokerth.spec b/pokerth.spec
index 8180c81..acdbc99 100644
--- a/pokerth.spec
+++ b/pokerth.spec
@@ -6,7 +6,7 @@ Group:		Amusements/Games
 License:	GPLv2+
 URL:		http://www.pokerth.net
 Source0:	http://downloads.sourceforge.net/%{name}/PokerTH-%{version}-src.tar.bz2
-# Patch to include all necessary libraries in linking phase
+# Patch to add missing libs to linker line
 Patch0:		pokerth-libs.patch
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
@@ -18,6 +18,7 @@ BuildRequires:	gnutls-devel
 BuildRequires:	boost-devel >= 1.37
 BuildRequires:	SDL_mixer-devel
 BuildRequires:	libgsasl-devel
+BuildRequires:	sqlite-devel
 
 # Removed bundled fonts
 Requires:	dejavu-sans-fonts


More information about the scm-commits mailing list