rev 5996 - in kde-extras/kvpnc/trunk/debian: . patches

Mark Purcell msp at alioth.debian.org
Fri Apr 27 00:00:53 UTC 2007


Author: msp
Date: 2007-04-27 00:00:51 +0000 (Fri, 27 Apr 2007)
New Revision: 5996

Added:
   kde-extras/kvpnc/trunk/debian/patches/bug_417313_message_5.diff
Modified:
   kde-extras/kvpnc/trunk/debian/changelog
   kde-extras/kvpnc/trunk/debian/rules
Log:
* (NOT RELEASED YET) New upstream release
* Patch from Martin. Fixes FTBFS with GCC 4.3: missing #includes (Closes: #417313)

Modified: kde-extras/kvpnc/trunk/debian/changelog
===================================================================
--- kde-extras/kvpnc/trunk/debian/changelog	2007-04-27 00:00:10 UTC (rev 5995)
+++ kde-extras/kvpnc/trunk/debian/changelog	2007-04-27 00:00:51 UTC (rev 5996)
@@ -1,8 +1,9 @@
-kvpnc (0.8.8-3) UNRELEASED; urgency=low
+kvpnc (0.8.8.1-1) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  * (NOT RELEASED YET) New upstream release
+  * Patch from Martin. Fixes FTBFS with GCC 4.3: missing #includes (Closes: #417313)
 
- -- Mark Purcell <msp at debian.org>  Sat, 24 Mar 2007 20:11:45 +0000
+ -- Mark Purcell <msp at debian.org>  Fri, 27 Apr 2007 08:26:24 +1000
 
 kvpnc (0.8.8-2) unstable; urgency=low
 

Added: kde-extras/kvpnc/trunk/debian/patches/bug_417313_message_5.diff
===================================================================
--- kde-extras/kvpnc/trunk/debian/patches/bug_417313_message_5.diff	2007-04-27 00:00:10 UTC (rev 5995)
+++ kde-extras/kvpnc/trunk/debian/patches/bug_417313_message_5.diff	2007-04-27 00:00:51 UTC (rev 5996)
@@ -0,0 +1,70 @@
+From tbm at cyrius.com Mon Apr 02 10:15:18 2007
+Received: (at submit) by bugs.debian.org; 2 Apr 2007 10:15:18 +0000
+Return-path: <tbm at cyrius.com>
+Received: from sorrow.cyrius.com ([65.19.161.204])
+	by rietz.debian.org with esmtp (Exim 4.50)
+	id 1HYJTi-0001EY-E3
+	for submit at bugs.debian.org; Mon, 02 Apr 2007 10:09:34 +0000
+Received: by sorrow.cyrius.com (Postfix, from userid 10)
+	id 12CBB64D3D; Mon,  2 Apr 2007 10:09:34 +0000 (UTC)
+Received: by deprecation.cyrius.com (Postfix, from userid 1000)
+	id 9D7A754373; Mon,  2 Apr 2007 11:09:22 +0100 (BST)
+Date: Mon, 2 Apr 2007 11:09:22 +0100
+From: Martin Michlmayr <tbm at cyrius.com>
+To: submit at bugs.debian.org
+Subject: FTBFS with GCC 4.3: missing #includes
+Message-ID: <20070402100922.GY10714 at deprecation.cyrius.com>
+References: <20070331012136.6F963460DE at em64t.snowman.net>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+In-Reply-To: <20070331012136.6F963460DE at em64t.snowman.net>
+User-Agent: Mutt/1.5.13 (2006-08-11)
+Delivered-To: submit at bugs.debian.org
+X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
+	(1.212-2003-09-23-exp) on rietz.debian.org
+X-Spam-Level: 
+X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
+	autolearn=ham version=2.60-bugs.debian.org_2005_01_02
+
+Package: kvpnc
+Version: 0.8.8-2
+Usertags: ftbfs-gcc-4.3
+Tags: patch
+
+Your package fails to build with GCC 4.3.  Version 4.3 has not been
+released yet but I'm building with a snapshot in order to find errors
+and give people an advance warning.  In GCC 4.3, the C++ header
+dependencies have been cleaned up.  The advantage of this is that
+programs will compile faster.  The downside is that you actually
+need to directly #include everything you use (but you really should
+do this anyway, otherwise your program won't work with any compiler
+other than GCC).  Some background of this can be found at
+http://gcc.gnu.org/PR28080
+
+You can reproduce this problem with gcc-snapshot from unstable.
+
+> Automatic build of kvpnc_0.8.8-2 on em64t by sbuild/amd64 0.53
+...
+> /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' may alter its value
+> /build/tbm/kvpnc-0.8.8/./src/toolinfo.cpp: In member function 'bool ToolInfo::collectToolInfo()':
+> /build/tbm/kvpnc-0.8.8/./src/toolinfo.cpp:61: error: 'getenv' was not declared in this scope
+
+
+--- src/toolinfo.cpp~	2007-04-02 09:54:31.000000000 +0000
++++ src/toolinfo.cpp	2007-04-02 09:54:37.000000000 +0000
+@@ -20,6 +20,7 @@
+ 
+ #include "toolinfo.h"
+ #include <qfile.h>
++#include <cstdlib>
+ #include <iostream>
+ #include <klocale.h>
+ #include <kstandarddirs.h>
+
+-- 
+Martin Michlmayr
+http://www.cyrius.com/
+
+
+

Modified: kde-extras/kvpnc/trunk/debian/rules
===================================================================
--- kde-extras/kvpnc/trunk/debian/rules	2007-04-27 00:00:10 UTC (rev 5995)
+++ kde-extras/kvpnc/trunk/debian/rules	2007-04-27 00:00:51 UTC (rev 5996)
@@ -11,6 +11,9 @@
 
 DEB_INSTALL_MANPAGES_kvpnc := debian/kvpnc.1
 
+makebuilddir/kvpnc::
+	make distclean
+
 install/kvpnc::
 	# fix script-not-executable
 	chmod 0755 debian/kvpnc/usr/share/apps/kvpnc/ping_check.sh




More information about the pkg-kde-commits mailing list