From 1e70859d9f2a1ce233ea5ab8b5ca2ccf06cee09d Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Nov 20 2017 21:55:07 +0000 Subject: Minimal attempt to convert to wxGTK3. --- diff --git a/perl-Wx.spec b/perl-Wx.spec index a2ce56e..6be44a1 100644 --- a/perl-Wx.spec +++ b/perl-Wx.spec @@ -21,7 +21,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/M/MD/MDOOTSON/Wx-%{versio # Work around BOM_UTF8 clash between wxGTK and Perl. Should be fixed in newer # wxGTK, CPAN RT#121464, . Patch0: Wx-0.9932-Undefine-BOM_UTF8.patch -BuildRequires: wxGTK-devel +BuildRequires: wxGTK3-devel BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Alien::wxWidgets) >= 0.25 @@ -679,7 +679,7 @@ find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" | %build perl Makefile.PL --wx-unicode \ --wx-version=`wx-config --version | cut -d . -f 1-2` \ - --wx-toolkit=gtk2 \ + --wx-toolkit=gtk \ INSTALLDIRS=vendor \ OPTIMIZE="$RPM_OPT_FLAGS -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-local-typedefs" make %{?_smp_mflags}