monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] org.debian.monotone: d6ab82e51b3bfc99e374c0948c


From: code
Subject: [Monotone-commits-diffs] org.debian.monotone: d6ab82e51b3bfc99e374c0948c30b9cc3add62c7
Date: Mon, 11 Mar 2013 21:54:47 +0100 (CET)

revision:            d6ab82e51b3bfc99e374c0948c30b9cc3add62c7
date:                2012-03-25T23:08:18
author:              Francis Russell <address@hidden>
branch:              org.debian.monotone
changelog:
Backport fix for building with hardened Debian build flags.

manifest:
format_version "1"

new_manifest [447bd19a7e77e6699792f165aacb6f47c2d4d5df]

old_revision [b65635e4886efc1c1d4a3220dc584a92035ef8e8]

add_file "patches/01-format-security.diff"
 content [b6d7977352114f5705a9ec03a12d27a9b3bb2a2c]

patch "changelog"
 from [7ca9797f1610c83f23b397e76201186adf696158]
   to [26a281aa2abf269ff2690db0829b14f51da411d9]

patch "patches/series"
 from [5f57dab14175a63eba8cb81fd233a5e0b1b3c43e]
   to [5e8dcc51f98f52976bffec535c557bf30f11d89c]
============================================================
--- changelog	7ca9797f1610c83f23b397e76201186adf696158
+++ changelog	26a281aa2abf269ff2690db0829b14f51da411d9
@@ -7,8 +7,10 @@ monotone (1.0-4) unstable; urgency=low
   * Switch to debhelper compatibility level 9. Most importantly, this
     causes dh_auto_* to set the environment variables listed by
     dpkg-buildflags that are no longer set by dpkg-buildpackage. 
+  * patches/01-format-security.diff: Backport upstream fix for building 
+    with hardened Debian build flags. Closes: #646349. 
 
- -- Francis Russell <address@hidden>  Sun, 25 Mar 2012 23:47:13 +0100
+ -- Francis Russell <address@hidden>  Sun, 25 Mar 2012 23:56:36 +0100
 
 monotone (1.0-3.1) unstable; urgency=low
 
============================================================
--- /dev/null	
+++ patches/01-format-security.diff	b6d7977352114f5705a9ec03a12d27a9b3bb2a2c
@@ -0,0 +1,17 @@
+Description: Enable monotone to build with the -Werror=format-security
+ flag.
+Bug-Debian: http://bugs.debian.org/646349
+Origin: upstream, commit: e3bb68c53c351f411ea4505400c16c8d9f252013
+Index: monotone-1.0/src/cmd.cc
+===================================================================
+--- monotone-1.0.orig/src/cmd.cc	2011-03-26 06:40:58.000000000 +0000
++++ monotone-1.0/src/cmd.cc	2012-03-25 23:53:18.251488351 +0100
+@@ -974,7 +974,7 @@
+     F("could not execute man page formatter command '%s': %s")
+       % cmd % strerror(errno));
+ 
+-  fprintf(fp, ss.str().c_str());
++  fputs(ss.str().c_str(), fp);
+   pclose(fp);
+ }
+ 
============================================================
--- patches/series	5f57dab14175a63eba8cb81fd233a5e0b1b3c43e
+++ patches/series	5e8dcc51f98f52976bffec535c557bf30f11d89c
@@ -1,3 +1,4 @@ 00-db-extension-bash-completion.diff
 00-db-extension-bash-completion.diff
+01-format-security.diff
 10-mtn-ignore-syntax-error-test.diff
 90-stacktrace-on-crash.diff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]