magic-vlsi: 8.3.109 -> 8.3.277

This commit is contained in:
Serge Bazanski 2022-03-22 02:05:16 +01:00
parent 86e74a4b97
commit 8171e0a24e
2 changed files with 2 additions and 22 deletions

View File

@ -1,19 +0,0 @@
diff --git a/database/DBio.c b/database/DBio.c
index 93c4b0b..292ea5f 100644
--- a/database/DBio.c
+++ b/database/DBio.c
@@ -2378,12 +2378,12 @@ DBCellWriteFile(cellDef, f)
#define FPRINTF(f,s)\
{\
- if (fprintf(f,s) == EOF) goto ioerror;\
+ if (fprintf(f,"%s",s) == EOF) goto ioerror;\
DBFileOffset += strlen(s);\
}
#define FPRINTR(f,s)\
{\
- if (fprintf(f,s) == EOF) return 1;\
+ if (fprintf(f,"%s",s) == EOF) return 1;\
DBFileOffset += strlen(s);\
}

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation rec {
pname = "magic-vlsi";
version = "8.3.109";
version = "8.3.277";
src = fetchurl {
url = "http://opencircuitdesign.com/magic/archive/magic-${version}.tgz";
sha256 = "sha256-ZK4OF5XwjW1OJmOVUFqLklfpM10eIwCILygqIyjRbEQ=";
sha256 = "sha256-cS3KaIVwGN/mMfRKjJxzdY6DeNV7tw2fATIHrFBV0fY=";
};
nativeBuildInputs = [ python3 ];
@ -48,7 +48,6 @@ stdenv.mkDerivation rec {
patches = [
./0001-strip-bin-prefix.patch
./0002-fix-format-security.patch
];
meta = with lib; {