aboutsummaryrefslogtreecommitdiff
path: root/devel/libcli/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-04-27 12:20:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-04-27 12:20:22 +0000
commita254f6be2760949092f9805119e7ffba86f31edf (patch)
tree136254de252bd7dbbd3e058d40dfbe7a9af6b4dc /devel/libcli/files
parent21cd32b9874a4e18f3951b04e41afb378530c931 (diff)
downloadports-a254f6be2760949092f9805119e7ffba86f31edf.tar.gz
ports-a254f6be2760949092f9805119e7ffba86f31edf.zip
Libcli provides a shared library for including a Cisco-like command-line
interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree. WWW: http://github.com/dparrish/libcli/
Notes
Notes: svn path=/head/; revision=273255
Diffstat (limited to 'devel/libcli/files')
-rw-r--r--devel/libcli/files/patch-clitest.c10
-rw-r--r--devel/libcli/files/patch-libcli.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/devel/libcli/files/patch-clitest.c b/devel/libcli/files/patch-clitest.c
new file mode 100644
index 000000000000..59f6c5479ade
--- /dev/null
+++ b/devel/libcli/files/patch-clitest.c
@@ -0,0 +1,10 @@
+--- ./clitest.c.orig 2008-10-09 04:38:01.000000000 +0200
++++ ./clitest.c 2011-04-27 14:03:12.956175470 +0200
+@@ -4,6 +4,7 @@
+ #include <winsock2.h>
+ #include <windows.h>
+ #else
++#include <netinet/in.h>
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+ #endif
diff --git a/devel/libcli/files/patch-libcli.c b/devel/libcli/files/patch-libcli.c
new file mode 100644
index 000000000000..eb6b508e3ae0
--- /dev/null
+++ b/devel/libcli/files/patch-libcli.c
@@ -0,0 +1,10 @@
+--- ./libcli.c.orig 2008-10-09 04:38:01.000000000 +0200
++++ ./libcli.c 2011-04-27 14:02:40.896273703 +0200
+@@ -9,7 +9,6 @@
+ #include <stdarg.h>
+ #include <stdlib.h>
+ #include <memory.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <ctype.h>
+ #include <unistd.h>