summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-11 02:23:51 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-11 02:23:51 +0400
commit13168e04d98768e6c1dab050c821fbe01660aecd (patch)
tree1bea703aced2f0e7aff14bd3bbc6a638781c8761
parent7a54471e59ad598e296cffed4f0f72ad94a62f41 (diff)
downloadinetutils-13168e04d98768e6c1dab050c821fbe01660aecd.tar.gz
illumos libc uses AUTHTYPE_NAMES
-rw-r--r--debian/patches/libtelnet-AUTHTYPE_NAMES.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/libtelnet-AUTHTYPE_NAMES.patch b/debian/patches/libtelnet-AUTHTYPE_NAMES.patch
new file mode 100644
index 0000000..83530b2
--- /dev/null
+++ b/debian/patches/libtelnet-AUTHTYPE_NAMES.patch
@@ -0,0 +1,12 @@
+Index: inetutils/libtelnet/auth.c
+===================================================================
+--- inetutils.orig/libtelnet/auth.c 2011-12-31 19:02:32.000000000 +0400
++++ inetutils/libtelnet/auth.c 2013-05-11 02:20:54.588903418 +0400
+@@ -76,6 +76,7 @@
+ # include <sys/types.h>
+ # include <signal.h>
+ # define AUTH_NAMES
++# define AUTHTYPE_NAMES /* illumos/solaris libc */
+ # include <arpa/telnet.h>
+ # include <stdlib.h>
+ # ifdef NO_STRING_H