lol

Merge pull request #201231 from Stunkymonkey/sony-headphones-client-1.3.1

authored by

Martin Weinelt and committed by
GitHub
691aa3fb aa357fcf

+2 -23
+2 -4
pkgs/applications/audio/sony-headphones-client/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "SonyHeadphonesClient"; 5 - version = "1.2"; 5 + version = "1.3.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Plutoberth"; 9 9 repo = "SonyHeadphonesClient"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-oejXrs9X+R6Jydro0XIw2XifzFA7asDhpobtaE3//Hc="; 11 + hash = "sha256-0DQanrglJiGsN8qQ5KxkL8I+Fpt1abeeuKiM8v9GclM="; 12 12 fetchSubmodules = true; 13 13 }; 14 14 ··· 18 18 sourceRoot = "./source/Client"; 19 19 20 20 cmakeFlags = [ "-Wno-dev" ]; 21 - 22 - patches = [ ./gcc.patch ]; 23 21 24 22 postPatch = '' 25 23 substituteInPlace Constants.h \
-19
pkgs/applications/audio/sony-headphones-client/gcc.patch
··· 1 - diff --git a/SingleInstanceFuture.h b/SingleInstanceFuture.h 2 - index 8af733f..d2e6c49 100644 3 - --- a/SingleInstanceFuture.h 4 - +++ b/SingleInstanceFuture.h 5 - @@ -12,13 +12,13 @@ template <class T> 6 - class SingleInstanceFuture : public std::future<T> 7 - { 8 - public: 9 - - SingleInstanceFuture<T>() = default; 10 - + SingleInstanceFuture(void) = default; 11 - template<class Func, class... Args> 12 - void setFromAsync(Func func, Args&&... args) noexcept(false); 13 - bool ready(); 14 - 15 - private: 16 - - SingleInstanceFuture<T>(std::future<T> other); 17 - + SingleInstanceFuture(std::future<T> other); 18 - SingleInstanceFuture<T> operator=(std::future<T>& other); 19 - };