<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9147e522801aefd1cba1a8555e5a8fa6035eebdf">https://github.com/macports/macports-ports/commit/9147e522801aefd1cba1a8555e5a8fa6035eebdf</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 9147e522801 graphviz-gui{,-devel}: Always call [super dealloc]
</span>9147e522801 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9147e522801aefd1cba1a8555e5a8fa6035eebdf
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Dec 6 20:37:59 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> graphviz-gui{,-devel}: Always call [super dealloc]
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes build failure due to implicit declaration of sysctlbyname.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61754
</span>---
graphics/graphviz-devel/Portfile | 3 ++-
graphics/graphviz-devel/files/super-dealloc.patch | 20 ++++++++++++++++++++
graphics/graphviz/Portfile | 3 ++-
graphics/graphviz/files/super-dealloc.patch | 20 ++++++++++++++++++++
4 files changed, 44 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphviz-devel/Portfile b/graphics/graphviz-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fbe215cd5bb..1bba9fd5e42 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/graphviz-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphviz-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -296,7 +296,7 @@ livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-
</span> subport graphviz-gui${thisbranch} {
PortGroup xcode 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 2
</span>
conflicts graphviz-gui${otherbranch} graphviz-oldgui
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -320,6 +320,7 @@ subport graphviz-gui${thisbranch} {
</span> extract.post_args-append ${worksrcdir}/macosx ${worksrcdir}/doc
patchfiles patch-project.pbxproj.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append super-dealloc.patch
</span>
if {[vercmp ${xcodeversion} 10.0] >= 0} {
# Xcode 10+ will not build against an IBDocument.SystemTarget of 10.5
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphviz-devel/files/super-dealloc.patch b/graphics/graphviz-devel/files/super-dealloc.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..12cdd055101
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphviz-devel/files/super-dealloc.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Always call [super dealloc].
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.com/graphviz/graphviz/-/commit/c170fab4197952b8cbeae5b4498ff13763da9b55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- macosx/GVWindowController.m.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macosx/GVWindowController.m
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,14 +116,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - (void)dealloc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char darwinStr[256];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- size_t size = sizeof(darwinStr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [[NSNotificationCenter defaultCenter] removeObserver:self name:@"GVGraphDocumentDidChange" object:[self document]];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sysctlbyname("kern.osrelease", darwinStr, &size, NULL, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- NSString *darwinVer = [NSString stringWithCString:darwinStr encoding:NSASCIIStringEncoding];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- NSString *baseVer = @"11";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ([darwinVer compare:baseVer] < 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [super dealloc];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [super dealloc];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphviz/Portfile b/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b0204d919e3..c8a7f111d56 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -295,7 +295,7 @@ livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-
</span> subport graphviz-gui${thisbranch} {
PortGroup xcode 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 2
</span>
conflicts graphviz-gui${otherbranch} graphviz-oldgui
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -319,6 +319,7 @@ subport graphviz-gui${thisbranch} {
</span> extract.post_args-append ${worksrcdir}/macosx ${worksrcdir}/doc
patchfiles patch-project.pbxproj.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append super-dealloc.patch
</span>
if {[vercmp ${xcodeversion} 10.0] >= 0} {
# Xcode 10+ will not build against an IBDocument.SystemTarget of 10.5
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphviz/files/super-dealloc.patch b/graphics/graphviz/files/super-dealloc.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..12cdd055101
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphviz/files/super-dealloc.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Always call [super dealloc].
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.com/graphviz/graphviz/-/commit/c170fab4197952b8cbeae5b4498ff13763da9b55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- macosx/GVWindowController.m.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macosx/GVWindowController.m
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,14 +116,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - (void)dealloc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char darwinStr[256];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- size_t size = sizeof(darwinStr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [[NSNotificationCenter defaultCenter] removeObserver:self name:@"GVGraphDocumentDidChange" object:[self document]];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sysctlbyname("kern.osrelease", darwinStr, &size, NULL, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- NSString *darwinVer = [NSString stringWithCString:darwinStr encoding:NSASCIIStringEncoding];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- NSString *baseVer = @"11";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ([darwinVer compare:baseVer] < 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [super dealloc];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [super dealloc];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>