SHA256
1
0
forked from pool/freeciv

update to 2.1.9

OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2009-04-14 08:35:01 +00:00 committed by Git OBS Bridge
parent ea0b9f0782
commit 12d397c621
6 changed files with 26 additions and 23 deletions

View File

@ -1,11 +0,0 @@
--- configure.ac.orig 2008-08-10 14:57:07.000000000 +0200
+++ configure.ac 2008-09-11 15:58:29.000000000 +0200
@@ -193,7 +193,7 @@
dnl I18n support
ALL_LINGUAS="ar cs ca da de el en_GB eo es et fa fi fr he hu it ja ko lt nl
-nb no pl pt pt_BR ro ru sv tr uk zh_CN" AM_GNU_GETTEXT(,need-ngettext)
+nb pl pt pt_BR ro ru sv tr uk zh_CN" AM_GNU_GETTEXT(,need-ngettext)
dnl AM_GNU_GETTEXT doesn't have all features we want
dnl or they don't behave correctly.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73079de7d671b418c7d6916a4a1cb784b81d3eb845e49400a458eaaad698f20b
size 29640362

11
freeciv-2.1.9-no-nb.diff Normal file
View File

@ -0,0 +1,11 @@
--- configure.ac 2009-03-25 00:30:35.000000000 +0100
+++ configure.ac 2009-04-14 10:08:00.000000000 +0200
@@ -193,7 +193,7 @@
dnl I18n support
ALL_LINGUAS="ar cs ca da de el en_GB eo es et fa fi fr he hu it ja ko lt nl
-nb no pl pt pt_BR ro ru sv tr uk zh_CN"
+nb pl pt pt_BR ro ru sv tr uk zh_CN"
AM_GNU_GETTEXT(,need-ngettext)
dnl AM_GNU_GETTEXT doesn't have all features we want

3
freeciv-2.1.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42ed80ced681f14d3e7a40bcf754bc1d4392d722e49173961829a68cc74baf38
size 29732845

View File

@ -1,4 +1,11 @@
-------------------------------------------------------------------
Tue Apr 14 09:48:12 CEST 2009 - dominique-obs@leuenberger.net
- Update to release 2.1.9
Lots opf bugfixes, see: http://freeciv.wikia.com/wiki/NEWS-2.1.9
Fixes the crash with gcc 4.x optimization (bnc#465899), thus re-
enabling -O2
-------------------------------------------------------------------
Wed Jan 15 09:13:00 CET 2009 - dominique-obs@leuenberger.net
- Change compiler optimization from -O2 to -O1 (fix bnc#465899)

View File

@ -1,5 +1,5 @@
#
# spec file for package freeciv (Version 2.1.8)
# spec file for package freeciv (Version 2.1.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -26,7 +26,7 @@ License: GPL v2 or later
Group: Amusements/Games/Strategy/Turn Based
AutoReqProv: on
Summary: Free Civilization Clone
Version: 2.1.8
Version: 2.1.9
Release: 1
Source0: %{name}-%{version}.tar.bz2
Source5: freeciv.desktop
@ -64,15 +64,11 @@ echo "X-SuSE-translate=false" >> bootstrap/freeciv-server.desktop.in
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -O1 -fno-strict-aliasing" ./configure \
--prefix=/usr \
--datadir=/usr/share \
--datarootdir=/usr/share \
--localedir=/usr/share/locale \
#CFLAGS="$RPM_OPT_FLAGS -O1 -fno-strict-aliasing" ./configure \a
%configure \
--enable-client=gtk2 \
--disable-esd \
--with-zlib --with-readline \
--mandir=%{_mandir}
--with-zlib --with-readline
grep '^#define SDL 1$' config.h
make