aboutsummaryrefslogtreecommitdiff
path: root/x11/props/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2011-08-02 20:19:45 +0000
committerCy Schubert <cy@FreeBSD.org>2011-08-02 20:19:45 +0000
commit02d30fd9ea852742f55c97fd3d8715195778631d (patch)
tree8c5f5d633e9c29506f5c7940dadbdfe5ae645f4b /x11/props/files
parent53b2e28cd7dd6133813b24da0949fec355703349 (diff)
downloadports-02d30fd9ea852742f55c97fd3d8715195778631d.tar.gz
ports-02d30fd9ea852742f55c97fd3d8715195778631d.zip
Notes
Diffstat (limited to 'x11/props/files')
-rw-r--r--x11/props/files/patch-aa12
-rw-r--r--x11/props/files/patch-ab32
-rw-r--r--x11/props/files/patch-ac11
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);
+ }
+