From 0b46cbb52d8ab4a78c0580a23db61a4c7592195c Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 22 Feb 2018 15:16:41 +0000 Subject: [PATCH] Added 2 new patch files - Legacy-Id: 14676 --- patch/add-patch-already-patched-flag.patch | 18 ++++++++++++++++++ patch/fix-faker-provider-ro-RO-string.patch | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 patch/add-patch-already-patched-flag.patch create mode 100644 patch/fix-faker-provider-ro-RO-string.patch diff --git a/patch/add-patch-already-patched-flag.patch b/patch/add-patch-already-patched-flag.patch new file mode 100644 index 000000000..85e8c7474 --- /dev/null +++ b/patch/add-patch-already-patched-flag.patch @@ -0,0 +1,18 @@ +--- patch.py.old 2018-02-20 14:54:24.400212946 -0800 ++++ patch.py 2018-02-20 14:55:29.681760580 -0800 +@@ -263,6 +263,7 @@ + + self.errors = 0 # fatal parsing errors + self.warnings = 0 # non-critical warnings ++ self.already_patched = False + # --- /API --- + + if stream: +@@ -933,6 +934,7 @@ + if validhunks < len(p.hunks): + if self._match_file_hunks(filename, p.hunks): + warning("already patched %s" % filename) ++ self.already_patched = True + else: + warning("source file is different - %s" % filename) + errors += 1 diff --git a/patch/fix-faker-provider-ro-RO-string.patch b/patch/fix-faker-provider-ro-RO-string.patch new file mode 100644 index 000000000..93488ecc3 --- /dev/null +++ b/patch/fix-faker-provider-ro-RO-string.patch @@ -0,0 +1,11 @@ +--- faker/providers/person/ro_RO/__init__.py.old 2018-02-16 04:57:48.915570971 -0800 ++++ faker/providers/person/ro_RO/__init__.py 2018-02-16 04:57:51.243625893 -0800 +@@ -104,6 +104,8 @@ + 'Vasilică', 'Veniamin', 'Vicențiu', 'Victor', 'Vincențiu', 'Viorel', 'Visarion', 'Vlad', 'Vladimir', 'Vlaicu', + 'Voicu', 'Zamfir', 'Zeno') + ++ first_names = first_names_male + first_names_female ++ + # sources: https://ro.wikipedia.org/wiki/Lista_celor_mai_uzuale_nume_de_familie#Rom%C3%A2nia + last_names = ( + 'Aanei', 'Ababei', 'Albu', 'Ardelean', 'Barbu', 'Cristea', 'Diaconescu', 'Diaconu', 'Dima', 'Dinu', 'Dobre',