Package: csound / 1:6.03.2~dfsg-1

2004-fix-gettext.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Set the correct path to search for locales
Author: Felipe Sateler <fsateler@gmail.com>
--- a/Top/getstring.c
+++ b/Top/getstring.c
@@ -77,10 +77,7 @@ void init_getstring(void *cs)
 /*       setlocale (LC_MESSAGES, s);    /\* Set to particular value *\/ */
 /*    textdomain("csound6"); */  /* This is not needed when using dgettext */
     /* bind_textdomain_codeset("csound6", "UTF-8"); */
-#ifdef never
-    /* This is experimental; where should these be?? */
-    bindtextdomain("csound6", "/home/jpff/Sourceforge/csound/csound6/po");
-#endif
+    bindtextdomain("csound6", "/usr/share/locale");
 #ifndef HAVE_STRTOD_L
     setlocale(LC_NUMERIC, "C"); /* Ensure C syntax */
 #else