summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <hsoft@hardcoded.net>2018-02-12 15:23:28 -0500
committerAmy Liffey <amynka@gentoo.org>2018-03-06 20:58:49 +0100
commit6f7c88534233109f8f50dab0fbdc6adb5ae8add0 (patch)
tree858b3c301d8a6dc536cdf537d89f91a4bd3762fd /dev-embedded/arduino-builder/files
parentdev-embedded/arduino-ctags: new package (diff)
downloadgentoo-6f7c88534233109f8f50dab0fbdc6adb5ae8add0.tar.gz
gentoo-6f7c88534233109f8f50dab0fbdc6adb5ae8add0.tar.bz2
gentoo-6f7c88534233109f8f50dab0fbdc6adb5ae8add0.zip
dev-embedded/arduino-builder: add package
This package is needed for the bump to dev-embedded/arduino to 1.8.5. Mostly based on maurerpe's fine work at https://github.com/maurerpe/arduino-overlay/tree/master/dev-embedded/arduino-builder but with a "vendor" approach to golang dependencies. Bug: https://bugs.gentoo.org/525882 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-embedded/arduino-builder/files')
-rw-r--r--dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch
new file mode 100644
index 000000000000..854dc886af01
--- /dev/null
+++ b/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch
@@ -0,0 +1,19 @@
+diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt
+index ca8df1f..17ce03f 100644
+--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt
++++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt
+@@ -1,11 +1,11 @@
+ # ctags
+ # ------------------------------
+-tools.ctags.path={runtime.tools.ctags.path}
+-tools.ctags.cmd.path={path}/ctags
++tools.ctags.path=/usr/bin
++tools.ctags.cmd.path={path}/arduino-ctags
+ tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
+
+ # additional entries
+-tools.avrdude.path={runtime.tools.avrdude.path}
++tools.avrdude.path=/usr/bin
+
+ preproc.macros.flags=-w -x c++ -E -CC
+ #preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}