tags 643411 patch
thanks

Attaching a patch that fixes the build failure.

diff -Nru italc-1.0.13/debian/patches/fix-format-string.patch italc-1.0.13/debian/patches/fix-format-string.patch
--- italc-1.0.13/debian/patches/fix-format-string.patch	1970-01-01 01:00:00.000000000 +0100
+++ italc-1.0.13/debian/patches/fix-format-string.patch	2011-11-27 13:35:45.000000000 +0100
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with -Werror=format-security.
+Author: Felix Geyer <debfx-...@fobos.de>
+
+--- italc-1.0.13.orig/ima/src/classroom_manager.cpp
++++ italc-1.0.13/ima/src/classroom_manager.cpp
+@@ -428,7 +428,7 @@
+ 	QString xml = "<?xml version=\"1.0\"?>\n" + doc.toString( 2 );
+ 	if( MainWindow::ensureConfigPathExists() == FALSE )
+ 	{
+-		qWarning( QString( "Could not read/write or create directory "
++		qWarning( "%s", QString( "Could not read/write or create directory "
+ 					"%1! For running iTALC, make sure you "
+ 					"have write-access to your home-"
+ 					"directory and to %1 (if already "
diff -Nru italc-1.0.13/debian/patches/series italc-1.0.13/debian/patches/series
--- italc-1.0.13/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ italc-1.0.13/debian/patches/series	2011-11-27 13:34:35.000000000 +0100
@@ -0,0 +1 @@
+fix-format-string.patch
diff -Nru italc-1.0.13/debian/rules italc-1.0.13/debian/rules
--- italc-1.0.13/debian/rules	2011-02-11 14:50:33.000000000 +0100
+++ italc-1.0.13/debian/rules	2011-11-27 13:38:04.000000000 +0100
@@ -2,7 +2,6 @@
   
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_DH_INSTALL_SOURCEDIR = debian/tmp
 CPPFLAGS += -I/usr/X11R6/include

Reply via email to