summaryrefslogtreecommitdiff
path: root/games/nlarn/files/patch-src_player.c
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@FreeBSD.org>2021-10-17 10:30:10 +0000
committerVinícius Zavam <egypcio@FreeBSD.org>2021-10-17 10:30:10 +0000
commit7fb67a92738b6ae04b1e7be58413d2ae2295516e (patch)
tree2b23c828e63c63b31cdacf5f1fd0154e0e594ab0 /games/nlarn/files/patch-src_player.c
parentemulators/virtualbox-ose-additions-legacy: Import improvements from non legac... (diff)
games/nlarn: update 0.7.3 to 0.7.6
- patch applied with changes; - this port now uses 'localbase' and 'ncurses:port' - build fine for 12, 13 and 14. RELEASE NOTES * https://nlarn.github.io/news/2020/05/23/release-0.7.6 Reported by: Alex <r7st.guru % gmail.com> PR: 257088
Diffstat (limited to 'games/nlarn/files/patch-src_player.c')
-rw-r--r--games/nlarn/files/patch-src_player.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/nlarn/files/patch-src_player.c b/games/nlarn/files/patch-src_player.c
new file mode 100644
index 000000000000..e5fb3d166543
--- /dev/null
+++ b/games/nlarn/files/patch-src_player.c
@@ -0,0 +1,18 @@
+--- src/player.c.orig 2020-05-23 06:13:27 UTC
++++ src/player.c
+@@ -27,13 +27,13 @@
+ #include "display.h"
+ #include "fov.h"
+ #include "game.h"
+-#include "nlarn.h"
++#include "extdefs.h"
+ #include "player.h"
+ #include "random.h"
+ #include "scoreboard.h"
+ #include "sobjects.h"
+
+-const char *player_sex_str[] = {"not defined", "male", "female"};
++const char *player_sex_str[PS_MAX] = {"not defined", "male", "female"};
+
+ static const char aa1[] = "mighty evil master";
+ static const char aa2[] = "apprentice demi-god";