aboutsummaryrefslogtreecommitdiffstats
path: root/games/8kingdoms/files
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-10-07 22:30:07 +0800
committeracm <acm@FreeBSD.org>2007-10-07 22:30:07 +0800
commit95303f3638ea3a8f44bccdf2a70b3939d56e9076 (patch)
tree26a3e60b346bf03f2e4a6909fca60c34ca4110d3 /games/8kingdoms/files
parentf56c13cfd4743978dccedd819a835d33ee01b233 (diff)
downloadfreebsd-ports-graphics-95303f3638ea3a8f44bccdf2a70b3939d56e9076.tar.gz
freebsd-ports-graphics-95303f3638ea3a8f44bccdf2a70b3939d56e9076.tar.zst
freebsd-ports-graphics-95303f3638ea3a8f44bccdf2a70b3939d56e9076.zip
- New port: games/8kingdoms
Theme of the game 8 Kingdoms is inspirated by the world of fantasy. Players play on a fully 3D hex map. They construct buildings, recruit units including infantry, mounted units, mages, catapults and finally they attack enemy or help allies. Units gain experiences during the battle, each unit can get some abilities upgraded to be stronger. Data are stored in XML and freely accessible from language versions to units attributes, moreover map editor with random map generator is included for comfortable map editing. WWW: http://kralovstvi.sourceforge.net/
Diffstat (limited to 'games/8kingdoms/files')
-rw-r--r--games/8kingdoms/files/patch-net_server.cpp11
-rw-r--r--games/8kingdoms/files/pkg-message.in17
2 files changed, 28 insertions, 0 deletions
diff --git a/games/8kingdoms/files/patch-net_server.cpp b/games/8kingdoms/files/patch-net_server.cpp
new file mode 100644
index 00000000000..e305e7b8082
--- /dev/null
+++ b/games/8kingdoms/files/patch-net_server.cpp
@@ -0,0 +1,11 @@
+--- net/server.cpp 2007-10-07 03:21:11.000000000 -0500
++++ net/server.cpp 2007-10-07 03:21:57.000000000 -0500
+@@ -415,7 +415,7 @@
+ #ifdef WIN32
+ int sin_size = sizeof(struct sockaddr_in); // Windows chteji do accept int
+ #else
+- size_t sin_size = sizeof(struct sockaddr_in);
++ socklen_t sin_size = sizeof(struct sockaddr_in);
+ #endif
+
+ int s;
diff --git a/games/8kingdoms/files/pkg-message.in b/games/8kingdoms/files/pkg-message.in
new file mode 100644
index 00000000000..017da989c8a
--- /dev/null
+++ b/games/8kingdoms/files/pkg-message.in
@@ -0,0 +1,17 @@
+###############################################################################
+
+The 8Kingdoms game was installed
+
+1) Run the game using:
+
+ # 8kingdoms
+
+2) The config and log files are stored into the ~/.8Kingdoms directory
+
+3) You can see more information about this game at:
+
+ %%DOCSDIR%%
+
+4) Enjoy it ;)
+
+###############################################################################