dxx-rebirth: unstable-2023-03-23 -> unstable-2024-01-13

The main change is the build fix against `gcc-13` https://hydra.nixos.org/build/247695201:

    similar/main/digiobj.cpp: In function ‘void d1x::digi_sync_sounds()’:
    similar/main/digiobj.cpp:625:31:
      error: possibly dangling reference to a temporary [-Werror=dangling-reference]
      625 |                 const object &objp = [&vcobjptr, &s]{
          |                               ^~~~

While at it added the trivial unstable updater.
This commit is contained in:
Sergei Trofimovich 2024-02-07 22:49:03 +00:00 committed by Emery Hemingway
parent e94f7aef09
commit c20f87f00d

View File

@ -11,6 +11,7 @@
, libGL
, libpng
, physfs
, unstableGitUpdater
}:
let
@ -22,13 +23,13 @@ let
in
stdenv.mkDerivation rec {
pname = "dxx-rebirth";
version = "unstable-2023-03-23";
version = "unstable-2024-01-13";
src = fetchFromGitHub {
owner = "dxx-rebirth";
repo = "dxx-rebirth";
rev = "841ebcc11d249febe48911bc239606ade3bd78b3";
hash = "sha256-cr5QdkKO/HNvtc2w4ynJixuLauhPCwtsSC3UEV7+C1A=";
rev = "5c710857a9312e1b2f3249c51c12b55f9390a2b1";
hash = "sha256-nEPMJiTeePAmourAksUNqyy5whs+8+qy/qrycfNw2lo=";
};
nativeBuildInputs = [ pkg-config scons ];
@ -49,6 +50,8 @@ stdenv.mkDerivation rec {
install -Dm644 -t $out/share/doc/dxx-rebirth *.txt
'';
passthru.updateScript = unstableGitUpdater {};
meta = with lib; {
description = "Source Port of the Descent 1 and 2 engines";
homepage = "https://www.dxx-rebirth.com/";