python/hypothesis: update to 6.121.0
[oi-userland.git] / components / network / domoticz / patches / 003-Helper.cpp.patch
bloba608ff0be345f28d7ea141582931945c842ed873
1 --- domoticz-2022.1/main/Helper.cpp.bak Thu Jun 16 05:26:57 2022
2 +++ domoticz-2022.1/main/Helper.cpp Thu Jun 16 05:27:58 2022
3 @@ -7,7 +7,7 @@
4 #include <dirent.h>
5 #include <unistd.h>
6 #endif
7 -#if !defined(WIN32)
8 +#if !defined(WIN32) && !defined(__sun)
9 #include <sys/ptrace.h>
10 #endif
11 #include <sys/types.h>
12 @@ -345,7 +345,8 @@
17 +#elif defined(__sun)
18 + // TODO: figure out how to use serial ports
19 #else
20 //scan /dev for /dev/ttyUSB* or /dev/ttyS* or /dev/tty.usbserial* or /dev/ttyAMA* or /dev/ttySAC* or /dev/ttymxc*
21 //also scan /dev/serial/by-id/* on Linux