$OpenBSD: patch-hardware_arduino_cores_arduino_Arduino_h,v 1.1 2014/07/19 11:34:11 edd Exp $

Fix arduino mega avr-libc compat bug:
http://wiki.gentoo.org/wiki/Arduino#Problem_with_deprecated_items_in_avr-libc_v1.8.0_and_above_.28and_Mega_2560.29

--- hardware/arduino/cores/arduino/Arduino.h.orig	Sat Jul 19 12:13:03 2014
+++ hardware/arduino/cores/arduino/Arduino.h	Sat Jul 19 12:13:38 2014
@@ -1,6 +1,8 @@
 #ifndef Arduino_h
 #define Arduino_h
 
+#define __AVR_LIBC_DEPRECATED_ENABLE__ 1
+
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
