summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-lp
blob: d94992827f0bf55f5b4533bce172621aa9a08296 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
*** lib/libxview/textsw/txt_e_menu.c.org	Sun Jan 21 16:01:52 2001
--- lib/libxview/textsw/txt_e_menu.c	Sun Jan 21 16:03:27 2001
***************
*** 144,153 ****
--- 144,160 ----
  
  #ifdef __FreeBSD__
  	/* Gee, still?... We will try the old fashioned way */
+ 	/* If it is never defined, EXTRASMENU is set to text_extras_menu
+ 	   see top of this file ... */
          (void) sprintf(tmp, "%s/lib/.%s",
  		       filename, EXTRASMENU);
  	if ((result = check_filename_locale(NULL, tmp, 1)) != NULL)
  		goto found;
+ 	/* EXTRASMENU is absolute specified as normally done
+ 	   during  compile time option -DEXTRASMENU="\"$(TEXT_EXTRAS_MENU)\" */
+ 	(void) sprintf(tmp, "%s", EXTRASMENU);
+ 	if ((result = check_filename_locale(NULL, tmp, 1)) != NULL)
+ 	    goto found;
  #endif
      }