libffcall: 2009-05-27 -> 1.10
Use the release tarball provided by the clisp maintainer. Tested build by nix-build -A clisp -A clisp_2_44_1 -A gtk-server; only clisp run-tested. Of particular note is that the .so files no longer have executable stacks. This also avoids executable stack in clisp lisp.run Before: $ readelf -lW $(nix-build -A clisp)/lib/clisp-2.49/base/lisp.run|grep GNU_STACK GNU_STACK [...] RWE 0x10 After: $ readelf -lW $(nix-build -A clisp)/lib/clisp-2.49/base/lisp.run|grep GNU_STACK GNU_STACK [...] RW 0x10
This commit is contained in:
parent
18a3225dac
commit
0028abeb4e
@ -1,27 +1,29 @@
|
|||||||
{ stdenv, fetchcvs }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libffcall-${version}";
|
name = "libffcall-${version}";
|
||||||
version = "2009-05-27";
|
version = "1.10";
|
||||||
src = fetchcvs {
|
|
||||||
cvsRoot = ":pserver:anonymous@cvs.savannah.gnu.org:/sources/libffcall";
|
src = fetchurl {
|
||||||
module = "ffcall";
|
urls = [
|
||||||
date = version;
|
# Europe
|
||||||
sha256 = "097pv94495njppl9iy2yk47z5wdwvf7swsl88nmwrac51jibbg4i";
|
"http://www.haible.de/bruno/gnu/ffcall-${version}.tar.gz"
|
||||||
|
# USA
|
||||||
|
"ftp://ftp.santafe.edu/pub/gnu/ffcall-${version}.tar.gz"
|
||||||
|
];
|
||||||
|
sha256 = "0gcqljx4f8wrq59y13zzigwzaxdrz3jf9cbzcd8h0b2br27mn6vg";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
NIX_CFLAGS_COMPILE = "-Wa,--noexecstack";
|
||||||
for i in ./configure */configure; do
|
|
||||||
cwd="$PWD"
|
configureFlags = [
|
||||||
cd "$(dirname "$i")";
|
"--enable-shared"
|
||||||
( test -f Makefile && make distclean ) || true
|
"--disable-static"
|
||||||
./configure --prefix=$out
|
];
|
||||||
cd "$cwd"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Foreign function call library";
|
description = "Foreign function call library";
|
||||||
|
homepage = http://www.haible.de/bruno/packages-ffcall.html;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user