mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
sbingner's fork has a CMake build system, so let's use it. Let's also make the Portfile more modern, using the correct PortGroups to configure the environment before building. Finally, ldid should conflict with ldid-procursus, since the latter installs a conflicting ldid binary.
15 lines
489 B
Diff
15 lines
489 B
Diff
diff --git a/ldid.cpp b/ldid.cpp
|
|
index 3411e59..0d4cb73 100644
|
|
--- a/ldid.cpp
|
|
+++ b/ldid.cpp
|
|
@@ -2503,8 +2503,7 @@ void DiskFolder::Find(const std::string &root, const std::string &base, const Fu
|
|
|
|
void DiskFolder::Save(const std::string &path, bool edit, const void *flag, const Functor<void (std::streambuf &)> &code) {
|
|
if (!edit) {
|
|
- // XXX: use nullbuf
|
|
- std::stringbuf save;
|
|
+ NullBuffer save;
|
|
code(save);
|
|
} else {
|
|
std::filebuf save;
|