coan: fix build with gcc15
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user