aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch
diff options
context:
space:
mode:
authorFernando Casas Schössow <casasfernando@outlook.com>2019-02-07 22:52:44 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-03-05 14:04:14 +0000
commit99f2aaa0ed9c4482c2f4412c03f4bee3596cf953 (patch)
treea2ffae6faafbbfb101dd4cc7c7fe1b42e8e5a8a0 /testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch
parente6af149107ed749a1e67f759c79c7a07840ecc03 (diff)
downloadaports-99f2aaa0ed9c4482c2f4412c03f4bee3596cf953.tar.bz2
aports-99f2aaa0ed9c4482c2f4412c03f4bee3596cf953.tar.xz
testing/ocaml-gettext: new aport
https://github.com/gildor478/ocaml-gettext OCaml library for i18n
Diffstat (limited to 'testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch')
-rw-r--r--testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch b/testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch
new file mode 100644
index 0000000000..6d656d9bc6
--- /dev/null
+++ b/testing/ocaml-gettext/0002-pr_gettext-stop-printing-extracted-strings.patch
@@ -0,0 +1,26 @@
+From 3f4fc73c2a0315c2da16dee7db0fcb2766f55d3c Mon Sep 17 00:00:00 2001
+From: Pino Toscano <ptoscano@redhat.com>
+Date: Tue, 29 Aug 2017 18:36:10 +0200
+Subject: [PATCH 2/3] pr_gettext: stop printing extracted strings
+
+They are written in the pot file already, no need to print them to
+stderr (even though they are not errors).
+---
+ libgettext-ocaml/pr_gettext.ml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/libgettext-ocaml/pr_gettext.ml b/libgettext-ocaml/pr_gettext.ml
+index d78cf21..47d93e5 100644
+--- a/libgettext-ocaml/pr_gettext.ml
++++ b/libgettext-ocaml/pr_gettext.ml
+@@ -78,7 +78,6 @@ struct
+ }
+
+ let string_of_ocaml_string str =
+- prerr_endline str;
+ Scanf.sscanf
+ (Printf.sprintf "\"%s\"" str)
+ "%S"
+--
+2.13.2
+