Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Hans de Goede
d3ca4ae449 Fix a crash in the welcome screen (rhbz#830640) 2012-07-29 16:53:21 +02:00
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff -up xpilot-ng-4.7.2/src/client/meta.h~ xpilot-ng-4.7.2/src/client/meta.h
--- xpilot-ng-4.7.2/src/client/meta.h~ 2005-01-04 22:38:12.000000000 +0100
+++ xpilot-ng-4.7.2/src/client/meta.h 2012-07-29 15:50:53.137403386 +0200
@@ -72,7 +72,7 @@ struct ServerInfo {
*playlist,
*sound,
*teambases_str,
- *timing, *ip_str, *freebases, *queue_str, *domain, pingtime_str[5];
+ *timing, *ip_str, *freebases, *queue_str, *domain, pingtime_str[11];
unsigned port,
ip, users, bases, fps, uptime, teambases, queue, pingtime;
struct timeval start;

View file

@ -7,7 +7,7 @@
Name: xpilot-ng
Version: 4.7.2
Release: 21%{?dist}
Release: 22%{?dist}
Summary: Multiplayer space arcade game
Group: Amusements/Games
@ -29,6 +29,7 @@ Source12: logwatch.serviceconf.xpilot
Source13: logwatch.shared.applyxpilotdate
Patch0: xpilot-ng-4.7.2-scoreassert.patch
Patch1: xpilot-ng-4.7.2-getline.patch
Patch2: xpilot-ng-4.7.2-rhbz830640.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
@ -82,6 +83,7 @@ logwatch scripts for the Xpilot game server
%setup -q
%patch0
%patch1 -p1
%patch2 -p1
pushd doc/man
iconv --from=ISO-8859-1 --to=UTF-8 xpilot-ng-server.man > xpilot-ng-server.man.new
mv xpilot-ng-server.man.new xpilot-ng-server.man
@ -278,6 +280,9 @@ rm -rf $RPM_BUILD_ROOT
%{logwatch_scripts}/shared/applyxpilotdate
%changelog
* Sun Jul 27 2012 Hans de Goede <hdegoede@redhat.com> - 4.7.2-22
- Fix a crash in the welcome screen (rhbz#830640)
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild