]> git.pld-linux.org Git - packages/perl-Locale-Hebrew.git/commitdiff
- fix format string error auto/th/perl-Locale-Hebrew-1.05-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Jun 2013 15:06:52 +0000 (17:06 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Jun 2013 15:06:52 +0000 (17:06 +0200)
- rel 2

format-security.patch [new file with mode: 0644]
perl-Locale-Hebrew.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..ffec87b
--- /dev/null
@@ -0,0 +1,29 @@
+--- Locale-Hebrew-1.05/bidi.c~ 2004-09-17 21:16:42.000000000 +0200
++++ Locale-Hebrew-1.05/bidi.c  2013-06-13 17:06:09.592637611 +0200
+@@ -1234,7 +1234,7 @@
+     }
+     pszTypes[ich] = 0;
+-    fprintf(f, pszTypes);
++    fprintf(f, "%s", pszTypes);
+ }
+ void ShowTypes(FILE* f, int * types, int cch) {
+@@ -1245,7 +1245,7 @@
+     }
+     pszTypes[ich] = 0;
+-    fprintf(f, pszTypes);
++    fprintf(f, "%s", pszTypes);
+ }
+ void ShowLevels(FILE* f, int * levels, int cch) {
+@@ -1256,7 +1256,7 @@
+     }
+     pszLevel[ich] = 0;
+-    fprintf(f, pszLevel);
++    fprintf(f, "%s", pszLevel);
+ }
+ void usage(char *s) {
index 2848f336bacb59ce1c64f167009c688b54222eb1..e8479e2d6147cb86d4a238d80e170fc9f4551035 100644 (file)
@@ -8,13 +8,14 @@
 Summary:       Locale::Hebrew - Bidirectional Hebrew support
 Summary(pl.UTF-8):     Locale::Hebrew - obsługa języka hebrajskiego z dwukierunkowym pismem
 Name:          perl-Locale-Hebrew
-Version:       1.04
-Release:       4
+Version:       1.05
+Release:       2
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Hebrew-%{version}.tar.gz
-# Source0-md5: 5b1c08e039886c0319a0c4ece6209064
+Source0:       http://www.cpan.org/modules/by-authors/id/A/AU/AUDREYT/Locale-Hebrew-%{version}.tar.gz
+# Source0-md5: 424209b23bf423f1923f9b24b5ae2179
+Patch0:                format-security.patch
 URL:           http://search.cpan.org/dist/Locale-Hebrew/
 %{?with_tests:BuildRequires:   perl-Encode}
 BuildRequires: perl-devel >= 1:5.8.0
@@ -38,6 +39,7 @@ Domyślnie eksportowana jest jedna funkcja - hebrewflip.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
This page took 0.086524 seconds and 4 git commands to generate.