diff options
author | agc <agc@pkgsrc.org> | 2002-06-28 16:03:02 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2002-06-28 16:03:02 +0000 |
commit | 17c78c9b5f2c352e01c66c47157a56c4e656d5f8 (patch) | |
tree | 3d31a4b0774fefec22ac2fdcfcebc554b6421e0c /games/iso-pernangband/patches/patch-ab | |
parent | 3a5e8ec836113fe96a936fdb1adc6fd12b203919 (diff) | |
download | pkgsrc-17c78c9b5f2c352e01c66c47157a56c4e656d5f8.tar.gz |
Make this compile on 1.6 and above
Diffstat (limited to 'games/iso-pernangband/patches/patch-ab')
-rw-r--r-- | games/iso-pernangband/patches/patch-ab | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games/iso-pernangband/patches/patch-ab b/games/iso-pernangband/patches/patch-ab new file mode 100644 index 00000000000..bf905f16a63 --- /dev/null +++ b/games/iso-pernangband/patches/patch-ab @@ -0,0 +1,26 @@ +$NetBSD: patch-ab,v 1.1 2002/06/28 16:03:03 agc Exp $ + +--- types.h 2002/06/28 15:41:29 1.1 ++++ types.h 2002/06/28 15:42:27 +@@ -1562,8 +1562,8 @@ + }; + + /* A structure to describe a music. */ +-typedef struct music music; +-struct music { ++typedef struct music_t music_t; ++struct music_t { + char desc[80]; /* Desc of the music */ + s16b music; /* Music. */ + s16b dur; /* Duration(if any) */ +@@ -1590,8 +1590,8 @@ + }; + + /* A structure to describe the fate of the player */ +-typedef struct fate fate; +-struct fate { ++typedef struct fate_t fate_t; ++struct fate_t { + byte fate; /* Which fate */ + byte level; /* On which level */ + byte serious; /* Is it sure? */ |