summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2006-06-06 14:33:13 +0000
committerSeemant Kulleen <seemant@gentoo.org>2006-06-06 14:33:13 +0000
commitf01a6bdaf1e6927d357ad45aa67414bbe8e992fd (patch)
treec334fe457ef8ae40b3342679644e67456f00bffb /app-text/diction/files
parentupdate metadata.xml (diff)
downloadgentoo-2-f01a6bdaf1e6927d357ad45aa67414bbe8e992fd.tar.gz
gentoo-2-f01a6bdaf1e6927d357ad45aa67414bbe8e992fd.tar.bz2
gentoo-2-f01a6bdaf1e6927d357ad45aa67414bbe8e992fd.zip
fixes for bad style and UTF-8/de stuff. Thanks to James and to: Matthias Langer in bug #131637 and bug #135485
(Portage version: 2.1_rc4-r3)
Diffstat (limited to 'app-text/diction/files')
-rw-r--r--app-text/diction/files/diction-1.07-style-fail-on-bad-lang.patch18
-rw-r--r--app-text/diction/files/diction-1.09-style-fail-on-bad-lang.patch18
-rw-r--r--app-text/diction/files/digest-diction-1.07-r13
-rw-r--r--app-text/diction/files/digest-diction-1.09-r13
4 files changed, 42 insertions, 0 deletions
diff --git a/app-text/diction/files/diction-1.07-style-fail-on-bad-lang.patch b/app-text/diction/files/diction-1.07-style-fail-on-bad-lang.patch
new file mode 100644
index 000000000000..b7538161a728
--- /dev/null
+++ b/app-text/diction/files/diction-1.07-style-fail-on-bad-lang.patch
@@ -0,0 +1,18 @@
+# Fix for problem spotted by Matthias Langer in bug #131637
+
+Index: diction-1.07/style.c
+===================================================================
+--- diction-1.07/style.c {cset 980e7b47-4932-44e5-a761-6c69c6a771e1}
++++ diction-1.07/style.c {local clone}
+@@ -894,6 +894,11 @@ int main(int argc, char *argv[]) /*{{{*/
+ }
+ /*}}}*/
+ newHit(&lengths);
++ if (strcmp(docLanguage,"de") && strcmp(docLanguage,"en"))
++ {
++ fprintf(stderr,_("style: Incorrect language option `%s'.\n"),docLanguage);
++ exit(1);
++ }
+ if (optind==argc) sentence("style",stdin,"(stdin)",style,docLanguage,0);
+ else while (optind<argc)
+ {
diff --git a/app-text/diction/files/diction-1.09-style-fail-on-bad-lang.patch b/app-text/diction/files/diction-1.09-style-fail-on-bad-lang.patch
new file mode 100644
index 000000000000..261398de8fa7
--- /dev/null
+++ b/app-text/diction/files/diction-1.09-style-fail-on-bad-lang.patch
@@ -0,0 +1,18 @@
+# Fix for problem spotted by Matthias Langer in bug #131637
+
+Index: diction-1.10/style.c
+===================================================================
+--- diction-1.10/style.c {cset f20f6f20-d7da-4aa0-9160-88cf480ce937}
++++ diction-1.10/style.c {local clone}
+@@ -911,6 +911,11 @@ int main(int argc, char *argv[]) /*{{{*/
+ }
+ /*}}}*/
+ newHit(&lengths);
++ if (strcmp(docLanguage,"de") && strcmp(docLanguage,"en"))
++ {
++ fprintf(stderr,_("style: Incorrect language option `%s'.\n"),docLanguage);
++ exit(1);
++ }
+ if (optind==argc) sentence("style",stdin,"(stdin)",style,docLanguage);
+ else while (optind<argc)
+ {
diff --git a/app-text/diction/files/digest-diction-1.07-r1 b/app-text/diction/files/digest-diction-1.07-r1
new file mode 100644
index 000000000000..be1210780988
--- /dev/null
+++ b/app-text/diction/files/digest-diction-1.07-r1
@@ -0,0 +1,3 @@
+MD5 ee0756a8bcd6b1c186b38b6c1cf8af4b diction-1.07.tar.gz 111608
+RMD160 84442bfaf9b3f42f3de0c8e403422c6794d55d73 diction-1.07.tar.gz 111608
+SHA256 ed42a38b8cc69c7251bd4a7a01d3a9ffad131c5c633449d08e6659850102915f diction-1.07.tar.gz 111608
diff --git a/app-text/diction/files/digest-diction-1.09-r1 b/app-text/diction/files/digest-diction-1.09-r1
new file mode 100644
index 000000000000..1173ddf0e689
--- /dev/null
+++ b/app-text/diction/files/digest-diction-1.09-r1
@@ -0,0 +1,3 @@
+MD5 eb82a90bbc93141f10deed301902d160 diction-1.09.tar.gz 144704
+RMD160 e4f09341a6950e905a5ba902f676b3060fedd95c diction-1.09.tar.gz 144704
+SHA256 7c17e7d80e8d494ed5409236ad6ba24ee064643175c69e0b841e31bd9762c69e diction-1.09.tar.gz 144704