[hdf5] 14/26: Drop patch format-not-a-string-literal-and-no-format-arguments.patch

Gilles Filippini pini at debian.org
Sun Jan 24 15:33:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to branch master-1.10
in repository hdf5.

commit 24c238839f76d9a1543a508ba9f60423ccbff249
Author: Gilles Filippini <pini at debian.org>
Date:   Sat Jan 23 22:16:56 2016 +0100

    Drop patch format-not-a-string-literal-and-no-format-arguments.patch
    
    Fixed upstream.
---
 ...-a-string-literal-and-no-format-arguments.patch | 26 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 27 deletions(-)

diff --git a/debian/patches/format-not-a-string-literal-and-no-format-arguments.patch b/debian/patches/format-not-a-string-literal-and-no-format-arguments.patch
deleted file mode 100644
index cb0234b..0000000
--- a/debian/patches/format-not-a-string-literal-and-no-format-arguments.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: fix a couple of "format not a string literal and no format
- arguments" errors due to hardening with gcc compilation flag
- "-Werror=format-security".
-Author: Gilles Filippini <pini at debian.org>
-Index: hdf5/test/error_test.c
-===================================================================
---- hdf5.orig/test/error_test.c
-+++ hdf5/test/error_test.c
-@@ -498,7 +498,7 @@ test_create(void)
-     if(err_num != 0) TEST_ERROR
- 
-     /* Push an error with a long description */
--    if(H5Epush(estack_id, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, err_msg) < 0) TEST_ERROR;
-+    if(H5Epush(estack_id, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, "%s", err_msg) < 0) TEST_ERROR;
- 
-     /* Check the number of errors on stack */
-     err_num = H5Eget_num(estack_id);
-@@ -543,7 +543,7 @@ test_copy(void)
-     herr_t      ret;                 /* Generic return value */
- 
-     /* Push an error with a long description */
--    if(H5Epush(H5E_DEFAULT, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, err_msg) < 0) TEST_ERROR;
-+    if(H5Epush(H5E_DEFAULT, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, "%s", err_msg) < 0) TEST_ERROR;
- 
-     /* Check the number of errors on stack */
-     err_num = H5Eget_num(H5E_DEFAULT);
diff --git a/debian/patches/series b/debian/patches/series
index 2f4fbd6..5aac23c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,5 +2,4 @@ flavor-configure-option.patch
 path_max.diff
 ullong_force.diff
 relax-version-check.patch
-format-not-a-string-literal-and-no-format-arguments.patch
 hurd-sigsetjmp.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf5.git



More information about the Pkg-grass-devel mailing list