Bug 156950

Summary: [patch] games/xmoto: update to 0.5.7
Product: Ports & Packages Reporter: David Demelier <demelier.david>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description David Demelier 2011-05-11 09:30:08 UTC
Simple update to 0.5.7.

Need to add a patch because of use of non posix sigaction member (sa_restorer). I gave it upstream so it will probably appears in the future releases.

How-To-Repeat: --- xmoto.diff begins here ---
--- /dev/null	2011-05-11 10:17:08.000000000 +0200
+++ files/patch-src-GameInit.cpp	2011-05-11 10:12:21.000000000 +0200
@@ -0,0 +1,11 @@
+--- src/GameInit.cpp.orig	2011-05-11 10:09:14.000000000 +0200
++++ src/GameInit.cpp	2011-05-11 10:10:20.000000000 +0200
+@@ -260,7 +260,7 @@
+     struct sigaction v_act;
+ 
+     v_act.sa_handler  = xmexit_term;
+-#if !defined(__APPLE__)
++#if !defined(__APPLE__) && !defined(__FreeBSD__)
+     v_act.sa_restorer = NULL;
+ #endif
+     sigemptyset(&v_act.sa_mask);
--- distinfo.orig	2011-05-11 09:58:42.000000000 +0200
+++ distinfo	2011-05-11 10:01:10.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (xmoto-0.5.5-src.tar.gz) = e53a9e7cf85d2793501176b436debe691dc3815316526b2222d04782675519a4
-SIZE (xmoto-0.5.5-src.tar.gz) = 52528362
+SHA256 (xmoto-0.5.7-src.tar.gz) = 7ad631de830a762f495d9273a65bd42fb4331868197d3d5e8d624bb59fecfca6
+SIZE (xmoto-0.5.7-src.tar.gz) = 40395855
--- pkg-plist.orig	2011-05-11 10:12:40.000000000 +0200
+++ pkg-plist	2011-05-11 10:13:08.000000000 +0200
@@ -26,6 +26,7 @@
 %%NLS%%share/locale/tr_TR/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/xmoto.mo
 %%DATADIR%%/Textures/Fonts/DejaVuSans.ttf
+%%DATADIR%%/Textures/Fonts/DejaVuSansMono.ttf
 %%DATADIR%%/Textures/Musics/MadeiraStew.ogg
 %%DATADIR%%/Textures/Musics/batcave.ogg
 %%DATADIR%%/Textures/Musics/foxrun.ogg
--- Makefile.orig	2011-05-11 09:58:38.000000000 +0200
+++ Makefile	2011-05-11 09:58:53.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xmoto
-PORTVERSION=	0.5.5
+PORTVERSION=	0.5.7
 CATEGORIES=	games
 MASTER_SITES=	http://download.tuxfamily.org/xmoto/xmoto/${PORTVERSION}/ \
 		http://mirror.amdmi3.ru/distfiles/
--- xmoto.diff ends here ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-11 09:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2011-05-25 05:59:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!