From 19bff561e3385c19076fe36ddbf38df01efe278d Mon Sep 17 00:00:00 2001 From: Arch3y Date: Mon, 24 Apr 2017 19:28:10 -0400 Subject: testing/libcli: new aport A library for including a Cisco-like command-line interface https://github.com/dparrish/libcli [TT: modernize] --- testing/libcli/gcc-5.2-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/libcli/gcc-5.2-fix.patch (limited to 'testing/libcli/gcc-5.2-fix.patch') diff --git a/testing/libcli/gcc-5.2-fix.patch b/testing/libcli/gcc-5.2-fix.patch new file mode 100644 index 0000000000..0f2232ea73 --- /dev/null +++ b/testing/libcli/gcc-5.2-fix.patch @@ -0,0 +1,11 @@ +--- libcli-1.9.7.orig/clitest.c ++++ libcli-1.9.7/clitest.c +@@ -72,7 +72,7 @@ + int cmd_test(struct cli_def *cli, const char *command, char *argv[], int argc) + { + int i; +- cli_print(cli, "called %s with \"%s\"", __FUNCTION__, command); ++ cli_print(cli, "called %s with \"%s\"", __func__, command); + cli_print(cli, "%d arguments:", argc); + for (i = 0; i < argc; i++) + cli_print(cli, " %s", argv[i]); -- cgit v1.2.3