public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Wx] rawhide: Add patch for Wx 3.2.9 compatibility
@ 2026-07-27  6:27 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-27  6:27 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-27  6:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27  6:27 [rpms/perl-Wx] rawhide: 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