Hi,

The attached file is the diff for my pcmanx-gtk2 0.3.7-2.1 NMU. The
changelog entry contains:

 pcmanx-gtk2 (0.3.7-2.1) unstable; urgency=medium

   * Non-maintainer upload.
   * gcc_4.3.dpatch: Fix FTBFS with GCC 4.3 (Closes: #474821)


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -u pcmanx-gtk2-0.3.7/debian/patches/00list 
pcmanx-gtk2-0.3.7/debian/patches/00list
--- pcmanx-gtk2-0.3.7/debian/patches/00list
+++ pcmanx-gtk2-0.3.7/debian/patches/00list
@@ -3,0 +4 @@
+gcc_4.3.dpatch
diff -u pcmanx-gtk2-0.3.7/debian/changelog pcmanx-gtk2-0.3.7/debian/changelog
--- pcmanx-gtk2-0.3.7/debian/changelog
+++ pcmanx-gtk2-0.3.7/debian/changelog
@@ -1,3 +1,10 @@
+pcmanx-gtk2 (0.3.7-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * gcc_4.3.dpatch: Fix FTBFS with GCC 4.3 (Closes: #474821)
+
+ -- Chris Lamb <[EMAIL PROTECTED]>  Sat, 12 Apr 2008 00:24:16 +0100
+
 pcmanx-gtk2 (0.3.7-2) unstable; urgency=low
 
   * watch file updated, upstream now using .bz2 instead of .gz.
only in patch2:
unchanged:
--- pcmanx-gtk2-0.3.7.orig/debian/patches/gcc_4.3.dpatch
+++ pcmanx-gtk2-0.3.7/debian/patches/gcc_4.3.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## gcc_4.3.dpatch by Chris Lamb <[EMAIL PROTECTED]>
+
+## DP: Fix FTBFS with GCC 4.3
+
[EMAIL PROTECTED]@
+diff -urNad pcmanx-gtk2-0.3.7.orig/src/emoticondlg.cpp 
pcmanx-gtk2-0.3.7/src/emoticondlg.cpp
+--- pcmanx-gtk2-0.3.7.orig/src/emoticondlg.cpp 2008-04-10 02:35:48.000000000 
+0100
++++ pcmanx-gtk2-0.3.7/src/emoticondlg.cpp      2008-04-10 02:37:21.000000000 
+0100
+@@ -18,6 +18,8 @@
+ #include "inputdialog.h"
+ #include "appconfig.h"
+ 
++#include <cstring>
++
+ static const char emoticon_file_name[] = "emoticons";
+ 
+ CEmoticonDlg::CEmoticonDlg(CWidget* parent) : m_IsModified(false)
+diff -urNad pcmanx-gtk2-0.3.7.orig/src/view/telnetview.cpp 
pcmanx-gtk2-0.3.7/src/view/telnetview.cpp
+--- pcmanx-gtk2-0.3.7.orig/src/view/telnetview.cpp     2008-04-10 
02:35:48.000000000 +0100
++++ pcmanx-gtk2-0.3.7/src/view/telnetview.cpp  2008-04-10 02:36:05.000000000 
+0100
+@@ -23,6 +23,7 @@
+ #include <glib/gi18n.h>
+ 
+ #include <string.h>
++#include <algorithm>
+ 
+ #include <gdk/gdkkeysyms.h>
+ #include <ctype.h>

Attachment: signature.asc
Description: PGP signature

Reply via email to