diff -u nttcp-1.47/debian/control nttcp-1.47/debian/control --- nttcp-1.47/debian/control +++ nttcp-1.47/debian/control @@ -1,7 +1,8 @@ Source: nttcp Section: non-free/net Priority: extra -Maintainer: Taku YASUI +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Taku YASUI Build-Depends: debhelper (>= 5.0.0), cdbs Standards-Version: 3.8.1 diff -u nttcp-1.47/debian/rules nttcp-1.47/debian/rules --- nttcp-1.47/debian/rules +++ nttcp-1.47/debian/rules @@ -3,6 +3,7 @@ # This file is public domain. include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/class/makefile.mk ARCH = "" diff -u nttcp-1.47/debian/changelog nttcp-1.47/debian/changelog --- nttcp-1.47/debian/changelog +++ nttcp-1.47/debian/changelog @@ -1,3 +1,9 @@ +nttcp (1.47-12ubuntu1) precise; urgency=low + + * Add format-security.diff to resolve FTBFS. + + -- Daniel T Chen Mon, 30 Jan 2012 23:44:16 -0500 + nttcp (1.47-12) unstable; urgency=low * New Standards-Version: 3.8.1 only in patch2: unchanged: --- nttcp-1.47.orig/debian/patches/format-security.diff +++ nttcp-1.47/debian/patches/format-security.diff @@ -0,0 +1,12 @@ +diff -Nur -x '*.orig' -x '*~' nttcp-1.47/nttcp.c nttcp-1.47.new/nttcp.c +--- nttcp-1.47/nttcp.c 2000-12-18 05:16:54.000000000 -0500 ++++ nttcp-1.47.new/nttcp.c 2012-01-30 23:44:02.260501225 -0500 +@@ -372,7 +372,7 @@ + #define Message(x) fMessage(stdout, x) + + void Exit(char *s, int ret) { +- syslog(LOG_DEBUG, s); ++ syslog(LOG_DEBUG, "%s", s); + fMessage(stderr,s); + exit(ret); + }