mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
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
22 lines
445 B
Diff
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_*/
|