From nobody@FreeBSD.org  Wed May 11 08:27:43 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3D5291065672
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 May 2011 08:27:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 129C88FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 May 2011 08:27:43 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4B8Rgk5067339
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 May 2011 08:27:42 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p4B8Rgm9067338;
	Wed, 11 May 2011 08:27:42 GMT
	(envelope-from nobody)
Message-Id: <201105110827.p4B8Rgm9067338@red.freebsd.org>
Date: Wed, 11 May 2011 08:27:42 GMT
From: David Demelier <demelier.david@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] games/xmoto: update to 0.5.7
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156950
>Category:       ports
>Synopsis:       [patch] games/xmoto: update to 0.5.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 11 08:30:08 UTC 2011
>Closed-Date:    Wed May 25 04:59:05 UTC 2011
>Last-Modified:  Wed May 25 04:59:05 UTC 2011
>Originator:     David Demelier
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.2-STABLE FreeBSD 8.2-STABLE #40: Sun May  1 13:40:21 CEST 2011     root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  amd64

>Description:
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 ---
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed May 11 08:30:20 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156950 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Wed May 25 04:59:05 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156950 
>Unformatted:
