]> git.pld-linux.org Git - packages/gettext.git/blobdiff - gettext-dml.patch
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/gettext.git] / gettext-dml.patch
index 0c9497b9b5e3c651173bfd8677abd180d3b04b81..46ef5dc80f2ed3764bd16af144a41131cc1781c3 100644 (file)
@@ -96,7 +96,7 @@ diff -ur gettext-0.10.35/src/xgettext.c gettext-0.10.35-dml/src/xgettext.c
 +              static lex_pos_ty pos = { __FILE__, __LINE__ };
 +
 +              /* Allocate a new message and append the message to the list.  */
-+              mp = message_alloc(xstrdup(msgid));
++              mp = message_alloc(xstrdup(msgid), NULL);
 +              /* Do not free msgid.  */
 +              message_list_append(ctx->mlp, mp);
 +
@@ -113,7 +113,7 @@ diff -ur gettext-0.10.35/src/xgettext.c gettext-0.10.35-dml/src/xgettext.c
 +              } else
 +                      msgstr = "";
 +              message_variant_append(mp, MESSAGE_DOMAIN_DEFAULT, msgstr,
-+                                     &pos);
++                                     strlen(msgstr) + 1, &pos);
 +                                     
 +              mp->is_c_format = no;
 +              mp->do_wrap = yes;      /* By default we wrap. Is it ok?  */
This page took 0.079119 seconds and 4 git commands to generate.