Hi,

Attached is the diff for my lmms 0.3.1-1.1 NMU.
diff -u lmms-0.3.1/debian/patches/00list lmms-0.3.1/debian/patches/00list
--- lmms-0.3.1/debian/patches/00list
+++ lmms-0.3.1/debian/patches/00list
@@ -2,0 +3 @@
+g++-4.3.dpatch
diff -u lmms-0.3.1/debian/changelog lmms-0.3.1/debian/changelog
--- lmms-0.3.1/debian/changelog
+++ lmms-0.3.1/debian/changelog
@@ -1,3 +1,10 @@
+lmms (0.3.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add g++-4.3.patch to fix g++-4.3 FTBFS (Closes: 462202).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Sun, 16 Mar 2008 23:21:56 +0000
+
 lmms (0.3.1-1) unstable; urgency=low
 
   * Packaging new upstream release.
only in patch2:
unchanged:
--- lmms-0.3.1.orig/debian/patches/g++-4.3.dpatch
+++ lmms-0.3.1/debian/patches/g++-4.3.dpatch
@@ -0,0 +1,96 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Upstream menu file is outdated.. we use our own.
+
[EMAIL PROTECTED]@
+diff --git a/plugins/ladspa_base/ladspa_manager.cpp 
b/plugins/ladspa_base/ladspa_manager.cpp
+index 273ac2b..6ff624e 100644
+--- a/plugins/ladspa_base/ladspa_manager.cpp
++++ b/plugins/ladspa_base/ladspa_manager.cpp
+@@ -44,6 +44,7 @@
+ 
+ 
+ #include <math.h>
++#include <cstdlib>
+ 
+ #include "config_mgr.h"
+ #include "ladspa_manager.h"
+diff --git a/plugins/ladspa_effect/ladspa_effect.cpp 
b/plugins/ladspa_effect/ladspa_effect.cpp
+index 9f16eef..e6643be 100644
+--- a/plugins/ladspa_effect/ladspa_effect.cpp
++++ b/plugins/ladspa_effect/ladspa_effect.cpp
+@@ -37,6 +37,7 @@
+ #endif
+ 
+ 
++#include <cstdlib>
+ #include "ladspa_effect.h"
+ #include "mixer.h"
+ #include "config_mgr.h"
+diff --git a/src/core/arp_and_chords_tab_widget.cpp 
b/src/core/arp_and_chords_tab_widget.cpp
+index 1fdb36b..c98d517 100644
+--- a/src/core/arp_and_chords_tab_widget.cpp
++++ b/src/core/arp_and_chords_tab_widget.cpp
+@@ -42,6 +42,7 @@
+ #endif
+ 
+ 
++#include <cstdlib>
+ #include "arp_and_chords_tab_widget.h"
+ #include "combobox.h"
+ #include "embed.h"
+diff --git a/src/core/export_project_dialog.cpp 
b/src/core/export_project_dialog.cpp
+index cf3dae6..711e940 100644
+--- a/src/core/export_project_dialog.cpp
++++ b/src/core/export_project_dialog.cpp
+@@ -49,6 +49,7 @@
+ #endif
+ 
+ 
++#include <cstdlib>
+ #include "export_project_dialog.h"
+ #include "song_editor.h"
+ #include "main_window.h"
+diff --git a/src/core/main_window.cpp b/src/core/main_window.cpp
+index a2058c0..69b36ec 100644
+--- a/src/core/main_window.cpp
++++ b/src/core/main_window.cpp
+@@ -62,6 +62,7 @@
+ #endif
+ 
+ 
++#include <cstdlib>
+ #include "main_window.h"
+ #include "bb_editor.h"
+ #include "song_editor.h"
+diff --git a/src/lib/drumsynth.cpp b/src/lib/drumsynth.cpp
+index e33e2a1..d7186f0 100644
+--- a/src/lib/drumsynth.cpp
++++ b/src/lib/drumsynth.cpp
+@@ -10,10 +10,12 @@
+ 
+ #include <fstream>
+ #include <string>
++#include <cstring>
++#include <cstdlib>
++#include <limits>
+ 
+ #include <math.h>     //sin(), exp(), etc.
+ #include <stdio.h>    //sscanf(), sprintf()
+-#include <stdlib.h>   //RAND_MAX
+ 
+ using namespace std;
+ 
+diff --git a/src/tracks/instrument_track.cpp b/src/tracks/instrument_track.cpp
+index 1e73191..d41b77f 100644
+--- a/src/tracks/instrument_track.cpp
++++ b/src/tracks/instrument_track.cpp
+@@ -60,6 +60,7 @@
+ #endif
+ 
+ 
++#include "automatable_object_templates.h"
+ #include "instrument_track.h"
+ #include "arp_and_chords_tab_widget.h"
+ #include "audio_port.h"

Reply via email to