Index: head/cad/openfpgaloader/files/patch-src_lattice.cpp =================================================================== --- head/cad/openfpgaloader/files/patch-src_lattice.cpp (nonexistent) +++ head/cad/openfpgaloader/files/patch-src_lattice.cpp (revision 547057) @@ -0,0 +1,13 @@ +--- src/lattice.cpp.orig 2020-08-30 14:33:39 UTC ++++ src/lattice.cpp +@@ -32,6 +32,10 @@ + #include "display.hpp" + #include "spiFlash.hpp" + ++#ifndef ETIME ++#define ETIME 9935 ++#endif ++ + using namespace std; + + #define ISC_ENABLE 0xc6 Property changes on: head/cad/openfpgaloader/files/patch-src_lattice.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_xilinx.cpp =================================================================== --- head/cad/openfpgaloader/files/patch-src_xilinx.cpp (nonexistent) +++ head/cad/openfpgaloader/files/patch-src_xilinx.cpp (revision 547057) @@ -0,0 +1,13 @@ +--- src/xilinx.cpp.orig 2020-07-11 06:47:54 UTC ++++ src/xilinx.cpp +@@ -33,6 +33,10 @@ Xilinx::~Xilinx() {} + #define ISC_DISABLE 0x16 + #define BYPASS 0x3f + ++#ifndef ETIME ++#define ETIME 9935 ++#endif ++ + void Xilinx::reset() + { + _jtag->shiftIR(JSHUTDOWN, 6); Property changes on: head/cad/openfpgaloader/files/patch-src_xilinx.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