Unverified Commit 6a9ebf2f authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #265337 from trofi/deadbeef-clang-16-fix

deadbeef: fix build against clang-16
parents 32da89a1 b5750fef
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -121,6 +121,13 @@ in clangStdenv.mkDerivation {
    ./autogen.sh
  '';

  postPatch = ''
    # Fix the build on c++17 compiler:
    #   https://github.com/DeaDBeeF-Player/deadbeef/issues/3012
    # TODO: remove after 1.9.5 release.
    substituteInPlace plugins/adplug/Makefile.am --replace 'adplug_la_CXXFLAGS = ' 'adplug_la_CXXFLAGS = -std=c++11 '
  '';

  meta = with lib; {
    description = "Ultimate Music Player for GNU/Linux";
    homepage = "http://deadbeef.sourceforge.net/";