libffi: 3.4.2 -> 3.4.3

Mostly bug fixes and new architectures support.

While at it dropped upstream libffi-powerpc64.patch.

Changes: https://github.com/libffi/libffi/releases/tag/v3.4.3
main
Sergei Trofimovich 2 years ago
parent 5fa64c31c5
commit 62dc18c5bc
  1. 5
      pkgs/development/libraries/libffi/default.nix
  2. 23
      pkgs/development/libraries/libffi/libffi-powerpc64.patch

@ -9,11 +9,11 @@
stdenv.mkDerivation rec {
pname = "libffi";
version = "3.4.2";
version = "3.4.3";
src = fetchurl {
url = "https://github.com/libffi/libffi/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "081nx7wpzds168jbr59m34n6s3lyiq6r8zggvqxvlslsc4hvf3sl";
sha256 = "sha256-RBbdkrauj8tbEEIecRxNPLMSA9d1Iad9hdAQIxHmw7g=";
};
# Note: this package is used for bootstrapping fetchurl, and thus
@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
# cgit) that are needed here should be included directly in Nixpkgs as
# files.
patches = [
./libffi-powerpc64.patch
];
strictDeps = true;

@ -1,23 +0,0 @@
https://github.com/libffi/libffi/issues/668
--- a/src/powerpc/linux64.S
+++ b/src/powerpc/linux64.S
@@ -29,6 +29,8 @@
#include <fficonfig.h>
#include <ffi.h>
+ .machine altivec
+
#ifdef POWERPC64
.hidden ffi_call_LINUX64
.globl ffi_call_LINUX64
--- a/src/powerpc/linux64_closure.S
+++ b/src/powerpc/linux64_closure.S
@@ -30,6 +30,8 @@
.file "linux64_closure.S"
+ .machine altivec
+
#ifdef POWERPC64
FFI_HIDDEN (ffi_closure_LINUX64)
.globl ffi_closure_LINUX64
Loading…
Cancel
Save