[packages/perl-Wx] add fixes for wxWidgets >= 3.2.9 from fedora

atler atler at pld-linux.org
Fri Aug 21 20:03:58 CEST 2026


commit 6b5ea79b411fb2e40d20cea05db38c2fe84579c1
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Aug 21 14:17:01 2026 +0200

    add fixes for wxWidgets >= 3.2.9 from fedora

 perl-Wx.spec               |  2 ++
 wxWidgets_3.2.9_port.patch | 31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
---
diff --git a/perl-Wx.spec b/perl-Wx.spec
index 150aac8..ed74a08 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -31,6 +31,7 @@ Source1:	perl-provides
 Patch0:		gtk3.patch
 Patch1:		wxWidgets_3.2_MakeMaker.patch
 Patch2:		wxWidgets_3.2_port.patch
+Patch3:		wxWidgets_3.2.9_port.patch
 URL:		http://wxperl.sourceforge.net/
 BuildRequires:	perl-Alien-wxWidgets >= 0.67
 BuildRequires:	perl-ExtUtils-MakeMaker >= 6.46
@@ -80,6 +81,7 @@ Pakiet do rozwijania oprogramowania przy użyciu wxPerla.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/wxWidgets_3.2.9_port.patch b/wxWidgets_3.2.9_port.patch
new file mode 100644
index 0000000..783cbf3
--- /dev/null
+++ b/wxWidgets_3.2.9_port.patch
@@ -0,0 +1,31 @@
+--- Wx-0.9932/cpp/wxapi.h.orig	2026-07-24 16:11:43.215532659 -0600
++++ Wx-0.9932/cpp/wxapi.h	2026-07-24 17:29:53.266345261 -0600
+@@ -175,5 +175,7 @@ inline CV* wxPli_newXS(pTHX_ const char*
+ // some helper functions/classes/macros
+ #include "cpp/helpers.h"
+ 
++#include <wx/wx.h>
++
+ // 0.01 -> 0010; 1.01 -> 1010, etc
+ #define WXPL_API_VERSION 0150
+--- Wx-0.9932/GDI.xs.orig	2026-07-24 16:12:23.088390600 -0600
++++ Wx-0.9932/GDI.xs	2026-07-24 17:30:12.898602710 -0600
+@@ -14,6 +14,8 @@
+ #define PERL_NO_GET_CONTEXT
+ 
+ #include "cpp/wxapi.h"
++#include "cpp/overload.h"
++#include "cpp/streams.h"
+ 
+ #undef THIS
+ 
+--- Wx-0.9932/XS/Frame.xs.orig	2014-03-08 06:01:15.000000000 -0700
++++ Wx-0.9932/XS/Frame.xs	2026-07-24 16:21:56.223514886 -0600
+@@ -13,6 +13,7 @@
+ #include <wx/frame.h>
+ #include <wx/menu.h>
+ #include <wx/icon.h>
++#include <wx/toolbar.h>
+ #if wxPERL_USE_MINIFRAME
+ #include <wx/minifram.h>
+ #endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Wx.git/commitdiff/6b5ea79b411fb2e40d20cea05db38c2fe84579c1



More information about the pld-cvs-commit mailing list