[packages/xmoto] - rel 5; build fixed

arekm arekm at pld-linux.org
Sun Nov 3 21:35:38 CET 2013


commit 00c68e55cdea0cdfb9eb95cfbe4f16529b2a9cfb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 3 21:35:35 2013 +0100

    - rel 5; build fixed

 xmoto-includes.patch | 11 +++++++++++
 xmoto.spec           |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/xmoto.spec b/xmoto.spec
index ccbe71d..d24e49a 100644
--- a/xmoto.spec
+++ b/xmoto.spec
@@ -2,7 +2,7 @@ Summary:	Clone of across/elma games
 Summary(pl.UTF-8):	Klon gry across/elma
 Name:		xmoto
 Version:	0.5.9
-Release:	4
+Release:	5
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://download.tuxfamily.org/xmoto/xmoto/%{version}/%{name}-%{version}-src.tar.gz
diff --git a/xmoto-includes.patch b/xmoto-includes.patch
index 8a115d7..cd62a76 100644
--- a/xmoto-includes.patch
+++ b/xmoto-includes.patch
@@ -8,3 +8,14 @@
  #include "tim.h"
  #include "png.h"
  
+--- xmoto-0.5.9/src/helpers/System.cpp~	2011-10-11 22:18:14.000000000 +0200
++++ xmoto-0.5.9/src/helpers/System.cpp	2013-11-03 21:31:03.283105603 +0100
+@@ -24,6 +24,8 @@
+ #include "Log.h"
+ #include "VExcept.h"
+ #include <sstream>
++#include <sys/types.h>
++#include <unistd.h>
+ 
+ std::vector<std::string>* System::getDisplayModes(int windowed) {
+     std::vector<std::string>* modes = new std::vector<std::string>;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xmoto.git/commitdiff/00c68e55cdea0cdfb9eb95cfbe4f16529b2a9cfb



More information about the pld-cvs-commit mailing list