osx_build_wx.sh does not patch wxwidgets with included Yosemite-specific patch

Bug #1435666 reported by Rob Caldwell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Won't Fix
Undecided
Unassigned

Bug Description

The wxWidgets patch file patches/wxwidgets-3.0.2_macosx_yosemite.patch exists but is never used by the osx_build_wx.sh script.

Attached is a patch that tests the minor version number given by the "OS X target version" argument for a value of 10 (Yosemite) or higher and applies the patch if true. E.g. The argument 10.10 uses the Yosemite-specific patch while 10.9 will not.

Tags: osx
Revision history for this message
Rob Caldwell (rob-e-caldwell) wrote :
Revision history for this message
Adam Wolf (adamwolf) wrote :

Hi Rob,

As far as I know, it doesn't hurt to always patch OS X wxwidgets with that patch. I haven't deeply investigated it. What do you think?

tags: added: osx
Revision history for this message
Rob Caldwell (rob-e-caldwell) wrote :

Hi Adam,

I believe that applying wxwidgets-3.0.2_macosx_yosemite.patch to systems not running Yosemite will break compilation. However upon closer examination of this problem it seems that a proper patch has very recently been committed to the wxWidgets WX_3_0_BRANCH.

So I prepared another patch that removes patches/wxwidgets-3.0.2_macosx_yosemite.patch, adds patches/wxwidgets-3.0.2_macosx_bug_16329.patch (from #16329) to replace it, and modifies scripts/osx_build_wx.sh to apply the latter regardless of the OS X version.

More details about this problem can be found here: http://trac.wxwidgets.org/ticket/16329

Rob

Revision history for this message
xzcvczx (xzcvczx) wrote :

as the file has been removed, closing bug

Changed in kicad:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.