diff options
Diffstat (limited to 'x11/props/files')
-rw-r--r-- | x11/props/files/patch-aa | 12 | ||||
-rw-r--r-- | x11/props/files/patch-ab | 32 | ||||
-rw-r--r-- | x11/props/files/patch-ac | 11 |
3 files changed, 55 insertions, 0 deletions
diff --git a/x11/props/files/patch-aa b/x11/props/files/patch-aa new file mode 100644 index 000000000000..fe1c81f27fd8 --- /dev/null +++ b/x11/props/files/patch-aa @@ -0,0 +1,12 @@ +--- l10n_props.h.orig Tue Nov 4 20:36:07 1997 ++++ l10n_props.h Tue Nov 4 20:36:31 1997 +@@ -13,6 +13,9 @@ + */ + #define LOCALE_NAME_LEN 20 + ++#ifndef LC_MESSAGES ++#define LC_MESSAGES 0 ++#endif + + typedef struct _l10n_config_list_item { + /* diff --git a/x11/props/files/patch-ab b/x11/props/files/patch-ab new file mode 100644 index 000000000000..cad9fb899fda --- /dev/null +++ b/x11/props/files/patch-ab @@ -0,0 +1,32 @@ +--- l10n_read.c.orig Fri Nov 7 17:21:25 1997 ++++ l10n_read.c Mon Oct 21 03:29:17 2002 +@@ -18,15 +18,17 @@ + #include "l10n_props.h" + + +-#define MAX_LINE_LENGTH 256 ++#define MAX_LINE_LENGTH 2560 + + #define NAME_SEPARATOR '=' + #define FIELD_SEPARATOR '|' + #define ITEM_SEPARATOR ';' + + ++#if !defined(__FreeBSD__) + extern char *malloc(); + extern char *calloc(); ++#endif + + + /* +@@ -72,8 +74,9 @@ + /* + * Find path for localization configuration files under + * $OPENWINHOME/share/locale/<locale>/props ++ * $OPENWINHOME/lib/X11/locale/<locale>/props + */ +- sprintf(fullpath, "%s/share/locale/%s/props/%s", ++ sprintf(fullpath, "%s/lib/X11/locale/%s/props/%s", + getenv("OPENWINHOME"), locale, file_name); + + if ((config_file = fopen(fullpath, "r")) == NULL) diff --git a/x11/props/files/patch-ac b/x11/props/files/patch-ac new file mode 100644 index 000000000000..686095e402c9 --- /dev/null +++ b/x11/props/files/patch-ac @@ -0,0 +1,11 @@ +--- props.c.orig Sun Nov 9 01:18:50 1997 ++++ props.c Sun Nov 9 01:24:50 1997 +@@ -816,7 +816,7 @@ + else + { + strcpy(localepath, openwin_dir); +- strcat(localepath, "/lib/locale/"); ++ strcat(localepath, "/lib/X11/locale/C/"); + bindtextdomain("props", localepath); + } + |