mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
comms/java-simple-serial-connector, devel/arduino18, devel/arduino-core: fix serial communication for leonardo
and re-rolled distribution for arduino-core. PR: 232991 Submitted by: kevans
This commit is contained in:
parent
ba747087f5
commit
5aa9aa3d14
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495537
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= java-simple-serial-connector
|
||||
PORTVERSION= 2.8.0
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= comms java
|
||||
|
||||
|
@ -4,11 +4,11 @@
|
||||
PORTNAMES_PATH = "/dev/";
|
||||
break;
|
||||
}
|
||||
+ case SerialNativeInterface.OS_FREEBSD: {
|
||||
+ PORTNAMES_REGEXP = Pattern.compile("cuaU[0-9]{1,3}");
|
||||
+ PORTNAMES_PATH = "/dev/";
|
||||
+ break;
|
||||
+ }
|
||||
+ case SerialNativeInterface.OS_FREEBSD: {
|
||||
+ PORTNAMES_REGEXP = Pattern.compile("cuaU[0-9]{1,3}$");
|
||||
+ PORTNAMES_PATH = "/dev/";
|
||||
+ break;
|
||||
+ }
|
||||
case SerialNativeInterface.OS_WINDOWS: {
|
||||
PORTNAMES_REGEXP = Pattern.compile("");
|
||||
PORTNAMES_PATH = "";
|
||||
|
@ -1,7 +1,7 @@
|
||||
TIMESTAMP = 1490895941
|
||||
SHA256 (arduino/arduino-Arduino-1.6.18-b439a77_GH0.tar.gz) = ded6eebe1b58834df432e8d49f01a8c1aeb1328479f244075db7f76c12019f37
|
||||
SIZE (arduino/arduino-Arduino-1.6.18-b439a77_GH0.tar.gz) = 48187661
|
||||
TIMESTAMP = 1552437121
|
||||
SHA256 (arduino/arduino-Arduino-1.6.18-b439a77_GH0.tar.gz) = 70191e9badd0986b697326d4640da1d24090f0c72a7e8c8f783bcb1ca63121a4
|
||||
SIZE (arduino/arduino-Arduino-1.6.18-b439a77_GH0.tar.gz) = 48187647
|
||||
SHA256 (arduino/arduino-ArduinoCore-sam-fc57f2e_GH0.tar.gz) = 3d374e7c7037d317f5da73c95361033b81e6cc12330a7623b20ad2f084bff247
|
||||
SIZE (arduino/arduino-ArduinoCore-sam-fc57f2e_GH0.tar.gz) = 38839710
|
||||
SHA256 (arduino/arduino-ArduinoCore-samd-1.6.12_GH0.tar.gz) = fefa0cb0871033451aa0ea08b6a9b4587acdd800b6064a9d47233be7b6368ce8
|
||||
SIZE (arduino/arduino-ArduinoCore-samd-1.6.12_GH0.tar.gz) = 3321356
|
||||
SHA256 (arduino/arduino-ArduinoCore-samd-1.6.12_GH0.tar.gz) = 24527ad183696357be6c97ce8da1c777f9664266452d6ad717b2ec582f08def3
|
||||
SIZE (arduino/arduino-ArduinoCore-samd-1.6.12_GH0.tar.gz) = 3323979
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= arduino
|
||||
PORTVERSION= 1.8.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel java
|
||||
PKGNAMESUFFIX= 18
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
@ -0,0 +1,14 @@
|
||||
--- arduino-core/src/processing/app/SerialPortList.java.orig 2019-03-12 21:32:52 UTC
|
||||
+++ arduino-core/src/processing/app/SerialPortList.java
|
||||
@@ -66,6 +66,11 @@ public class SerialPortList {
|
||||
PORTNAMES_PATH = "";
|
||||
break;
|
||||
}
|
||||
+ case SerialNativeInterface.OS_FREEBSD: {
|
||||
+ PORTNAMES_REGEXP = Pattern.compile("cuaU[0-9]{1,3}$");
|
||||
+ PORTNAMES_PATH = "/dev/";
|
||||
+ break;
|
||||
+ }
|
||||
default: {
|
||||
PORTNAMES_REGEXP = null;
|
||||
PORTNAMES_PATH = null;
|
Loading…
Reference in New Issue
Block a user