Date: Tue, 29 Dec 2020 13:56:29 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559585 - head/cad/openfpgaloader/files Message-ID: <202012291356.0BTDuTnR038110@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Dec 29 13:56:29 2020 New Revision: 559585 URL: https://svnweb.freebsd.org/changeset/ports/559585 Log: cad/openfpgaloader: fix build on GCC architectures Additional files now use ETIME. Added: head/cad/openfpgaloader/files/patch-src_anlogic.cpp (contents, props changed) head/cad/openfpgaloader/files/patch-src_ftdispi.cpp (contents, props changed) Modified: head/cad/openfpgaloader/files/patch-src_lattice.cpp head/cad/openfpgaloader/files/patch-src_xilinx.cpp Added: head/cad/openfpgaloader/files/patch-src_anlogic.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/openfpgaloader/files/patch-src_anlogic.cpp Tue Dec 29 13:56:29 2020 (r559585) @@ -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 Added: head/cad/openfpgaloader/files/patch-src_ftdispi.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/openfpgaloader/files/patch-src_ftdispi.cpp Tue Dec 29 13:56:29 2020 (r559585) @@ -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 Modified: head/cad/openfpgaloader/files/patch-src_lattice.cpp ============================================================================== --- head/cad/openfpgaloader/files/patch-src_lattice.cpp Tue Dec 29 13:48:54 2020 (r559584) +++ head/cad/openfpgaloader/files/patch-src_lattice.cpp Tue Dec 29 13:56:29 2020 (r559585) @@ -1,7 +1,7 @@ ---- 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 Modified: head/cad/openfpgaloader/files/patch-src_xilinx.cpp ============================================================================== --- head/cad/openfpgaloader/files/patch-src_xilinx.cpp Tue Dec 29 13:48:54 2020 (r559584) +++ head/cad/openfpgaloader/files/patch-src_xilinx.cpp Tue Dec 29 13:56:29 2020 (r559585) @@ -1,6 +1,6 @@ ---- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012291356.0BTDuTnR038110>