Updated xc3sprog
This commit is contained in:
@@ -1,2 +1 @@
|
||||
AUX xc3sprog-9999-gcc-11.patch 1103 BLAKE2B da8c9b3740eedeb7694060c00f599871dd1f6ca5de26733f016e7d8574dd1db1114549c291a67c4d0b07fa83ae7f07b8d0930c349b35be5aeaba770501c37b38 SHA512 dba3a7f773ee513a6c81da24d86d23f7f94956b90fb30f1285e4fa590913bb19cc4cd91fcf27dd7d5ef936cbcc76cbf653987c3b949983d2d6c80f193ba22008
|
||||
EBUILD xc3sprog-9999.ebuild 1195 BLAKE2B 171be31e807e596c38e804747eb444c94afbf037669ecf6c6e7d8ebae2d78ff80432f278864194b750b4a569991e93f97ddc85b403a9a720195e590929d12ece SHA512 a3febbb423f6c2a804e5dc081888d2f1a09285bffc12741088b26a632f00132e6ea5b1087446dae0735cd36bf19b081e0ccd296a923cdb03b110c820ae5d0d6b
|
||||
EBUILD xc3sprog-9999.ebuild 1105 BLAKE2B dea09ea006911b4cc6211467a959a142f6363cf3b218dd5ed679b7e523711951bdf76909f268b8f563a85b30dd0fd32a0bc15490f8d4e19c89ede011ed87bded SHA512 65a702cb722fb458b8b30c568df6a24e2c66fb067e212ef9b944e1344e48cddfe1e029bc99e89411cd993fad98335bcd6f4013e37e8f291fa2aa567896dc409e
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
diff -urN xc3sprog-9999.orig/bitfile.cpp xc3sprog-9999/bitfile.cpp
|
||||
--- xc3sprog-9999.orig/bitfile.cpp 2021-05-18 10:59:54.579686957 +0200
|
||||
+++ xc3sprog-9999/bitfile.cpp 2021-05-18 11:05:54.542944129 +0200
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <time.h>
|
||||
#include "bitrev.h"
|
||||
|
||||
-using namespace std;
|
||||
+//using namespace std;
|
||||
|
||||
BitFile::BitFile()
|
||||
: length(0)
|
||||
@@ -607,14 +607,14 @@
|
||||
return clip;
|
||||
}
|
||||
|
||||
-void BitFile::error(const string &str)
|
||||
+void BitFile::error(const std::string &str)
|
||||
{
|
||||
errorStr=str;
|
||||
Error=true;
|
||||
fprintf(logfile,"%s\n",str.c_str());
|
||||
}
|
||||
|
||||
-void BitFile::readField(string &field, FILE *fp)
|
||||
+void BitFile::readField(std::string &field, FILE *fp)
|
||||
{
|
||||
byte t[2];
|
||||
fread(t,1,2,fp);
|
||||
diff -urN xc3sprog-9999.orig/srecfile.cpp xc3sprog-9999/srecfile.cpp
|
||||
--- xc3sprog-9999.orig/srecfile.cpp 2021-05-18 10:59:54.613019051 +0200
|
||||
+++ xc3sprog-9999/srecfile.cpp 2021-05-18 11:06:12.015624765 +0200
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
-using namespace std;
|
||||
+//using namespace std;
|
||||
|
||||
int SrecFile::DecodeSRecordLine(char *source, unsigned char *dest, S_Record *SRec)
|
||||
{
|
||||
@@ -27,10 +27,6 @@ src_prepare() {
|
||||
CMakeLists.txt || die
|
||||
sed -i -e 's#usr/lib#opt/lib64#' FindlibFTD2XX.cmake || die
|
||||
|
||||
if [ $(gcc-major-version) -gt "10" ]; then
|
||||
eapply "${FILESDIR}/${P}-gcc-11.patch"
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user