Bug 188192 - [patch] games/openttd Update to 1.4.0
Summary: [patch] games/openttd Update to 1.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-02 11:00 UTC by ru_M1cRO
Modified: 2014-04-02 12:50 UTC (History)
0 users

See Also:


Attachments
file.diff (875 bytes, patch)
2014-04-02 11:00 UTC, ru_M1cRO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ru_M1cRO 2014-04-02 11:00:00 UTC
Update games/openttd to 1.4.0

Changelog: http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/1.4.0/changelog.txt

PS: patch for fixing:
In file included from /tmp/tmpfs/usr/ports/games/openttd/work/openttd-1.4.0/src/ai/../script/api/script_window.hpp:72,
                 from /tmp/tmpfs/usr/ports/games/openttd/work/openttd-1.4.0/src/ai/../script/api/script_event_types.hpp:17,
                 from /tmp/tmpfs/usr/ports/games/openttd/work/openttd-1.4.0/src/ai/ai.hpp:15,
                 from /tmp/tmpfs/usr/ports/games/openttd/work/openttd-1.4.0/src/train_cmd.cpp:26:
/tmp/tmpfs/usr/ports/games/openttd/work/openttd-1.4.0/src/ai/../script/api/../../widgets/story_widget.h:26:36: warning: no newline at end of file
I'll send to upstream.

Fix: Index: Makefile
===================================================================
--- Makefile	(revision 349118)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	openttd
-PORTVERSION=	1.3.3
+PORTVERSION=	1.4.0
 CATEGORIES=	games
 MASTER_SITES=	http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/${PORTVERSION}/ \
 		http://us.binaries.openttd.org/binaries/releases/${PORTVERSION}/
Index: distinfo
===================================================================
--- distinfo	(revision 349118)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (openttd-1.3.3-source.tar.xz) = 6991ed2c0170481800c3a92a1b43546821a658de91d3ac7efe868588387eca5d
-SIZE (openttd-1.3.3-source.tar.xz) = 6370128
+SHA256 (openttd-1.4.0-source.tar.xz) = d85bcb89d499a177a904f627ce407a086db8b26bc9a021030ee7f5534fbe0955
+SIZE (openttd-1.4.0-source.tar.xz) = 6661904

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-02 11:00:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-02 12:39:40 UTC
Author: danfe
Date: Wed Apr  2 11:39:36 2014
New Revision: 349914
URL: http://svnweb.freebsd.org/changeset/ports/349914
QAT: https://qat.redports.org/buildarchive/r349914/

Log:
  - Update to version 1.4.0
  - USE_XZ -> USES (tar:xz)
  
  PR:	ports/188192

Modified:
  head/games/openttd/Makefile
  head/games/openttd/distinfo
  head/games/openttd/pkg-plist

Modified: head/games/openttd/Makefile
==============================================================================
--- head/games/openttd/Makefile	Wed Apr  2 11:07:43 2014	(r349913)
+++ head/games/openttd/Makefile	Wed Apr  2 11:39:36 2014	(r349914)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	openttd
-PORTVERSION=	1.3.3
+PORTVERSION=	1.4.0
 CATEGORIES=	games
 MASTER_SITES=	http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/${PORTVERSION}/ \
 		http://us.binaries.openttd.org/binaries/releases/${PORTVERSION}/
@@ -16,8 +16,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
 		liblzo2.so:${PORTSDIR}/archivers/lzo2
 
-USES=		gmake pkgconfig
-USE_XZ=		yes
+USES=		gmake pkgconfig tar:xz
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	STRIP="${STRIP_CMD} ${STRIP}"
 CONFIGURE_ARGS=	--prefix-dir="${PREFIX}" --data-dir="${DATADIR_REL}"

Modified: head/games/openttd/distinfo
==============================================================================
--- head/games/openttd/distinfo	Wed Apr  2 11:07:43 2014	(r349913)
+++ head/games/openttd/distinfo	Wed Apr  2 11:39:36 2014	(r349914)
@@ -1,2 +1,2 @@
-SHA256 (openttd-1.3.3-source.tar.xz) = 6991ed2c0170481800c3a92a1b43546821a658de91d3ac7efe868588387eca5d
-SIZE (openttd-1.3.3-source.tar.xz) = 6370128
+SHA256 (openttd-1.4.0-source.tar.xz) = d85bcb89d499a177a904f627ce407a086db8b26bc9a021030ee7f5534fbe0955
+SIZE (openttd-1.4.0-source.tar.xz) = 6661904

Modified: head/games/openttd/pkg-plist
==============================================================================
--- head/games/openttd/pkg-plist	Wed Apr  2 11:07:43 2014	(r349913)
+++ head/games/openttd/pkg-plist	Wed Apr  2 11:39:36 2014	(r349914)
@@ -6,6 +6,7 @@ share/pixmaps/openttd.32.xpm
 %%DATADIR%%/ai/compat_1.1.nut
 %%DATADIR%%/ai/compat_1.2.nut
 %%DATADIR%%/ai/compat_1.3.nut
+%%DATADIR%%/ai/compat_1.4.nut
 @dirrm %%DATADIR%%/ai
 %%DATADIR%%/baseset/no_music.obm
 %%DATADIR%%/baseset/no_sound.obs
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Alexey Dokuchaev freebsd_committer freebsd_triage 2014-04-02 12:39:46 UTC
State Changed
From-To: open->closed

Committed, thanks (r349914).  I've also converted USE_XZ to USES and fixed 
one missing file in pkg-plist (should've been in your patch ;-).