summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-05-29 10:28:29 +0200
committerAmy Winston <amynka@gentoo.org>2016-05-29 10:28:29 +0200
commitcf2dd43960ddaba7674b966b116cb0e9868043eb (patch)
tree42ec16c02993de9aaf702992bd6413662ba9314b /games-roguelike/mangband/files/mangband-1.1.3-strchr.patch
parentdev-ruby/pcaprub: drop ruby19 (diff)
downloadgentoo-cf2dd43960ddaba7674b966b116cb0e9868043eb.tar.gz
gentoo-cf2dd43960ddaba7674b966b116cb0e9868043eb.tar.bz2
gentoo-cf2dd43960ddaba7674b966b116cb0e9868043eb.zip
games-roguelike/mangband: initial commit new package bug #139020
Package-Manager: portage-2.2.28
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.patch22
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 00000000000..f1fa19e1191
--- /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