commit f7517f3a7c4d05f321c7cbd16a3cc5f3138ae7b4
Author: Jan Rękorajski <[email protected]>
Date:   Thu Dec 13 12:58:05 2012 +0100

    - fix format string warning
    - rel 2

 format-security.patch | 11 +++++++++++
 piplib.spec           |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/piplib.spec b/piplib.spec
index 114ebdb..f4f7b4c 100644
--- a/piplib.spec
+++ b/piplib.spec
@@ -6,11 +6,12 @@ Summary:      Parametric Integer Programming library
 Summary(pl.UTF-8):     Biblioteka do parametrycznego programowania 
całkowitoliczbowego
 Name:          piplib
 Version:       1.4.0
-Release:       1
+Release:       2
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       
http://www.bastoul.net/cloog/pages/download/%{name}-%{version}.tar.gz
 # Source0-md5: f5d1c7d45c5c40c0d64fa7d6bb143740
+Patch0:                format-security.patch
 URL:           http://www.piplib.org/
 BuildRequires: autoconf >= 2.13
 BuildRequires: automake
@@ -84,6 +85,7 @@ Dokumentacja API biblioteki PIP.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..c0feec9
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- piplib-1.4.0/source/maind.c~       2009-07-21 10:52:26.000000000 +0200
++++ piplib-1.4.0/source/maind.c        2012-12-13 12:57:16.407350568 +0100
+@@ -133,7 +133,7 @@
+    }
+  }
+       
+- if(verbose >= 0) fprintf(stderr, version);
++ if(verbose >= 0) fprintf(stderr, "%s", version);
+  if(argc > p)
+  { if(strcmp(argv[p], "-z") == 0)
+    { simple = 1;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/piplib.git/commitdiff/f7517f3a7c4d05f321c7cbd16a3cc5f3138ae7b4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to