24 lines
911 B
Diff
24 lines
911 B
Diff
From 795cd44716f1885febec24a4ecc392baca531184 Mon Sep 17 00:00:00 2001
|
|
From: Gabriel Ebner <gebner@gebner.org>
|
|
Date: Mon, 25 Apr 2022 13:41:27 +0200
|
|
Subject: [PATCH] libechonest: fix build with gcc 11
|
|
|
|
---
|
|
pkgs/development/libraries/libechonest/default.nix | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/pkgs/development/libraries/libechonest/default.nix b/pkgs/development/libraries/libechonest/default.nix
|
|
index 29a0a63a03e7f..6f160bdb6dcc3 100644
|
|
--- a/pkgs/development/libraries/libechonest/default.nix
|
|
+++ b/pkgs/development/libraries/libechonest/default.nix
|
|
@@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
|
|
sha256 = "0xbavf9f355dl1d3qv59x4ryypqrdanh9xdvw2d0q66l008crdkq";
|
|
};
|
|
|
|
+ # Fix build with GCC 11.
|
|
+ NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
|
|
+
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://github.com/lfranchi/libechonest/commit/009514f65044823ef29045397d4b58dd04d09977.patch";
|