pentoo-overlay/net-analyzer/dirb/files/gcc10.patch
Rick Farina (Zero_Chaos) 5fa6190dd0
net-analyzer/dirb: import debian patchset
Closes: https://bugs.gentoo.org/769860

Pretty much I imported the debian patchset from
https://salsa.debian.org/pkg-security-team/dirb/-/tree/debian/master/debian/patches
Testing shows it builds and runs, I added a helpful symlink to the
default wordlist location
2021-11-22 13:03:56 -05:00

22 lines
445 B
Diff

Description: Gcc 10 compilation fails
Bug due to incorrect C file header protection (no preprocessing).
Author: Philippe Thierry <philou@debian.org>
Bug: https://bugs.debian.org/957137
Forwarded: not-needed
--- a/src/variables.h
+++ b/src/variables.h
@@ -4,6 +4,8 @@
* variables.h - Global Variables
*
*/
+#ifndef VARIABLES_H_
+#define VARIABLES_H_
#include "global.h"
@@ -46,4 +48,4 @@
-
+#endif/*!VARIABLES_H_*/