<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/380ef99dde4cec0516cba66797d478ff0d97239d">https://github.com/macports/macports-ports/commit/380ef99dde4cec0516cba66797d478ff0d97239d</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 380ef99 gdb: Fix running on macOS >= 10.12.4
</span>380ef99 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 380ef99dde4cec0516cba66797d478ff0d97239d
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Mon Jun 19 01:13:25 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> gdb: Fix running on macOS >= 10.12.4
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also replace outdated taskgated instructions with a link to the gdb wiki
</span><span style='display:block; white-space:pre;color:#404040;'> for codesigning.
</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/54217
</span>---
devel/gdb/Portfile | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gdb/Portfile b/devel/gdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d6c8349..66da88a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup muniversal 1.0
</span>
name gdb
version 7.12.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel
license GPL-3+
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,8 +56,10 @@ configure.args \
</span> --disable-werror
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] {
move ${destroot}${prefix}/share/info/${info} ${destroot}${prefix}/share/info/g${info}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,6 +71,8 @@ post-destroot {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-gdb-darwin-nat.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set pythons_suffixes {27 35 36}
set pythons_ports {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,15 +100,10 @@ variant multiarch description {Support all target architectures} {
</span>
if {${os.platform} eq "darwin" && ${os.major} >= 12} {
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-has the '-p' option, e.g.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <key>ProgramArguments</key>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <array>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>/usr/libexec/taskgated</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>-sp</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </array>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Due to kernel caching, you usually need to restart Mac OS X for this option to effect.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+You will need to codesign ${prefix}/bin/ggdb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+See https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for more information.
</span> "
}
</pre><pre style='margin:0'>
</pre>