<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c540cde5551d150eb053e08ad81b2aa79fa0c78a">https://github.com/macports/macports-ports/commit/c540cde5551d150eb053e08ad81b2aa79fa0c78a</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 c540cde  bochs: fix build: strrchr() const overload produces an error.
</span>c540cde is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c540cde5551d150eb053e08ad81b2aa79fa0c78a
</span>Author: Max Khon <fjoe@samodelkin.net>
AuthorDate: Fri Jun 28 17:23:08 2019 +0700

<span style='display:block; white-space:pre;color:#404040;'>    bochs: fix build: strrchr() const overload produces an error.
</span>---
 emulators/bochs/Portfile                      |  3 ++-
 emulators/bochs/files/patch-cdrom_osx.cc.diff | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/bochs/Portfile b/emulators/bochs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 17f0518..5e611d7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/bochs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/bochs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,8 @@ master_sites        sourceforge
</span> checksums           sha256  79700ef0914a0973f62d9908ff700ef7def62d4a28ed5de418ef61f3576585ce \
                     rmd160  cf6f9a427559c79e18c208a89e7146b6e9798ea5
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-.bochsrc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-.bochsrc.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-cdrom_osx.cc.diff
</span> 
 depends_lib         port:gettext \
                     port:readline
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/bochs/files/patch-cdrom_osx.cc.diff b/emulators/bochs/files/patch-cdrom_osx.cc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fc4c8e6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/bochs/files/patch-cdrom_osx.cc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- iodev/hdimage/cdrom_osx.cc.orig        2019-06-28 17:01:30.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ iodev/hdimage/cdrom_osx.cc     2019-06-28 17:06:39.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -191,7 +191,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   mach_port_t port = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   char *devname;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  if ((devname = strrchr(devpath, '/')) != NULL) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  if ((devname = (char *) strrchr(devpath, '/')) != NULL) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     ++devname;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   else {
</span></pre><pre style='margin:0'>

</pre>