components/python/django/patches/use-gnu-msgfmt.patch
author Craig Mohrman <craig.mohrman@oracle.com>
Tue, 09 Jun 2015 15:44:51 -0700
branchs11-update
changeset 4451 a9174862fe73
parent 4072 db0cec748ec0
child 6783 4f3d1898c571
permissions -rw-r--r--
20293317 problem in UTILITY/PHP 20433646 problem in UTILITY/PHP

Patch to address 20638369.  This patch is Solaris specific and not
suitable for upstream contribution.

--- Django-1.4.19/django/core/management/commands/compilemessages.py.orig	2015-03-03 12:41:29.911259727 -0700
+++ Django-1.4.19/django/core/management/commands/compilemessages.py	2015-03-03 12:42:00.821142374 -0700
@@ -44,7 +44,7 @@ def compile_messages(stderr, locale=None
                     if sys.platform == 'win32': # Different shell-variable syntax
                         cmd = 'msgfmt --check-format -o "%djangocompilemo%" "%djangocompilepo%"'
                     else:
-                        cmd = 'msgfmt --check-format -o "$djangocompilemo" "$djangocompilepo"'
+                        cmd = '/usr/gnu/bin/msgfmt --check-format -o "$djangocompilemo" "$djangocompilepo"'
                     os.system(cmd)