diff --git a/devel/avr-gcc/files/patch-libc++ b/devel/avr-gcc/files/patch-libc++
new file mode 100644
index 000000000000..0472a42dc668
--- /dev/null
+++ b/devel/avr-gcc/files/patch-libc++
@@ -0,0 +1,43 @@
+--- gcc/auto-profile.c.orig 2015-01-18 02:25:42 UTC
++++ gcc/auto-profile.c
+@@ -19,11 +19,9 @@ along with GCC; see the file COPYING3.
+ . */
+
+ #include "config.h"
+-#include "system.h"
+-
+-#include
+ #include