File: Use-platform.keys.rewrite.txt-from-arduino-builder.patch

package info (click to toggle)
arduino 2%3A1.8.19%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,960 kB
  • sloc: java: 26,464; python: 8,872; cpp: 3,573; xml: 1,237; sh: 551; perl: 90; ansic: 89; makefile: 53
file content (24 lines) | stat: -rw-r--r-- 1,188 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Ignacio Losiggio <iglosiggio@gmail.com>
Date: Tue, 3 Apr 2018 15:14:18 -0300
Subject: Use platform.keys.rewrite.txt from arduino-builder

Forwarded: not-needed

The file platform.keys.rewrite.txt is packaged within arduino-builder.
---
 arduino-core/src/processing/app/debug/LegacyTargetPlatform.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java b/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java
index f3c1dd4..ea6df95 100644
--- a/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java
+++ b/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java
@@ -155,7 +155,7 @@ public class LegacyTargetPlatform implements TargetPlatform {
   }
 
   private void rewriteKeysOfOldPlatformsTxtAndWarnAboutIt() throws IOException {
-    File platformRewrite = new File(BaseNoGui.getHardwareFolder(), "platform.keys.rewrite.txt");
+    File platformRewrite = new File("/usr/share/arduino-builder/platform.keys.rewrite.txt");
     PreferencesMap platformRewriteProps = new PreferencesMap(platformRewrite);
 
     PreferencesMap oldProps = platformRewriteProps.subTree("old");