summaryrefslogtreecommitdiff
path: root/x11/props/files/patch-l10n_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/props/files/patch-l10n_read.c')
-rw-r--r--x11/props/files/patch-l10n_read.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/x11/props/files/patch-l10n_read.c b/x11/props/files/patch-l10n_read.c
deleted file mode 100644
index cad9fb899fda..000000000000
--- a/x11/props/files/patch-l10n_read.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- 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)