diff options
author | agc <agc@pkgsrc.org> | 2004-01-23 19:05:45 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2004-01-23 19:05:45 +0000 |
commit | e4ef9535c810141caeb2573064c4916d2114bd57 (patch) | |
tree | 012c66ccca2d4e835d6da9a6c3cdcdf61db45182 /games/netmaj/patches | |
parent | 6c403dcfe241ae86a4a7b77bad6d29971c149256 (diff) | |
download | pkgsrc-e4ef9535c810141caeb2573064c4916d2114bd57.tar.gz |
Make this compile (__STDC__ wrongly undefined, and also attr_t redefinition
conflict with curses)
Diffstat (limited to 'games/netmaj/patches')
-rw-r--r-- | games/netmaj/patches/patch-ah | 13 | ||||
-rw-r--r-- | games/netmaj/patches/patch-ai | 13 | ||||
-rw-r--r-- | games/netmaj/patches/patch-aj | 13 | ||||
-rw-r--r-- | games/netmaj/patches/patch-ak | 15 |
4 files changed, 54 insertions, 0 deletions
diff --git a/games/netmaj/patches/patch-ah b/games/netmaj/patches/patch-ah new file mode 100644 index 00000000000..79fb25fb528 --- /dev/null +++ b/games/netmaj/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2004/01/23 19:05:45 agc Exp $ + +--- pai.h 2004/01/23 18:56:09 1.1 ++++ pai.h 2004/01/23 18:57:00 +@@ -122,7 +122,7 @@ + ||(K_SOU_2 <= (p) && (p) <= K_SOU_9) )?((p)-1):0) + + +-typedef int attr_t; ++typedef int pai_attr_t; + + #define R_MASK 0007 + #define F_MASK 0070 diff --git a/games/netmaj/patches/patch-ai b/games/netmaj/patches/patch-ai new file mode 100644 index 00000000000..155ad5936a4 --- /dev/null +++ b/games/netmaj/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2004/01/23 19:05:45 agc Exp $ + +--- global.h 2004/01/23 18:57:54 1.1 ++++ global.h 2004/01/23 18:58:17 +@@ -70,7 +70,7 @@ + typedef struct river { + pai_t in; /* get pai */ + pai_t out; /* put pai */ +- attr_t attr; /* attr (how get, how put, how ...)*/ ++ pai_attr_t attr; /* attr (how get, how put, how ...)*/ + struct river *prev; + struct river *next; + } river_t; diff --git a/games/netmaj/patches/patch-aj b/games/netmaj/patches/patch-aj new file mode 100644 index 00000000000..7e7a6a3352b --- /dev/null +++ b/games/netmaj/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2004/01/23 19:05:45 agc Exp $ + +--- log.c 2004/01/23 18:57:54 1.1 ++++ log.c 2004/01/23 18:58:33 +@@ -31,7 +31,7 @@ + return pai_strings[n]; + } + +-char *attr2str(n) attr_t n; { ++char *attr2str(n) pai_attr_t n; { + static char buf[4]; + buf[0] = F_CHARS[F_GET(n)>>F_SHFT]; + buf[1] = T_CHARS[T_GET(n)>>T_SHFT]; diff --git a/games/netmaj/patches/patch-ak b/games/netmaj/patches/patch-ak new file mode 100644 index 00000000000..f72853ef461 --- /dev/null +++ b/games/netmaj/patches/patch-ak @@ -0,0 +1,15 @@ +$NetBSD: patch-ak,v 1.1 2004/01/23 19:05:45 agc Exp $ + +--- lib/libcurses/printw.c 2004/01/23 19:01:18 1.1 ++++ lib/libcurses/printw.c 2004/01/23 19:01:45 +@@ -42,10 +42,6 @@ + * is not in effect. + */ + +-#ifdef __GNUC__ +-#undef __STDC__ +-#endif +- + #if __STDC__ + #include <stdarg.h> + #else |