openbsd-ports/devel/arduino/patches/patch-libraries_Ethernet_Ethernet_cpp
jasper 3cec2e35f4 import arduino 22
Arduino is an open-source electronics prototyping platform based on
flexible, easy-to-use hardware and software. It's intended for artists,
designers, hobbyists, and anyone interested in creating interactive
objects or environments. 
[..]
This package contains the libraries, header files and tools to develop
Arduino sketches. It does not include the Arduino IDE frontend.

based on work from and ok ckuethe@
2011-09-17 16:41:30 +00:00

14 lines
490 B
Plaintext

$OpenBSD: patch-libraries_Ethernet_Ethernet_cpp,v 1.1.1.1 2011/09/17 16:41:31 jasper Exp $
Adjust include path, so we don't have to mess around in BSDmakefile
with adjusting include paths just for Ethernet.
--- libraries/Ethernet/Ethernet.cpp.orig Fri Sep 16 15:11:08 2011
+++ libraries/Ethernet/Ethernet.cpp Fri Sep 16 15:11:20 2011
@@ -1,4 +1,4 @@
-#include "w5100.h"
+#include "utility/w5100.h"
#include "Ethernet.h"
// XXX: don't make assumptions about the value of MAX_SOCK_NUM.