~ubuntu-branches/ubuntu/vivid/kxneur/vivid

« back to all changes in this revision

Viewing changes to debian/patches/01_fix_gcc43_ftbfs.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2008-04-29 13:19:38 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080429131938-p3q2zff1ljv6mtab
Tags: 0.8.0+svn20080310-2
Fix for FTBFS with gcc 4.3. Thanks Cyril Brulebois for patch.
(Closes: #454826, #477042.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 01_fix_gcc43_ftbfs.dpatch by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Fix FTBFS with gcc 4.3.
 
6
 
 
7
@DPATCH@
 
8
diff -urNad kxneur~/src/kxnlistbox.cpp kxneur/src/kxnlistbox.cpp
 
9
--- kxneur~/src/kxnlistbox.cpp  2008-03-15 20:11:52.000000000 +0300
 
10
+++ kxneur/src/kxnlistbox.cpp   2008-04-28 19:12:08.604557549 +0400
 
11
@@ -23,6 +23,8 @@
 
12
 #include <klocale.h>
 
13
 #include "kxnlistbox.h"
 
14
 
 
15
+#include <cstdlib>
 
16
+
 
17
 
 
18
 KXNListBox::KXNListBox(QWidget * parent, const char * name, WFlags f)
 
19
  : QListBox(parent, name, f)
 
20
diff -urNad kxneur~/src/main.cpp kxneur/src/main.cpp
 
21
--- kxneur~/src/main.cpp        2008-03-15 20:11:52.000000000 +0300
 
22
+++ kxneur/src/main.cpp 2008-04-28 19:12:08.604557549 +0400
 
23
@@ -25,6 +25,8 @@
 
24
 #include "kxneur.h"
 
25
 #include "kxnkeyboard.h"
 
26
 
 
27
+#include <cstdlib>
 
28
+
 
29
 static const char description[] =
 
30
     I18N_NOOP("KXNeur (KDE X Neural Switcher) is XNeur front-end for KDE ( http://xneur.ru ).\nThis version work with XNeur v.0.9.0 only");
 
31