]> git.pld-linux.org Git - packages/xfig.git/blob - xfig-i18n.patch
- perl -pi -e "s/^\%\{_datadir\}\/pixmaps/\%\{_pixmapsdir\}/"
[packages/xfig.git] / xfig-i18n.patch
1 diff -urN xfig.3.2.3c.org/Imakefile xfig.3.2.3c/Imakefile
2 --- xfig.3.2.3c.org/Imakefile   Mon Oct 30 19:51:43 2000
3 +++ xfig.3.2.3c/Imakefile       Mon Oct 30 19:52:03 2000
4 @@ -104,7 +104,7 @@
5  XCOMM If your setlocale() dosen't support the locale, you should
6  XCOMM add -DSETLOCALE to I18N_DEFS.
7  
8 -XCOMM #define I18N
9 +#define I18N
10  
11  XCOMM If using an input tablet uncomment the following
12  
13 diff -urN xfig.3.2.3c.org/main.c xfig.3.2.3c/main.c
14 --- xfig.3.2.3c.org/main.c      Mon Oct 30 19:51:44 2000
15 +++ xfig.3.2.3c/main.c  Mon Oct 30 19:54:47 2000
16 @@ -631,8 +631,21 @@
17      }
18  
19  #ifdef I18N
20 -    setlocale(LC_ALL, "");
21 +    /* don't set LC_ALL here because LC_NUMERIC below won't work. --misiek */
22 +    setlocale(LC_COLLATE, "");
23 +    setlocale(LC_CTYPE, "");
24 +    setlocale(LC_MESSAGES, "");
25 +    setlocale(LC_MONETARY, "");
26 +    setlocale(LC_TIME, "");
27      setlocale(LC_NUMERIC, "C");
28 +#ifdef LC_IDENTIFICATION /* glibc 2.2 */
29 +    setlocale(LC_PAPER, "");
30 +    setlocale(LC_NAME, "");
31 +    setlocale(LC_ADDRESS, "");
32 +    setlocale(LC_TELEPHONE, "");
33 +    setlocale(LC_MEASUREMENT, "");
34 +    setlocale(LC_IDENTIFICATION, "");
35 +#endif
36      XtSetLanguageProc(NULL, NULL, NULL);
37  #endif  /* I18N */
38  
39 --- xfig.3.2.3c/Fig.ad.i18n     Thu Aug 24 15:27:35 2000
40 +++ xfig.3.2.3c/Fig.ad  Thu Aug 24 15:27:35 2000
41 @@ -158,7 +158,7 @@
42  
43  ! If xfig is compiled with I18N option, you may want to uncomment following line.
44  !
45 -!Fig.international: true
46 +Fig.international: true
47  
48  ! Note that you shouldn't remove the following "Fig*international: false".  
49  ! It must be there to cancel any *international: true that may defined via xrdb.
This page took 0.064461 seconds and 3 git commands to generate.