summaryrefslogtreecommitdiff
path: root/sys-devel/distcc/files/distcc-3.0-fix-fortify.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/distcc/files/distcc-3.0-fix-fortify.patch')
-rw-r--r--sys-devel/distcc/files/distcc-3.0-fix-fortify.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-devel/distcc/files/distcc-3.0-fix-fortify.patch b/sys-devel/distcc/files/distcc-3.0-fix-fortify.patch
new file mode 100644
index 000000000000..8edc330e324b
--- /dev/null
+++ b/sys-devel/distcc/files/distcc-3.0-fix-fortify.patch
@@ -0,0 +1,11 @@
+diff -ru a/src/snprintf.h b/src/snprintf.h
+--- a/src/snprintf.h 2008-08-06 15:52:06.000000000 -0500
++++ b/src/snprintf.h 2009-01-04 15:19:22.000000000 -0600
+@@ -7,6 +7,7 @@
+ */
+
+ #include <stdarg.h>
++#include "config.h"
+
+ #ifdef __GNUC__
+ /** Use gcc attribute to check printf fns. a1 is the 1-based index of