aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-05-20 04:19:52 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-05-20 04:19:52 +0000
commit3e97f42f590cbd9805ae407db3ef159bb78064aa (patch)
tree6969f25e3b2cb525861a634dd4686b721fd2c61a /devel
parent1d1fc9d22cf34483ed8b6ae0d24a667c7af7bea9 (diff)
Sortof fix msginit a little bit kindof. It was looking for
certain files in the wrong place. Before, running msginit would give this: /usr/local/libdata/gettext/project-id: Can't open /usr/local/libdata/gettext/project-id: No such file or directory msginit: /usr/local/libdata/gettext/project-id subprocess I/O error /usr/local/libdata/gettext/user-email: Can't open /usr/local/libdata/gettext/user-email: No such file or directory msginit: /usr/local/libdata/gettext/user-email subprocess I/O error /usr/local/share/gettext/projects/TP/team-address: /usr/local/libdata/gettext/urlget: not found etc. Now, it gives this: root@smacky:/usr/ports/GNOME/grm/i18n# msginit The new message catalog should contain your email address, so that users can give you feedback about the translations, and so that maintainers can contact you in case of unexpected technical problems. sed: 8: "{ h s/^[^@]*@\(.*\)$/\1 ...": unterminated substitute pattern Couldn't find out about your email address. Please enter your email address. adamw@gnome.org sed: 8: "{ h s/^[^@]*@\(.*\)$/\1 ...": unterminated substitute pattern Exception in thread "main" java.lang.NoClassDefFoundError: gnu/gettext/GetURL Someone should look into that new error.
Notes
Notes: svn path=/head/; revision=135668
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext/files/patch-gettext-tools_src_msginit.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/gettext/files/patch-gettext-tools_src_msginit.c b/devel/gettext/files/patch-gettext-tools_src_msginit.c
new file mode 100644
index 000000000000..88b5db07efc1
--- /dev/null
+++ b/devel/gettext/files/patch-gettext-tools_src_msginit.c
@@ -0,0 +1,38 @@
+--- gettext-tools/src/msginit.c.orig Fri May 20 00:14:54 2005
++++ gettext-tools/src/msginit.c Fri May 20 00:15:16 2005
+@@ -950,7 +950,7 @@
+
+ gettextlibdir = getenv ("GETTEXTLIBDIR");
+ if (gettextlibdir == NULL || gettextlibdir[0] == '\0')
+- gettextlibdir = relocate (LIBDIR "/gettext");
++ gettextlibdir = relocate (LIBDIR "/gettext-tools");
+
+ prog = concatenated_pathname (gettextlibdir, "project-id", NULL);
+
+@@ -1016,7 +1016,7 @@
+
+ gettextlibdir = getenv ("GETTEXTLIBDIR");
+ if (gettextlibdir == NULL || gettextlibdir[0] == '\0')
+- gettextlibdir = relocate (LIBDIR "/gettext");
++ gettextlibdir = relocate (LIBDIR "/gettext-tools");
+
+ prog = concatenated_pathname (gettextlibdir, "project-id", NULL);
+
+@@ -1165,7 +1165,7 @@
+ static const char *
+ get_user_email ()
+ {
+- const char *prog = relocate (LIBDIR "/gettext/user-email");
++ const char *prog = relocate (LIBDIR "/gettext-tools/user-email");
+ char *argv[4];
+ pid_t child;
+ int fd[1];
+@@ -1261,7 +1261,7 @@
+ argv[0] = "/bin/sh";
+ argv[1] = (char *) prog;
+ argv[2] = (char *) relocate (PROJECTSDIR);
+- argv[3] = (char *) relocate (LIBDIR "/gettext");
++ argv[3] = (char *) relocate (LIBDIR "/gettext-tools");
+ argv[4] = (char *) catalogname;
+ argv[5] = (char *) language;
+ argv[6] = NULL;