Skip to content

Commit

Permalink
libffado: 2.3.0 -> 2.4.0 (maintenance)
Browse files Browse the repository at this point in the history
http://ffado.org/?q=node/3379
This fixes build with gcc7.  The removed patches are inside now.
  • Loading branch information
vcunat committed Feb 18, 2018
1 parent 9a2914a commit 088d7c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 36 deletions.
10 changes: 3 additions & 7 deletions pkgs/os-specific/linux/ffado/default.nix
Expand Up @@ -25,11 +25,11 @@ let
in
stdenv.mkDerivation rec {
name = "${prefix}ffado-${version}";
version = "2.3.0";
version = "2.4.0";

src = fetchurl {
url = "http://www.ffado.org/files/libffado-${version}.tgz";
sha256 = "122z8gya60nyg47i738z2yr4qcjyk2xix4kwhf5ybkmp23kcgqqq";
sha256 = "14rprlcd0gpvg9kljh0zzjzd2rc9hbqqpjidshxxjvvfh4r00f4f";
};

nativeBuildInputs = [ scons pkgconfig which makeWrapper python ];
Expand All @@ -41,12 +41,8 @@ stdenv.mkDerivation rec {
optXdg_utils libxmlxx glibmm
];

patches = [
./gcc6.patch
./glibc226.patch
];

postPatch = ''
sed '1iimport sys' -i SConstruct
# SConstruct checks cpuinfo and an objdump of /bin/mount to determine the appropriate arch
# Let's just skip this and tell it which to build
sed '/def is_userspace_32bit(cpuinfo):/a\
Expand Down
19 changes: 0 additions & 19 deletions pkgs/os-specific/linux/ffado/gcc6.patch

This file was deleted.

10 changes: 0 additions & 10 deletions pkgs/os-specific/linux/ffado/glibc226.patch

This file was deleted.

1 comment on commit 088d7c9

@vcunat
Copy link
Member Author

@vcunat vcunat commented on 088d7c9 Feb 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc maintainer @cillianderoiste.

Please sign in to comment.