radiotray-ng: fix gcc13 errors with upstream patch

This commit is contained in:
annalee 2024-01-13 09:56:48 +00:00
parent 0032a648ec
commit 9771113f7c
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub, fetchpatch
, cmake, pkg-config
# Transport
, curl
@ -65,7 +65,14 @@ stdenv.mkDerivation rec {
] ++ gstInputs
++ pythonInputs;
patches = [ ./no-dl-googletest.patch ];
patches = [
./no-dl-googletest.patch
(fetchpatch {
name = "gcc13-fixes.patch";
url = "https://github.com/ebruck/radiotray-ng/commit/7a99bfa784f77be8f160961d25ab63dc2d5ccde0.patch";
hash = "sha256-7x3v0dp9WPgd/vsnxezgXIZGsBrIHkTwIiu+FMlLmyA=";
})
];
postPatch = ''
for x in package/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do