<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c5447d99c985637e75cefabccbb5b21cc0bbf626">https://github.com/macports/macports-ports/commit/c5447d99c985637e75cefabccbb5b21cc0bbf626</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c5447d99c98 vms-empire: update to 1.17
</span>c5447d99c98 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c5447d99c985637e75cefabccbb5b21cc0bbf626
</span>Author: Mohamed Akram <mohd.akram@outlook.com>
AuthorDate: Tue Apr 9 17:41:31 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> vms-empire: update to 1.17
</span>---
games/vms-empire/Portfile | 64 +++++++++++++++++---------------
games/vms-empire/files/patch-empire.diff | 19 ++++++++++
games/vms-empire/files/patch-game.c | 19 ----------
3 files changed, 53 insertions(+), 49 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/vms-empire/Portfile b/games/vms-empire/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e01a61fc8c5..67dd2f433af 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/vms-empire/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/vms-empire/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,38 +1,42 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name vms-empire
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories games
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Copyleft
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description war simulation game
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Empire is a simulation of a full-scale war between two emperors, the \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- computer and you. Naturally, there is only room for one, so the object \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- of the game is to destroy the other. The computer plays by the same \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rules that you do. This game is the ancestor of all the multiplayer \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Empire simulations out there.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.catb.org/~esr/vms-empire/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 d458082c1052e63c1700fa5b54d4ef6f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:ncurses
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-game.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args LIBS="-L${prefix}/lib -lncurses"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name vms-empire
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories games
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description war simulation game
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Empire is a simulation of a full-scale war between two \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ emperors, the computer and you. Naturally, there is only \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ room for one, so the object of the game is to destroy the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ other. The computer plays by the same rules that you do. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This game is the ancestor of all the multiplayer Empire \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ simulations out there.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.catb.org/~esr/vms-empire/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8e5fc0b176f83d65561810c90b0abef705190945 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0261ecea88d571f825bef16f0bd273356552dade02a2a83c5b0c8d08cfac127a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 111265
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://gitlab.com/esr/vms-empire/-/issues/4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-empire.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override-append CFLAGS
</span>
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/vms-empire \
</span> ${destroot}${prefix}/bin
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 444 ${worksrcpath}/${name}.6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/man/man6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 444 ${worksrcpath}/empire.6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/man/man6/vms-empire.6
</span> xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 444 -W ${worksrcpath} AUTHORS BUGS COPYING NEWS README \
${destroot}${prefix}/share/doc/${name}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/vms-empire/files/patch-empire.diff b/games/vms-empire/files/patch-empire.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0e295bb85b5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/vms-empire/files/patch-empire.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- empire.c.orig 2024-02-09 02:56:35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ empire.c 2024-04-09 15:43:27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -172,7 +172,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ redraw();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case '+': /* change debug state */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case '+': /* change debug state */ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char e = get_chx();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (e == '+') {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ game.debug = true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -182,6 +182,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ huh();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (game.debug) {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/vms-empire/files/patch-game.c b/games/vms-empire/files/patch-game.c
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 7172175794d..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/vms-empire/files/patch-game.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,19 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- game.c.orig 2005-04-15 00:06:21.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ game.c 2005-04-15 00:06:45.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -29,6 +29,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int xread(FILE *f, char *buf, int size);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int xwrite(FILE *f, char *buf, int size);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void stat_display( char *mbuf, int round);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+static void mark_cont(long mapi);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Initialize a new game. Here we generate a new random map, put cities
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -407,8 +408,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int good_cont (mapi)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long mapi;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- static void mark_cont();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long val;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ncity = 0; /* nothing seen yet */
</span></pre><pre style='margin:0'>
</pre>