summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/gspeakers/files')
-rw-r--r--sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch50
-rw-r--r--sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch117
2 files changed, 167 insertions, 0 deletions
diff --git a/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch b/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch
new file mode 100644
index 000000000000..47576fd9a23d
--- /dev/null
+++ b/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch
@@ -0,0 +1,50 @@
+--- gspeakers-0.11-orig/src/filterlinkframe.cc
++++ gspeakers-0.11/src/filterlinkframe.cc
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+ #include <fstream>
+ #include <sstream>
++#include <cstring>
+ #include "filterlinkframe.h"
+ #include "gspeakersplot.h"
+ #include "common.h"
+--- gspeakers-0.11-orig/src/freqrespeditor.cc
++++ gspeakers-0.11/src/freqrespeditor.cc
+@@ -20,6 +20,7 @@
+ #include "freqrespeditor.h"
+ #include <fstream>
+ #include <stdio.h>
++#include <cstring>
+ #include <gtkmm/stock.h>
+ #include <gtkmm/frame.h>
+ #include <gtkmm/messagedialog.h>
+--- gspeakers-0.11-orig/src/popupentry.cc
++++ gspeakers-0.11/src/popupentry.cc
+@@ -26,6 +26,7 @@
+ #include <gtkmm.h>
+ #include <gtk/gtkentry.h> /* see XXX below */
+ #include <iostream>
++#include <cstring>
+
+ using namespace std;
+
+--- gspeakers-0.11-orig/src/speakereditor.cc
++++ gspeakers-0.11/src/speakereditor.cc
+@@ -18,6 +18,7 @@
+ */
+
+ #include <fstream>
++#include <cstring>
+ #include <math.h>
+ #include "speakereditor.h"
+ #include "common.h"
+--- gspeakers-0.11-orig/src/summedfreqrespplot.cc
++++ gspeakers-0.11/src/summedfreqrespplot.cc
+@@ -20,6 +20,7 @@
+ */
+
+ #include <fstream>
++#include <cstring>
+ #include <math.h>
+ #include "summedfreqrespplot.h"
+ #include "net.h"
diff --git a/sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch b/sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch
new file mode 100644
index 000000000000..344527abbeeb
--- /dev/null
+++ b/sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch
@@ -0,0 +1,117 @@
+Index: gspeakers-0.11/src/box.cc
+===================================================================
+--- gspeakers-0.11.orig/src/box.cc
++++ gspeakers-0.11/src/box.cc
+@@ -17,7 +17,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include <sstream>
+ #include "box.h"
+ #include "common.h"
+Index: gspeakers-0.11/src/boxlist.cc
+===================================================================
+--- gspeakers-0.11.orig/src/boxlist.cc
++++ gspeakers-0.11/src/boxlist.cc
+@@ -17,7 +17,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include "boxlist.h"
+ #include "common.h"
+
+Index: gspeakers-0.11/src/cellitemcrossover.h
+===================================================================
+--- gspeakers-0.11.orig/src/cellitemcrossover.h
++++ gspeakers-0.11/src/cellitemcrossover.h
+@@ -22,7 +22,7 @@
+ #define __GSPEAKERS_CELLITEM_CROSSOVER
+
+ #include <glibmm/ustring.h>
+-#include <glib/gstring.h>
++#include <glib.h>
+ #include <vector>
+ #include "part.h"
+
+Index: gspeakers-0.11/src/crossover.cc
+===================================================================
+--- gspeakers-0.11.orig/src/crossover.cc
++++ gspeakers-0.11/src/crossover.cc
+@@ -15,7 +15,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include <sstream>
+ #include "crossover.h"
+
+Index: gspeakers-0.11/src/crossoverlist.cc
+===================================================================
+--- gspeakers-0.11.orig/src/crossoverlist.cc
++++ gspeakers-0.11/src/crossoverlist.cc
+@@ -15,7 +15,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include "crossoverlist.h"
+
+ CrossoverList::CrossoverList()
+Index: gspeakers-0.11/src/net.cc
+===================================================================
+--- gspeakers-0.11.orig/src/net.cc
++++ gspeakers-0.11/src/net.cc
+@@ -17,7 +17,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include <sstream>
+ #include <fstream>
+ #include "net.h"
+Index: gspeakers-0.11/src/part.cc
+===================================================================
+--- gspeakers-0.11.orig/src/part.cc
++++ gspeakers-0.11/src/part.cc
+@@ -21,7 +21,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <stdlib.h>
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+
+ using namespace sigc;
+ using namespace std;
+Index: gspeakers-0.11/src/speaker.cc
+===================================================================
+--- gspeakers-0.11.orig/src/speaker.cc
++++ gspeakers-0.11/src/speaker.cc
+@@ -15,7 +15,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include <sstream>
+ #include "speaker.h"
+ #include "common.h"
+Index: gspeakers-0.11/src/speakerlist.cc
+===================================================================
+--- gspeakers-0.11.orig/src/speakerlist.cc
++++ gspeakers-0.11/src/speakerlist.cc
+@@ -15,7 +15,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include "speakerlist.h"
+ #include "common.h"
+