diff options
Diffstat (limited to 'games-roguelike/mangband/files/mangband-1.1.3-strchr.patch')
-rw-r--r-- | games-roguelike/mangband/files/mangband-1.1.3-strchr.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games-roguelike/mangband/files/mangband-1.1.3-strchr.patch b/games-roguelike/mangband/files/mangband-1.1.3-strchr.patch new file mode 100644 index 000000000000..f1fa19e1191e --- /dev/null +++ b/games-roguelike/mangband/files/mangband-1.1.3-strchr.patch @@ -0,0 +1,22 @@ +diff --git a/src/common/h-system.h b/src/common/h-system.h +index f60bbc1..0294dd3 100644 +--- a/common/h-system.h ++++ a/common/h-system.h +@@ -104,17 +104,6 @@ + + #ifdef SET_UID + +-# ifdef USG +-# include <string.h> +-# else +-# include <strings.h> +-extern char *strstr(); +-extern char *strchr(); +-extern char *strrchr(); +-# endif +- +-#else +- + # include <string.h> + + #endif |