summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-02-10 09:34:13 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-02-10 09:36:05 +0100
commit5699a12b80c84af7474d7c83c2bbda5cd5df3f74 (patch)
tree2ff6c91191947390b545cf6eb02a69868794fef8 /pkgs
parentc135ecd7ef3b93a041de16a3694ee919fd0a7038 (diff)
downloadnixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.tar
nixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.tar.gz
nixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.tar.bz2
nixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.tar.lz
nixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.tar.xz
nixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.tar.zst
nixpkgs-5699a12b80c84af7474d7c83c2bbda5cd5df3f74.zip
Revert "libjack2: fix build with gcc-7 via upstream patch"
This reverts commit 4efdd7e87dde31fe301a7d28050ba577ad496845.
libjack2 was updated in the meantime.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/misc/jackaudio/default.nix17
1 files changed, 4 insertions, 13 deletions
diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix
index 31422b4d7b0..a242f0261c7 100644
--- a/pkgs/misc/jackaudio/default.nix
+++ b/pkgs/misc/jackaudio/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, python2Packages, makeWrapper
+{ stdenv, fetchFromGitHub, pkgconfig, python2Packages, makeWrapper
 , bash, libsamplerate, libsndfile, readline, eigen, celt
 # Darwin Dependencies
 , aften, AudioToolbox, CoreAudio, CoreFoundation
@@ -41,23 +41,14 @@ stdenv.mkDerivation rec {
     optDbus optPythonDBus optLibffado optAlsaLib optLibopus
   ] ++ stdenv.lib.optionals stdenv.isDarwin [ aften AudioToolbox CoreAudio CoreFoundation ];
 
+  # CoreFoundation 10.10 doesn't include CFNotificationCenter.h yet.
+  patches = stdenv.lib.optionals stdenv.isDarwin [ ./clang.patch ./darwin-cf.patch ];
+
   prePatch = ''
     substituteInPlace svnversion_regenerate.sh \
         --replace /bin/bash ${bash}/bin/bash
   '';
 
-  patches =
-    # CoreFoundation 10.10 doesn't include CFNotificationCenter.h yet.
-    stdenv.lib.optionals stdenv.isDarwin [ ./clang.patch ./darwin-cf.patch ]
-    ++ stdenv.lib.optional (!stdenv.isDarwin) [ # collides with ./clang.patch
-      (fetchpatch {
-        name = "gcc-7.patch";
-        url = "https://patch-diff.githubusercontent.com/raw/jackaudio/jack2/pull/277.diff";
-        sha256 = "003xy7rd0fa8ss7wy0qhl4rm8sv5w0y46r7x76iac0km318ydkbv";
-      })
-    ];
-
-
   # It looks like one of the frameworks depends on <CoreFoundation/CFAttributedString.h>
   # since frameworks are impure we also have to use the impure CoreFoundation here.
   # FIXME: remove when CoreFoundation is updated to 10.11