Unverified Commit 9ba419be authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

coan: fix build with gcc15 (#508613)

parents 102ad36b 144b84be
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
diff --git a/src/path.h b/src/path.h
--- a/src/path.h
+++ b/src/path.h
@@ -232,7 +232,7 @@
 	 */
 	path operator+(std::string const & str) const {
 		path p(*this);
-		p.append(str);
+		p.push_back(str);
 		return p;
 	}
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@ stdenv.mkDerivation (finalAttrs: {
  patches = [
    # fix compile error in configure.ac
    ./fix-big-endian-config-check.diff
    # Fix GCC 15 build: path::operator+ calls a nonexistent append() member.
    ./fix-path-operator-plus.diff
  ];

  nativeBuildInputs = [