[qflow] 01/01: Improved patch for compile error

Ruben Undheim rubund-guest at moszumanska.debian.org
Sun Jul 26 11:44:44 UTC 2015


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

rubund-guest pushed a commit to branch master
in repository qflow.

commit 305db487fa74ed26601fec126050ec24b7763e85
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Jul 26 13:44:31 2015 +0200

    Improved patch for compile error
---
 debian/patches/02_fix_compile_error.patch | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/patches/02_fix_compile_error.patch b/debian/patches/02_fix_compile_error.patch
index b694ebf..4d716b4 100644
--- a/debian/patches/02_fix_compile_error.patch
+++ b/debian/patches/02_fix_compile_error.patch
@@ -1,16 +1,17 @@
-Description: Fixes a line causing compile trouble
+Description: Fixes a line causing compile trouble when compiled with
+ -Werror=format-security
 Author: Ruben Undheim <ruben.undheim at gmail.com>
-Last-Update: 2015-07-24
+Last-Update: 2015-07-26
 Index: qflow/src/blif2BSpice.c
 ===================================================================
---- qflow.orig/src/blif2BSpice.c	2014-10-16 22:33:12.551197757 +0200
-+++ qflow/src/blif2BSpice.c	2014-10-16 22:47:28.079192282 +0200
+--- qflow.orig/src/blif2BSpice.c	2015-07-26 13:42:14.692390030 +0200
++++ qflow/src/blif2BSpice.c	2015-07-26 13:42:53.848013309 +0200
 @@ -396,7 +396,7 @@
  	               CleanupString(InstancePortName);
  		       for (tport = tsub->ports; tport; tport = tport->next) {
  			  if (!strcmp(tport->name, InstancePortName)) {
 -			     sprintf(tport->signal, InstancePortWire);
-+			     //sprintf(tport->signal, InstancePortWire);
++			     sprintf(tport->signal, "%s", InstancePortWire);
  			     break;
  			  }
  		       }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qflow.git



More information about the debian-science-commits mailing list