mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
ba6754f275
PR: 11305 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
*** 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 */
|