tags 455613 + patch
thanks

Hi,

Attached is the diff for my exmap 0.10-2.1 NMU.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
diff -u exmap-0.10/debian/patches/gcc-4.3.dpatch exmap-0.10/debian/patches/gcc-4.3.dpatch
--- exmap-0.10/debian/patches/gcc-4.3.dpatch
+++ exmap-0.10/debian/patches/gcc-4.3.dpatch
@@ -5,9 +5,34 @@
 ## DP: Correctly build with gcc 4.3, see: #417179.
 
 @DPATCH@
+diff -urNad exmap-0.10~/jutil/Makefile exmap-0.10/jutil/Makefile
+--- exmap-0.10~/jutil/Makefile	2008-04-05 21:45:38.000000000 +0000
++++ exmap-0.10/jutil/Makefile	2008-04-05 21:46:09.000000000 +0000
+@@ -13,9 +13,9 @@
+ EXES += egtest
+ 
+ CXX=g++
+-CXXFLAGS=-Wall -Werror -g -I.
+ LD=g++
+ override LDFLAGS=-lpcre
++override CXXFLAGS+=-Wall -Werror -g -I.
+ 
+ build: $(LIBS) $(EXES)
+ 
+diff -urNad exmap-0.10~/jutil/jutil.cpp exmap-0.10/jutil/jutil.cpp
+--- exmap-0.10~/jutil/jutil.cpp	2008-04-05 21:45:30.000000000 +0000
++++ exmap-0.10/jutil/jutil.cpp	2008-04-05 21:45:38.000000000 +0000
+@@ -5,6 +5,7 @@
+ #include <unistd.h>
+ #include <limits.h>
+ #include <dirent.h>
++#include <cstring>
+ 
+ using namespace std;
+ using namespace jutil;
 diff -urNad exmap-0.10~/jutil/jutil.hpp exmap-0.10/jutil/jutil.hpp
---- exmap-0.10~/jutil/jutil.hpp	2006-09-28 16:52:25.000000000 +0000
-+++ exmap-0.10/jutil/jutil.hpp	2007-11-11 16:40:43.000000000 +0000
+--- exmap-0.10~/jutil/jutil.hpp	2008-04-05 21:45:30.000000000 +0000
++++ exmap-0.10/jutil/jutil.hpp	2008-04-05 21:45:38.000000000 +0000
 @@ -1,6 +1,7 @@
  #ifndef _JUTIL_H
  #define _JUTIL_H
@@ -18,0 +44,33 @@
+diff -urNad exmap-0.10~/src/Elf.cpp exmap-0.10/src/Elf.cpp
+--- exmap-0.10~/src/Elf.cpp	2008-04-05 21:45:30.000000000 +0000
++++ exmap-0.10/src/Elf.cpp	2008-04-05 21:45:38.000000000 +0000
+@@ -5,6 +5,7 @@
+ 
+ #include <sstream>
+ #include <unistd.h> // getpagesize()
++#include <cstring>
+ 
+ using namespace std;
+ using namespace jutil;
+diff -urNad exmap-0.10~/src/Elf.hpp exmap-0.10/src/Elf.hpp
+--- exmap-0.10~/src/Elf.hpp	2008-04-05 21:45:30.000000000 +0000
++++ exmap-0.10/src/Elf.hpp	2008-04-05 21:45:38.000000000 +0000
+@@ -7,6 +7,7 @@
+ #include <list>
+ #include <string>
+ #include <fstream>
++#include <cstring>
+ 
+ #include <elf.h>
+ 
+diff -urNad exmap-0.10~/src/exmtool.cpp exmap-0.10/src/exmtool.cpp
+--- exmap-0.10~/src/exmtool.cpp	2008-04-05 21:45:30.000000000 +0000
++++ exmap-0.10/src/exmtool.cpp	2008-04-05 21:45:38.000000000 +0000
+@@ -6,6 +6,7 @@
+ #include <sstream>
+ #include <iostream>
+ #include <vector>
++#include <cstring>
+ 
+ using namespace std;
+ using namespace Exmap;
diff -u exmap-0.10/debian/changelog exmap-0.10/debian/changelog
--- exmap-0.10/debian/changelog
+++ exmap-0.10/debian/changelog
@@ -1,3 +1,10 @@
+exmap (0.10-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc-4.3.  (Closes: #455613)
+
+ -- James Vega <[EMAIL PROTECTED]>  Sat, 05 Apr 2008 17:09:56 -0400
+
 exmap (0.10-2) unstable; urgency=low
 
   * Added a dependency in debhelper for exmap-modules-source, closes: #450826.

Attachment: signature.asc
Description: Digital signature

Reply via email to