--- /dev/null
+"reserved" is protoc keyword now.
+
+--- PokerTH-1.1.1-src/pokerth.proto.orig 2014-01-10 22:18:20.743643130 +0100
++++ PokerTH-1.1.1-src/pokerth.proto 2017-12-12 20:56:47.300267594 +0100
+@@ -701,7 +701,7 @@
+
+ message ErrorMessage {
+ enum ErrorReason {
+- reserved = 0;
++ reserved_ = 0;
+ initVersionNotSupported = 1;
+ initServerFull = 2;
+ initAuthFailure = 3;
+--- PokerTH-1.1.1-src/src/net/common/netpacket.cpp.orig 2014-01-10 22:18:20.917643110 +0100
++++ PokerTH-1.1.1-src/src/net/common/netpacket.cpp 2017-12-12 21:02:41.138399391 +0100
+@@ -249,7 +249,7 @@
+ retVal = ErrorMessage::sessionTimeout;
+ break;
+ default :
+- retVal = ErrorMessage::reserved;
++ retVal = ErrorMessage::reserved_;
+ break;
+ }
+ return retVal;
Summary(pl.UTF-8): Silnik gry Texas-Holdem poker
Name: pokerth
Version: 1.1.1
-Release: 3
+Release: 4
License: GPL v2+
Group: X11/Applications/Games
Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
Patch4: cxx11-fixes.patch
Patch5: system-qtsingleapp.patch
Patch6: moc.patch
+Patch7: %{name}-protobuf.patch
URL: http://www.pokerth.net/
BuildRequires: QtCore-devel >= 4.3.1
BuildRequires: QtGui-devel >= 4.3.1
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%{__rm} -r src/third_party/qtsingleapplication