Index: head/cad/openfpgaloader/files/patch-src_anlogic.cpp =================================================================== --- head/cad/openfpgaloader/files/patch-src_anlogic.cpp (nonexistent) +++ head/cad/openfpgaloader/files/patch-src_anlogic.cpp (revision 559585) @@ -0,0 +1,13 @@ +--- src/anlogic.cpp.orig 2020-12-29 13:39:50 UTC ++++ src/anlogic.cpp +@@ -23,6 +23,10 @@ + #include "progressBar.hpp" + #include "spiFlash.hpp" + ++#ifndef ETIME ++#define ETIME 9935 ++#endif ++ + #define REFRESH 0x01 + #define IDCODE 0x06 + #define JTAG_PROGRAM 0x30 Property changes on: head/cad/openfpgaloader/files/patch-src_anlogic.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/openfpgaloader/files/patch-src_ftdispi.cpp =================================================================== --- head/cad/openfpgaloader/files/patch-src_ftdispi.cpp (nonexistent) +++ head/cad/openfpgaloader/files/patch-src_ftdispi.cpp (revision 559585) @@ -0,0 +1,13 @@ +--- src/ftdispi.cpp.orig 2020-12-29 13:50:17 UTC ++++ src/ftdispi.cpp +@@ -8,6 +8,10 @@ + #include "ftdipp_mpsse.hpp" + #include "ftdispi.hpp" + ++#ifndef ETIME ++#define ETIME 9935 ++#endif ++ + /* + * SCLK -> ADBUS0 + * MOSI -> ADBUS1 Property changes on: head/cad/openfpgaloader/files/patch-src_ftdispi.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/openfpgaloader/files/patch-src_lattice.cpp =================================================================== --- head/cad/openfpgaloader/files/patch-src_lattice.cpp (revision 559584) +++ head/cad/openfpgaloader/files/patch-src_lattice.cpp (revision 559585) @@ -1,13 +1,13 @@ ---- src/lattice.cpp.orig 2020-08-30 14:33:39 UTC +--- src/lattice.cpp.orig 2020-12-17 12:58:30 UTC +++ src/lattice.cpp -@@ -32,6 +32,10 @@ - #include "display.hpp" +@@ -34,6 +34,10 @@ + #include "part.hpp" #include "spiFlash.hpp" +#ifndef ETIME +#define ETIME 9935 +#endif + using namespace std; #define ISC_ENABLE 0xc6 Index: head/cad/openfpgaloader/files/patch-src_xilinx.cpp =================================================================== --- head/cad/openfpgaloader/files/patch-src_xilinx.cpp (revision 559584) +++ head/cad/openfpgaloader/files/patch-src_xilinx.cpp (revision 559585) @@ -1,13 +1,13 @@ ---- src/xilinx.cpp.orig 2020-07-11 06:47:54 UTC +--- src/xilinx.cpp.orig 2020-12-17 12:58:30 UTC +++ src/xilinx.cpp -@@ -33,6 +33,10 @@ Xilinx::~Xilinx() {} +@@ -47,6 +47,10 @@ Xilinx::~Xilinx() {} #define ISC_DISABLE 0x16 #define BYPASS 0x3f +#ifndef ETIME +#define ETIME 9935 +#endif + void Xilinx::reset() { _jtag->shiftIR(JSHUTDOWN, 6);