aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-05-20 12:19:52 +0800
committeradamw <adamw@FreeBSD.org>2005-05-20 12:19:52 +0800
commita9ff290f0f602ddd14a764dbf9208cc788927304 (patch)
treed9d3a417b4e713f16e09d1ab8a50e11179a5eb39
parent73c3c2f044acc4d542b1d815878a2507aef29c7b (diff)
downloadfreebsd-ports-gnome-a9ff290f0f602ddd14a764dbf9208cc788927304.tar.gz
freebsd-ports-gnome-a9ff290f0f602ddd14a764dbf9208cc788927304.tar.zst
freebsd-ports-gnome-a9ff290f0f602ddd14a764dbf9208cc788927304.zip
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.
-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;