]> git.pld-linux.org Git - packages/freetype1.git/commitdiff
- fix format string warning auto/th/freetype1-1.3.1-15
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 12 Dec 2012 12:06:01 +0000 (13:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 12 Dec 2012 12:06:01 +0000 (13:06 +0100)
- rel 15

format-security.patch [new file with mode: 0644]
freetype1.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..5b76394
--- /dev/null
@@ -0,0 +1,11 @@
+--- freetype-1.3.1/test/ftdump.c~      2012-12-12 13:04:33.074183494 +0100
++++ freetype-1.3.1/test/ftdump.c       2012-12-12 13:05:19.357515195 +0100
+@@ -312,7 +312,7 @@
+       printf( "%s\n\n", name_buffer );
+     if ( LookUp_Name( 7 ) )
+-      printf( name_buffer );
++      printf( "%s", name_buffer );
+     printf( "\n" );
+     separator_line( stdout, 78 );
index 01ddd912a73d9474300cdd4a13ba56d738b35169..5401073483891cf68d5bd45ef311957ca0f8c720 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Truetype font rasterizer
 Summary(pl.UTF-8):     Rasteryzer fontów Truetype
 Name:          freetype1
 Version:       1.3.1
-Release:       14
+Release:       15
 License:       BSD-like
 Group:         Libraries
 Source0:       ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
@@ -19,6 +19,7 @@ Patch2:               %{name}-po.patch
 Patch3:                freetype-gcc33.patch
 Patch4:                %{name}-parallel-make.patch
 Patch5:                %{name}-link.patch
+Patch6:                format-security.patch
 URL:           http://freetype.sourceforge.net/freetype1/index.html
 BuildRequires: autoconf
 BuildRequires: automake
@@ -123,6 +124,7 @@ Przykładowe aplikacje wykorzystujące freetype:
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 install /usr/share/automake/missing .
This page took 0.069576 seconds and 4 git commands to generate.