summaryrefslogtreecommitdiff
path: root/devel/arduino/files
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-04-17 18:32:12 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-04-17 18:32:12 +0000
commit03d1bf2fada82fa44c76609a32192a5fd539bcbe (patch)
tree3b2c62cb0a660600089801119a5e8577e0188d71 /devel/arduino/files
parent- Update to 1.0.2 (diff)
- Fix Print.cpp, broken since avr-libc 1.8.0 [1]
- Pet portlint (add USE_LDCONFIG on shared lib) [2] - Bump PORTREVISION PR: ports/166183 [1] Reviewed by: scheidell (me) [2] Approved by: wblock@ (maintainer)
Notes
Notes: svn path=/head/; revision=294966
Diffstat (limited to 'devel/arduino/files')
-rw-r--r--devel/arduino/files/patch-hardware-arduino-cores-arduino-Print.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/arduino/files/patch-hardware-arduino-cores-arduino-Print.cpp b/devel/arduino/files/patch-hardware-arduino-cores-arduino-Print.cpp
new file mode 100644
index 000000000000..ff78f74e32c3
--- /dev/null
+++ b/devel/arduino/files/patch-hardware-arduino-cores-arduino-Print.cpp
@@ -0,0 +1,12 @@
+--- hardware/arduino/cores/arduino/Print.cpp.orig 2012-03-16 11:16:23.000000000 -0700
++++ hardware/arduino/cores/arduino/Print.cpp 2012-03-16 11:17:17.000000000 -0700
+@@ -41,7 +41,7 @@
+
+ size_t Print::print(const __FlashStringHelper *ifsh)
+ {
+- const prog_char *p = (const prog_char *)ifsh;
++ const char PROGMEM *p = (const char PROGMEM *)ifsh;
+ size_t n = 0;
+ while (1) {
+ unsigned char c = pgm_read_byte(p++);
+--- patch-hardware-arduino-cores-arduino-Print.cpp ends here --- \ No newline at end of file