Ticket #16232: locale_fix.patch

File locale_fix.patch, 1.0 KB (added by luis.kop@…, 16 years ago)
  • files/patch-locale.diff

     
     1--- umitCore/I18N.py.orig       2008-08-06 15:35:26.000000000 +0100
     2+++ umitCore/I18N.py    2008-08-06 15:35:40.000000000 +0100
     3@@ -39,7 +39,7 @@
     4 using your system's preferred language."
     5     LC_ALL = locale.setlocale(locale.LC_ALL, None)
     6 
     7-LANG, ENC = locale.getdefaultlocale()
     8+LANG, ENC = locale.getlocale()
     9 ERRORS = "ignore"
     10 
     11 # If not correct locale could be retrieved, set en_US.utf8 as default
  • Portfile

     
    1313platforms       darwin freebsd
    1414long_description Umit is a graphical scanner.
    1515
    16 patchfiles      patch-base.diff patch-setup.diff
     16patchfiles      patch-base.diff patch-setup.diff patch-locale.diff
    1717master_sites sourceforge:umit
    1818
    1919checksums       md5     f4c63b19d22e9f7d78458b3409d440ad \