<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/85cd5c6e46442108bc54848a5316f516606b1ca6">https://github.com/macports/macports-ports/commit/85cd5c6e46442108bc54848a5316f516606b1ca6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 85cd5c6e46442108bc54848a5316f516606b1ca6
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Oct 26 07:44:47 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-wx: update to version 0.9932
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * perl5.26 build issues now fixed upstream
</span><span style='display:block; white-space:pre;color:#404040;'> * patch added (with comments) for apparent API change in wxWidgets 3.0.3
</span><span style='display:block; white-space:pre;color:#404040;'> * macOS compiler issues now fixed upstream (obsolete patches commented)
</span><span style='display:block; white-space:pre;color:#404040;'> * directory permissions not an issue in this version (obsolete code commented)
</span><span style='display:block; white-space:pre;color:#404040;'> * port builds but issues remain with some tests
</span>---
perl/p5-wx/Portfile | 41 +++++++++++++---------
.../files/patch-XS-PropertySheetDialog.xsp.diff | 11 ++++++
2 files changed, 35 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-wx/Portfile b/perl/p5-wx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d7ebde..74993f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-wx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-wx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup perl5 1.0
</span> PortGroup wxWidgets 1.0
perl5.branches 5.24 5.26
<span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup Wx 0.9928
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.setup Wx 0.9932
</span>
platforms darwin
maintainers mojca openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,8 +14,8 @@ license {Artistic-1 GPL}
</span> description Interface to the wxWidgets cross-platform GUI toolkit
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 629d22b5f920dee8725db8d02eb0b0687e085604 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 58e06c094c07817617b1e69fa0501f2cee80cd4700ac7a62c516179f7aa85b42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5abb796f4998bc2cf49380271060082cbd4d4c16 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1cfdb6535a0f4676e6f1aab2c9d8e16d577be3eb3b7cc04c8074d685e6651b70
</span>
if {${perl5.major} != ""} {
wxWidgets.use wxWidgets-3.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,20 +28,27 @@ if {${perl5.major} != ""} {
</span> port:${wxWidgets.port}
# temporary change the mode
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fs-traverse dir ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file isdirectory ${dir} ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file attributes ${dir} -permissions 0755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-build-Wx-build-MakeMaker-MacOSX_GCC.pm.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-cpp-wxPerl.osx-Makefile.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # try to find a better way to fix that problem
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -W ${worksrcpath} "s|@@CC@@|${configure.cc}|g" cpp/wxPerl.osx/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # not an issue for version 0.9932
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fs-traverse dir ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# if { [ file isdirectory ${dir} ] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# file attributes ${dir} -permissions 0755
</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;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # patch for apparent API change in wxWidgets 3.0.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/wxWidgets/wxWidgets/commit/6b335c8ca440a7adea8309c2272b53aaff59f526
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://rt.cpan.org/Public/Bug/Display.html?ShowHeaders=1;id=121603
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-XS-PropertySheetDialog.xsp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# this is now fixed upstream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# patchfiles patch-build-Wx-build-MakeMaker-MacOSX_GCC.pm.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# patch-cpp-wxPerl.osx-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # try to find a better way to fix that problem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# reinplace -W ${worksrcpath} "s|@@CC@@|${configure.cc}|g" cpp/wxPerl.osx/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span>
configure.args installdirs=vendor
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-wx/files/patch-XS-PropertySheetDialog.xsp.diff b/perl/p5-wx/files/patch-XS-PropertySheetDialog.xsp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9a553a9
</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-wx/files/patch-XS-PropertySheetDialog.xsp.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;'>+--- XS/PropertySheetDialog.xsp.orig 2017-10-26 07:12:29.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ XS/PropertySheetDialog.xsp 2017-10-26 07:12:51.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -49,7 +49,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void SetBookCtrl( wxBookCtrlBase* book );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxBookCtrlBase* GetBookCtrl() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void SetInnerSize( wxSizer* sizer );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void SetInnerSizer( wxSizer* sizer );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxSizer* GetInnerSizer() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if WXPERL_W_VERSION_GE( 2, 7, 2 )
</span></pre><pre style='margin:0'>
</pre>