<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6cf9bb063a0e5626a1e13926d1d891259231b44a">https://github.com/macports/macports-ports/commit/6cf9bb063a0e5626a1e13926d1d891259231b44a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 6cf9bb063a0 ldid: update to 2.1.5, back port saurik's patch
</span>6cf9bb063a0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6cf9bb063a0e5626a1e13926d1d891259231b44a
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Apr 28 17:39:44 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> ldid: update to 2.1.5, back port saurik's patch
</span>---
devel/ldid/Portfile | 19 +++++++++----------
devel/ldid/files/patch-nullbuf.diff | 16 ++++++++++++++++
2 files changed, 25 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ldid/Portfile b/devel/ldid/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2804e55104e..501da32313e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ldid/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ldid/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,24 +4,22 @@ PortSystem 1.0
</span> PortGroup github 1.0
name ldid
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup sbingner ldid 458093e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.1.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# The actual 2.1.4 release has no Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup sbingner ldid 5b8581c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.1.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories devel
platforms darwin
maintainers {i0ntempest @i0ntempest} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license AGPL-3
</span>
description Link Identity Editor
long_description Link Identity Editor lets you manipulate the signature block in a Mach-O binary. This is Sam Bingner's fork of ldid, originally by Jay Freeman (saurik).
homepage https://cydia.saurik.com/info/ldid/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 98fb7547e1a9a1318a64c27444516c536c6fde59 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 48521f1ae89ad8d9a5b1819bcf385f77d0763d5631bcb3555dda5409e1ce4b11 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 43178
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 c98fee4cab68cee697f91836b4faf1d214749b1b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 555167499675cbe5a6b1ea305c9ef3097fa1536c2e7388898937c426b64412c2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 45716
</span>
compiler.cxx_standard \
2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,4 +34,5 @@ universal_variant no
</span> use_xcode yes
build.env-append CC=${configure.cc} CXX=${configure.cxx}
destroot.env-append PREFIX=${prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-nullbuf.diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ldid/files/patch-nullbuf.diff b/devel/ldid/files/patch-nullbuf.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..fb1ff351800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ldid/files/patch-nullbuf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/ldid.cpp b/ldid.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 3411e59..0d4cb73 100644 (file)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ldid.cpp.old
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ldid.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2503,8 +2503,7 @@ void DiskFolder::Find(const std::string &root, const std::string &base, const Fu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void DiskFolder::Save(const std::string &path, bool edit, const void *flag, const Functor<void (std::streambuf &)> &code) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!edit) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // XXX: use nullbuf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- std::stringbuf save;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ NullBuffer save;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ code(save);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ std::filebuf save;
</span></pre><pre style='margin:0'>
</pre>