summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-le
blob: 399c5d7d88befd78c33f14b2229dffa71d90c024 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
*** lib/libxview/misc/gettext.h.orig	Fri Jan 22 19:23:05 1999
--- lib/libxview/misc/gettext.h	Fri Jan 22 19:25:20 1999
***************
*** 1,7 ****
  /* @(#)gettext.h 50.11 93/06/28 SMI */
  
  #define DEFAULT_DOMAIN	"default"
! #define DEFAULT_BINDING "/usr/lib/locale\n"
  #define COOKIE 0xFF
  #define BINDINGLISTDELIM '\n'
  
--- 1,7 ----
  /* @(#)gettext.h 50.11 93/06/28 SMI */
  
  #define DEFAULT_DOMAIN	"default"
! #define DEFAULT_BINDING "/usr/X11R6/lib/locale\n"
  #define COOKIE 0xFF
  #define BINDINGLISTDELIM '\n'
  
*** lib/libxview/misc/i18n_impl.h.orig	Tue Jun 29 00:16:31 1993
--- lib/libxview/misc/i18n_impl.h	Fri Jan 22 19:31:53 1999
***************
*** 25,30 ****
--- 25,34 ----
  
  #include  <locale.h>
  
+ #if !defined(LC_MESSAGES) && defined(LC_RESPONSE)
+ #define LC_MESSAGES LC_RESPONSE
+ #endif
+ 
  extern char	*dgettext();
  
  #define XV_I18N_MSG(d,s)	(dgettext(d,s))
--- lib/libxview/misc/portable.h.orig	Tue Jun 29 14:16:34 1993
+++ lib/libxview/misc/portable.h	Sat Jan  9 23:19:57 1999
@@ -10,6 +10,7 @@
 #ifndef xview_portable_h_DEFINED
 #define xview_portable_h_DEFINED
 
+#include <sys/param.h>
 #include <xview/attr.h>
 
 #if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)
@@ -24,6 +25,10 @@
 
 EXTERN_FUNCTION (Attr_avlist copy_va_to_av, (va_list valist, Attr_avlist avlist, Attr_attribute attr1));
 
+#ifdef __alpha__
+#define	NO_CAST_VATOAV
+#endif
+
 #ifdef NO_CAST_VATOAV
 #define AVLIST_DECL  Attr_attribute avarray[ATTR_STANDARD_SIZE];  \
                      Attr_avlist    avlist = avarray
@@ -70,7 +75,11 @@
 #define	XV_USE_TERMIOS
 #define	XV_USE_SVR4_PTYS
 #else	/* SVR4 */
+#if (defined(BSD) && (BSD >= 199103))
+#define XV_USE_TERMIOS
+#else
 #undef	XV_USE_TERMIOS
+#endif
 #undef	XV_USE_SVR4_PTYS
 #endif	/* SVR4 */