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] f44: Add patch for Wx 3.2.9 compatibility
Date: Mon, 27 Jul 2026 08:25:44 GMT [thread overview]
Message-ID: <178514074402.1.8347968235090473281.rpms-perl-Wx-daf0e9e4b548@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Wx
Branch : f44
Commit : daf0e9e4b5488ec92e7a536794ffb9eb02471c58
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-27T10:25:34+02:00
Stats : +37/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Wx/c/daf0e9e4b5488ec92e7a536794ffb9eb02471c58?branch=f44
Log:
Add patch for Wx 3.2.9 compatibility
---
diff --git a/perl-Wx.spec b/perl-Wx.spec
index 36b78c4..399c41b 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -12,7 +12,7 @@
Name: perl-Wx
Version: 0.9932
-Release: 43%{?dist}
+Release: 44%{?dist}
Summary: Interface to the wxWidgets cross-platform GUI toolkit
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Wx
@@ -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-44
+- Add patch for Wx 3.2.9 compatibility
+
* Thu Jan 22 2026 Miro Hrončok <mhroncok@redhat.com> - 0.9932-43
- Rebuilt with perl(Alien::wxWidgets::Config::gtk_3_2_9_uni_gcc_3_4)
- Fixes: rhbz#2431562
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 8:25 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=178514074402.1.8347968235090473281.rpms-perl-Wx-daf0e9e4b548@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