components/python/django/patches/use-gnu-msgfmt.patch
branchs11u2-sru
changeset 4156 4b1def16fe9b
child 6783 4f3d1898c571
equal deleted inserted replaced
4146:097063f324c0 4156:4b1def16fe9b
       
     1 Patch to address 20638369.  This patch is Solaris specific and not
       
     2 suitable for upstream contribution.
       
     3 
       
     4 --- Django-1.4.19/django/core/management/commands/compilemessages.py.orig	2015-03-03 12:41:29.911259727 -0700
       
     5 +++ Django-1.4.19/django/core/management/commands/compilemessages.py	2015-03-03 12:42:00.821142374 -0700
       
     6 @@ -44,7 +44,7 @@ def compile_messages(stderr, locale=None
       
     7                      if sys.platform == 'win32': # Different shell-variable syntax
       
     8                          cmd = 'msgfmt --check-format -o "%djangocompilemo%" "%djangocompilepo%"'
       
     9                      else:
       
    10 -                        cmd = 'msgfmt --check-format -o "$djangocompilemo" "$djangocompilepo"'
       
    11 +                        cmd = '/usr/gnu/bin/msgfmt --check-format -o "$djangocompilemo" "$djangocompilepo"'
       
    12                      os.system(cmd)
       
    13  
       
    14