<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/1d6eb9894365d07e3099f1856597962dee3c7e75">https://github.com/macports/macports-ports/commit/1d6eb9894365d07e3099f1856597962dee3c7e75</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 1d6eb989436 p5-mac-fsevents: Support macOS 11
</span>1d6eb989436 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1d6eb9894365d07e3099f1856597962dee3c7e75
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Nov 22 00:23:28 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> p5-mac-fsevents: Support macOS 11
</span>---
perl/p5-mac-fsevents/Portfile | 4 +++
perl/p5-mac-fsevents/files/macOS11.patch | 42 ++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mac-fsevents/Portfile b/perl/p5-mac-fsevents/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7618e783f39..f15b704a5d9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-mac-fsevents/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-mac-fsevents/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,3 +15,7 @@ platforms darwin
</span> checksums rmd160 3479480ca2fb03b9f1948a32c72f10d1045e341e \
sha256 231b0533e2af1dd914a79265b8c4c95e0738ccca8159c69f742965ac8cec4018 \
size 60202
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${perl5.major} != ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles macOS11.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mac-fsevents/files/macOS11.patch b/perl/p5-mac-fsevents/files/macOS11.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..fd2775af0e9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-mac-fsevents/files/macOS11.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Recognize macOS 11 and later.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- MacVersion.pm.orig 2017-11-30 10:17:30.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ MacVersion.pm 2020-11-22 00:16:25.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,9 +8,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ our @EXPORT = qw(osx_version);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sub osx_version {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- my $os_version = qx(system_profiler SPSoftwareDataType);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if($os_version =~ /System Version:.+(?:(10)\.(\d+)(?:\.(\d+))?)/) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return ($1, $2, $3 || 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ my $os_version = qx(sw_vers -productVersion);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if($os_version =~ /^(\d+)(?:\.(\d+)(?:\.(\d+))?)?$/) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ($1, $2 || 0, $3 || 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $os_version =~ s/^/> /gm;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.PL.orig 2017-11-30 10:17:30.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.PL 2020-11-21 23:50:40.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -84,10 +84,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my ( $major, $minor, $release ) = osx_version();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if($minor >= 6) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if($major > 10 || $minor >= 6) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ push @names, 'kFSEventStreamCreateFlagIgnoreSelf';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if($minor >= 7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if($major > 10 || $minor >= 7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ push @names, 'kFSEventStreamCreateFlagFileEvents';
</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;'>+--- hints/darwin.pl.orig 2017-11-30 10:17:30.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ hints/darwin.pl 2020-11-22 00:01:41.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,7 +7,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my ( $major, $minor, $release ) = osx_version();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my $os_version = join('.', $major, $minor);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if($minor >= 5) { # Leopard and up
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if($major > 10 || $minor >= 5) { # Leopard and up
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @directories = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/Developer/SDKs/MacOSX$os_version.sdk",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$os_version.sdk",
</span></pre><pre style='margin:0'>
</pre>