tags 455186 + patch
thanks

Hi,

Attached is the diff for my necpp 1.2.6+cvs20070816-1.1 NMU.
diff -u necpp-1.2.6+cvs20070816/debian/changelog necpp-1.2.6+cvs20070816/debian/changelog
--- necpp-1.2.6+cvs20070816/debian/changelog
+++ necpp-1.2.6+cvs20070816/debian/changelog
@@ -1,3 +1,10 @@
+necpp (1.2.6+cvs20070816-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 4.3 (Closes: #455186).
+
+ -- Luk Claes <[EMAIL PROTECTED]>  Sat, 22 Mar 2008 08:18:08 +0000
+
 necpp (1.2.6+cvs20070816-1) unstable; urgency=low
 
   * New release.
only in patch2:
unchanged:
--- necpp-1.2.6+cvs20070816.orig/Python/PyNEC/wrap/src/c_ggrid.cpp
+++ necpp-1.2.6+cvs20070816/Python/PyNEC/wrap/src/c_ggrid.cpp
@@ -49,8 +49,8 @@
 	/* as previous point, old values are reused. */
 	if( (ix < ixeg) ||
 		(iy < iyeg) ||
-		(abs(ix- ixs) >= 2) ||
-		(abs(iy- iys) >= 2) ||
+		(abs(double(ix- ixs)) >= 2) ||
+		(abs(double(iy- iys)) >= 2) ||
 		(skip_recalculation == false) )
 	{
 		/* determine correct grid and grid region */
only in patch2:
unchanged:
--- necpp-1.2.6+cvs20070816.orig/Python/PyNEC/wrap/src/safe_array.h
+++ necpp-1.2.6+cvs20070816/Python/PyNEC/wrap/src/safe_array.h
@@ -21,6 +21,7 @@
 #include <iostream>
 #include <string>
 #include <sstream>
+#include <cstring>
 
 #ifdef NEC_ERROR_CHECK
 
only in patch2:
unchanged:
--- necpp-1.2.6+cvs20070816.orig/Python/PyNEC/wrap/src/c_geometry.cpp
+++ necpp-1.2.6+cvs20070816/Python/PyNEC/wrap/src/c_geometry.cpp
@@ -17,7 +17,7 @@
 	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 #include "c_geometry.h"
-
+#include <cstdlib>
 #include "nec_context.h"
 #include "nec_exception.h"
 
only in patch2:
unchanged:
--- necpp-1.2.6+cvs20070816.orig/src/safe_array.h
+++ necpp-1.2.6+cvs20070816/src/safe_array.h
@@ -21,6 +21,7 @@
 #include <iostream>
 #include <string>
 #include <sstream>
+#include <cstring>
 
 #ifdef NEC_ERROR_CHECK
 

Reply via email to