diff options
author | Steve Price <steve@FreeBSD.org> | 1999-05-04 22:58:09 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-05-04 22:58:09 +0000 |
commit | ba6754f275b9d906cec2e91a8a177f61eb5022b6 (patch) | |
tree | 04a5f3a79201a9ec8cfb7f797c4e87d76547d889 /x11-toolkits/xview/files/patch-le | |
parent | Update to version 0.5. (diff) |
Combine xview-config and xview-lib into one port, xview.
PR: 11305
Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
Notes
Notes:
svn path=/head/; revision=18481
Diffstat (limited to 'x11-toolkits/xview/files/patch-le')
-rw-r--r-- | x11-toolkits/xview/files/patch-le | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-toolkits/xview/files/patch-le b/x11-toolkits/xview/files/patch-le new file mode 100644 index 000000000000..399c5d7d88be --- /dev/null +++ b/x11-toolkits/xview/files/patch-le @@ -0,0 +1,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 */ |