]> git.pld-linux.org Git - packages/fribidi.git/commitdiff
- fix format string error auto/th/fribidi-0.19.5-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 4 Dec 2013 07:11:02 +0000 (08:11 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 4 Dec 2013 07:11:02 +0000 (08:11 +0100)
format-security.patch [new file with mode: 0644]
fribidi.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..c0aea53
--- /dev/null
@@ -0,0 +1,11 @@
+--- fribidi-0.19.5/bin/fribidi-main.c~ 2012-12-02 17:25:39.000000000 +0100
++++ fribidi-0.19.5/bin/fribidi-main.c  2013-12-04 08:10:07.394884765 +0100
+@@ -609,7 +609,7 @@
+           }
+           if (*nl_found)
+-            printf (new_line);
++            printf ("%s",new_line);
+         }
+       }
+     }
index 5ee3154424c2c6253a8ed54ba9e11fd5be915dc3..75f10ebfa5091835ef0d616823773802b2e7dabc 100644 (file)
@@ -12,6 +12,7 @@ License:      LGPL v2.1+
 Group:         Libraries
 Source0:       http://fribidi.org/download/%{name}-%{version}.tar.bz2
 # Source0-md5: 925bafb97afee8a2fc2d0470c072a155
+Patch0:                format-security.patch
 URL:           http://fribidi.freedesktop.org/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11.1
@@ -58,6 +59,7 @@ Biblioteka statyczna FriBidi.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.107539 seconds and 4 git commands to generate.