as31: use yacc to generate parser.c file
The source includes a generated parser.c file which is out of date and causes errors on x86_64 in certain cases. Delete this file so that make will use yacc to generate a correct parser.c file. Change taken from comments at https://aur.archlinux.org/packages/as31/.
This commit is contained in:
parent
afa7d84529
commit
3b5ff2761c
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, yacc }:
|
||||
|
||||
let
|
||||
|
||||
@ -11,10 +11,17 @@ in stdenv.mkDerivation {
|
||||
url = "http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-${version}.tar.gz";
|
||||
sha256 = "0mbk6z7z03xb0r0ccyzlgkjdjmdzknck4yxxmgr9k7v8f5c348fd";
|
||||
};
|
||||
|
||||
buildInputs = [ yacc ];
|
||||
|
||||
preConfigure = ''
|
||||
chmod +x ./configure
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
rm as31/parser.c
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://wiki.erazor-zone.de/wiki:projects:linux:as31";
|
||||
description = "An 8031/8051 assembler by Ken Stauffer and Theo Deraadt which produces a variety of object code output formats";
|
||||
|
Loading…
Reference in New Issue
Block a user