diff options
author | Arch3y <arch3y@arch3y.com> | 2017-04-24 19:28:10 -0400 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-29 07:18:57 +0000 |
commit | 19bff561e3385c19076fe36ddbf38df01efe278d (patch) | |
tree | 0d8d0dc0a51fd59b51fca5a665381df403243d12 /testing/libcli/gcc-5.2-fix.patch | |
parent | 061f3edca3c05cb5a6720916ba69a32ff3815c5e (diff) | |
download | aports-19bff561e3385c19076fe36ddbf38df01efe278d.tar.bz2 aports-19bff561e3385c19076fe36ddbf38df01efe278d.tar.xz |
testing/libcli: new aport
A library for including a Cisco-like command-line interface
https://github.com/dparrish/libcli
[TT: modernize]
Diffstat (limited to 'testing/libcli/gcc-5.2-fix.patch')
-rw-r--r-- | testing/libcli/gcc-5.2-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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]); |