public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Wx] rawhide: Add patch for Wx 3.2.9 compatibility
Date: Mon, 27 Jul 2026 06:27:32 GMT [thread overview]
Message-ID: <178513365276.1.15040438226093559663.rpms-perl-Wx-cb7bcb533e6c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Wx
Branch : rawhide
Commit : cb7bcb533e6c16b4d35a7213401a72af52ed040e
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-24T17:46:42-06:00
Stats : +36/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Wx/c/cb7bcb533e6c16b4d35a7213401a72af52ed040e?branch=rawhide
Log:
Add patch for Wx 3.2.9 compatibility
---
diff --git a/perl-Wx.spec b/perl-Wx.spec
index 61b7c6f..1652ad4 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -23,6 +23,7 @@ Patch0: Wx-0.9932-Undefine-BOM_UTF8.patch
Patch1: gtk3.patch
Patch2: wxWidgets_3.2_MakeMaker.patch
Patch3: wxWidgets_3.2_port.patch
+Patch4: wxWidgets_3.2.9_port.patch
BuildRequires: make
BuildRequires: wxGTK-devel
BuildRequires: coreutils
@@ -691,6 +692,7 @@ dos2unix MANIFEST
dos2unix typemap
%patch -P3 -p1 -b .port
+%patch -P4 -p1
chmod -c a-x README.txt docs/todo.txt samples/*/*.pl
find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" |
@@ -744,6 +746,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
%{_mandir}/man3/*.3pm*
%changelog
+* Fri Jul 24 2026 Jerry James <loganjerry@gmail.com> - 0.9932-45
+- Add patch for Wx 3.2.9 compatibility
+
* Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.9932-45
- Perl 5.44 rebuild
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
reply other threads:[~2026-07-27 6:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178513365276.1.15040438226093559663.rpms-perl-Wx-cb7bcb533e6c@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox