Unverified Commit ab718914 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

zug: 0.1.1 -> 0.1.2 (#503013)

parents 72797344 2b48f969
Loading
Loading
Loading
Loading

pkgs/by-name/zu/zug/gcc15.patch

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
diff --git a/zug/sequence.hpp b/zug/sequence.hpp
index d7ac093..bffb771 100644
--- a/zug/sequence.hpp
+++ b/zug/sequence.hpp
@@ -76,8 +76,9 @@ struct sequence_data
 
     sequence_data& operator=(sequence_data&& other)
     {
-        impl_ = std::move(other.impl);
+        impl_ = std::move(other.impl_);
         impl_.reductor.current(this);
+        return *this;
     }
 
     sequence_data& operator=(const sequence_data& other)
+2 −13
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  boost,
  catch2,
@@ -10,25 +9,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "zug";
  version = "0.1.1";
  version = "0.1.2";

  src = fetchFromGitHub {
    owner = "arximboldi";
    repo = "zug";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Ti0EurhGQgWSXzSOlH9/Zsp6kQ/+qGjWbfHGTPpfehs=";
    hash = "sha256-0HrvCpbVnxEvwvG4btXu0hRzdcHsGwM/HUWES/fmxrs=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/arximboldi/zug/commit/c8c74ada30d931e40636c13763b892f20d3ce1ae.patch";
      hash = "sha256-0x+ScRnziBeyHWYJowcVb2zahkcK2qKrMVVk2twhtHA=";
    })

    # https://github.com/arximboldi/zug/issues/45
    ./gcc15.patch
  ];

  nativeBuildInputs = [ cmake ];

  buildInputs = [