diff options
author | 2016-12-15 18:16:47 +0300 | |
---|---|---|
committer | 2016-12-15 18:16:47 +0300 | |
commit | c56e561a155c8b1abeb567bc5c94caca3126b2eb (patch) | |
tree | ede24d0473a3d4a8a0a290614c2ff83ba393d94d /net-misc/quagga/files | |
parent | dev-lisp/clozurecl: replaced PATCHES= by epatch (diff) | |
download | gentoo-c56e561a155c8b1abeb567bc5c94caca3126b2eb.tar.gz gentoo-c56e561a155c8b1abeb567bc5c94caca3126b2eb.tar.bz2 gentoo-c56e561a155c8b1abeb567bc5c94caca3126b2eb.zip |
net-misc/quagga: revision bump
Supress excessive warning logs, useful only for developers
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-misc/quagga/files')
-rw-r--r-- | net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch b/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch new file mode 100644 index 000000000000..e0d27d0fd190 --- /dev/null +++ b/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch @@ -0,0 +1,25 @@ +commit 92193665 warns about duplicate node installs. This should only be +enabled for dev builds beacuse it causes unwanted noise on production +builds. I've enclosed the relevant commands in #ifdef DEV_BUILD, which may +or may not be appropriate. If there's a more appropriate compile-time +option available, that could be used instead. + +--- + lib/command.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/lib/command.c b/lib/command.c +index ab46fc4..bff86e5 100644 +--- a/lib/command.c ++++ b/lib/command.c +@@ -638,9 +638,11 @@ install_element (enum node_type ntype, struct cmd_element *cmd) + + if (hash_lookup (cnode->cmd_hash, cmd) != NULL) + { ++#ifdef DEV_BUILD + fprintf (stderr, + "Multiple command installs to node %d of command:\n%s\n", + ntype, cmd->string); ++#endif + return; + } |