[Pkg-octave-commit] [SCM] Debian packaging for dynare branch, master, updated. debian/4.2.2-1-3-gbe1752e

Sébastien Villemot sebastien.villemot at ens.fr
Mon Nov 7 21:07:47 UTC 2011


The following commit has been merged in the master branch:
commit d99e27eb055358e931fb183914ba448d3840feb9
Author: Sébastien Villemot <sebastien.villemot at ens.fr>
Date:   Mon Nov 7 15:59:54 2011 +0100

    debian/patches/hardening-ftbfs: patch for FTBFS with -Werror=format-security
    
    Closes: #646258

diff --git a/debian/patches/hardening-ftbfs b/debian/patches/hardening-ftbfs
new file mode 100644
index 0000000..b19be99
--- /dev/null
+++ b/debian/patches/hardening-ftbfs
@@ -0,0 +1,18 @@
+Description: Fix FTBFS with -Werror=format-security
+Origin: upstream, commit: 288983a3f9b27378b8ae2ea5e920d0f8d227a947
+Bug-Debian: http://bugs.debian.org/646258
+Last-Updated: 2011-11-07
+Applied-Upstream: 4.2.3
+diff --git a/dynare++/sylv/cc/SylvException.cpp b/dynare++/sylv/cc/SylvException.cpp
+index 4671ef8..4320613 100644
+--- a/dynare++/sylv/cc/SylvException.cpp
++++ b/dynare++/sylv/cc/SylvException.cpp
+@@ -26,7 +26,7 @@ void SylvException::printMessage() const
+ 	char mes[1500];
+ 	mes[0] = '\0';
+ 	printMessage(mes, 1499);
+-	printf(mes);
++	puts(mes);
+ }
+ 
+ int SylvException::printMessage(char* str, int maxlen) const
diff --git a/debian/patches/series b/debian/patches/series
index 944e12e..80f5523 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 extra-addpath
 fhs-compliance
+hardening-ftbfs

-- 
Debian packaging for dynare



More information about the Pkg-octave-commit mailing list