public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Wx] f44: Add patch for Wx 3.2.9 compatibility
@ 2026-07-27 8:25 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-27 8:25 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-27 8:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 8:25 [rpms/perl-Wx] f44: Add patch for Wx 3.2.9 compatibility Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox