Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=wx28.git;a=commitdiff;h=a488d9d6384be3a5e482a3b3e9b8bf0b4680e5c5
commit a488d9d6384be3a5e482a3b3e9b8bf0b4680e5c5 Author: crazy <[EMAIL PROTECTED]> Date: Wed Dec 5 17:12:10 2007 +0100 wxpython-2.8.7.1-1-i686 * correct typo in _misc.py diff --git a/source/xlib-extra/wxpython/FrugalBuild b/source/xlib-extra/wxpython/FrugalBuild index f88da17..8d21272 100644 --- a/source/xlib-extra/wxpython/FrugalBuild +++ b/source/xlib-extra/wxpython/FrugalBuild @@ -14,6 +14,7 @@ options=('scriptlet') depends=('wxgtk>=2.8.7' 'python>=2.5' 'atk' 'expat' 'libstdc++' 'zlib' 'libxxf86vm' \ 'libxfixes' 'libxcb' 'freetype2' 'cairo' 'pango' 'glib2' 'libgcc') makedepends=('wxgtk-u8>=2.8.7') +source=($source wxPython_misc.py-typo-fix.patch) options=('scriptlet') groups=('xlib-extra') archs=('x86_64' 'i686') @@ -28,6 +29,7 @@ subarchs=('i686 x86_64') build() { Fcd wxPython-src-$pkgver + Fpatch wxPython_misc.py-typo-fix.patch cp -r wxPython wxPython-u8 || Fdie export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -Wno-deprecated" export CFLAGS="$CFLAGS -fno-strict-aliasing" @@ -45,5 +47,6 @@ build() Fmakeinstall ${wxp_config} UNICODE=0 WX_CONFIG='wx-config' } -sha1sums=('5526ee4c4cc57bcebb4950ea05e24639ef8b02dd') +sha1sums=('5526ee4c4cc57bcebb4950ea05e24639ef8b02dd' \ + 'b9ca68fe9ec90090e2e77355c58c4cd7a99a5366') # optimization OK diff --git a/source/xlib-extra/wxpython/wxPython_misc.py-typo-fix.patch b/source/xlib-extra/wxpython/wxPython_misc.py-typo-fix.patch new file mode 100644 index 0000000..dd4a63f --- /dev/null +++ b/source/xlib-extra/wxpython/wxPython_misc.py-typo-fix.patch @@ -0,0 +1,12 @@ +diff -Naur wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py wxPython-src-2.8.7.1-typo-fiX/wxPython/wxPython/_misc.py +--- wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py 2007-07-19 00:33:59.000000000 +0200 ++++ wxPython-src-2.8.7.1-typo-fiX/wxPython/wxPython/_misc.py 2007-12-05 16:18:48.000000000 +0100 +@@ -453,7 +453,7 @@ + wxDateTime_GetCurrentMonth = wx._misc.DateTime_GetCurrentMonth + wxDateTime_IsLeapYear = wx._misc.DateTime_IsLeapYear + wxDateTime_GetCentury = wx._misc.DateTime_GetCentury +-wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear ++wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysInYear + wxDateTime_GetNumberOfDaysInMonth = wx._misc.DateTime_GetNumberOfDaysInMonth + wxDateTime_GetMonthName = wx._misc.DateTime_GetMonthName + wxDateTime_GetWeekDayName = wx._misc.DateTime_GetWeekDayName _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git