pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/p5-Wx p5-Wx: build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d679606cbce7
branches:  trunk
changeset: 313358:d679606cbce7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Sep 27 22:32:28 2018 +0000

description:
p5-Wx: build fix

diffstat:

 x11/p5-Wx/distinfo                                     |   4 +++-
 x11/p5-Wx/patches/patch-XS_Colour.xs                   |  15 +++++++++++++++
 x11/p5-Wx/patches/patch-ext_propgrid_XS_PGProperty.xsp |  15 +++++++++++++++
 3 files changed, 33 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r 07f6b595025c -r d679606cbce7 x11/p5-Wx/distinfo
--- a/x11/p5-Wx/distinfo        Thu Sep 27 22:29:32 2018 +0000
+++ b/x11/p5-Wx/distinfo        Thu Sep 27 22:32:28 2018 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.11 2017/06/14 13:19:26 jperkin Exp $
+$NetBSD: distinfo,v 1.12 2018/09/27 22:32:28 tnn Exp $
 
 SHA1 (Wx-0.9932.tar.gz) = 5e288fc2f32c58df32c3c8be27c0cc509c1de6ed
 RMD160 (Wx-0.9932.tar.gz) = 5abb796f4998bc2cf49380271060082cbd4d4c16
 SHA512 (Wx-0.9932.tar.gz) = 49f9a32bcd65ad4f2017f322e45ddaad741cdc0f0245489425771dda917553c354945fa949521c18730d27e78444a79d0d56374d462bcd92a96c0e76a4471c0e
 Size (Wx-0.9932.tar.gz) = 486326 bytes
+SHA1 (patch-XS_Colour.xs) = cffaa6c6b777260f05258a83d242c51cf944d93a
 SHA1 (patch-build_Wx_build_MakeMaker.pm) = c700f49085a9542ceb4555f351d491a9e6893612
+SHA1 (patch-ext_propgrid_XS_PGProperty.xsp) = 80d0cdc5d3d323d8f427e0ca1488072dac2dc37d
diff -r 07f6b595025c -r d679606cbce7 x11/p5-Wx/patches/patch-XS_Colour.xs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/p5-Wx/patches/patch-XS_Colour.xs      Thu Sep 27 22:32:28 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-XS_Colour.xs,v 1.1 2018/09/27 22:32:28 tnn Exp $
+
+GetPixel() not supported with GTK3
+
+--- XS/Colour.xs.orig  2014-03-08 13:01:15.000000000 +0000
++++ XS/Colour.xs
+@@ -114,7 +114,7 @@ wxColour::GetAsString( long flags )
+ 
+ #endif
+ 
+-#if !defined(__WXMAC__)
++#if 0
+ 
+ long
+ wxColour::GetPixel()
diff -r 07f6b595025c -r d679606cbce7 x11/p5-Wx/patches/patch-ext_propgrid_XS_PGProperty.xsp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/p5-Wx/patches/patch-ext_propgrid_XS_PGProperty.xsp    Thu Sep 27 22:32:28 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_propgrid_XS_PGProperty.xsp,v 1.1 2018/09/27 22:32:28 tnn Exp $
+
+PropertyGrid.c:27130:49: error: call of overloaded 'wxVariant(wxColour&)' is ambiguous
+
+--- ext/propgrid/XS/PGProperty.xsp.orig        2014-03-08 13:01:20.000000000 +0000
++++ ext/propgrid/XS/PGProperty.xsp
+@@ -1148,7 +1148,7 @@ public:
+     bool SetPlValue( wxColour* col, int flags = wxPG_SETVAL_REFRESH_EDITOR )
+       %code{%
+             if( col->IsOk() ) {
+-                wxVariant value = wxVariant(*col);
++                wxVariant value = wxVariant((const wxAny&)*col);
+                 THIS->SetValue(value, NULL, flags );
+                 RETVAL = true;
+             } else {



Home | Main Index | Thread Index | Old Index