Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 16 years ago
parent
commit
ec852eb010
15 changed files with 811 additions and 21 deletions
  1. +20
    -0
      package/base/cdrdao/hotfixes-gcc43.patch
  2. +10
    -0
      package/base/libcdio/hotfixes.patch
  3. +52
    -0
      package/base/libmusicbrainz/hotfixes-gcc43.patch
  4. +9
    -0
      package/base/libsigc++/hotfixes-gcc43.patch
  5. +195
    -0
      package/base/lshw/hotfixes-gcc43.patch
  6. +22
    -21
      package/base/openexr/openexr-gcc4.patch
  7. +42
    -0
      package/base/taglib/hotfixes-gcc43.patch
  8. +62
    -0
      package/base/tunepimp/hotfixes-gcc43.patch
  9. +11
    -0
      package/base/wv2/hotfixes-gcc43.patch
  10. +10
    -0
      package/gnome2/glibmm/hotfixes-gcc43.patch
  11. +8
    -0
      package/gnome2/gnome-2.conf
  12. +51
    -0
      package/gnome2/gtkmm/hotfixes-gcc43.patch
  13. +278
    -0
      package/kde/arts/hotfixes-gcc43.patch
  14. +31
    -0
      package/stf/wpa_supplicant/hotfixes-gcc43.patch
  15. +10
    -0
      package/x11/imagemagick/hotfixes-gcc43.patch

+ 20
- 0
package/base/cdrdao/hotfixes-gcc43.patch

@ -0,0 +1,20 @@
--- ./trackdb/FormatConverter.cc.orig 2008-06-10 20:04:58.000000000 +0200
+++ ./trackdb/FormatConverter.cc 2008-06-10 20:05:05.000000000 +0200
@@ -17,6 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <string.h>
#include <stdlib.h>
#ifdef HAVE_AO
#include <ao/ao.h>
--- ./trackdb/TempFileManager.cc.orig 2008-06-10 20:04:36.000000000 +0200
+++ ./trackdb/TempFileManager.cc 2008-06-10 20:04:42.000000000 +0200
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>

+ 10
- 0
package/base/libcdio/hotfixes.patch

@ -8,3 +8,13 @@
#include <cdio/sector.h>
#include <cdio/util.h>
--- ./include/cdio++/iso9660.hpp.orig 2008-06-10 19:16:08.000000000 +0200
+++ ./include/cdio++/iso9660.hpp 2008-06-10 19:16:17.000000000 +0200
@@ -30,6 +30,7 @@
#include <cdio/iso9660.h>
#include <cdio++/cdio.hpp>
#include <string.h>
+#include <stdlib.h>
#include <vector> // vector class library
using namespace std;

+ 52
- 0
package/base/libmusicbrainz/hotfixes-gcc43.patch

@ -0,0 +1,52 @@
--- ./lib/c_wrapper.cpp.orig 2008-06-10 19:48:14.000000000 +0200
+++ ./lib/c_wrapper.cpp 2008-06-10 19:48:22.000000000 +0200
@@ -25,6 +25,8 @@
#include "trm.h"
#include "mb_c.h"
+#include <string.h>
+
extern "C"
{
--- ./lib/comhttpsocket.cpp.orig 2008-06-10 19:48:55.000000000 +0200
+++ ./lib/comhttpsocket.cpp 2008-06-10 19:49:01.000000000 +0200
@@ -18,6 +18,7 @@
#include "../config.h"
#include "comsocket.h"
#endif
+#include <string.h>
#include <stdlib.h>
#include <assert.h>
--- ./lib/comsocket.cpp.orig 2008-06-10 19:49:13.000000000 +0200
+++ ./lib/comsocket.cpp 2008-06-10 19:49:19.000000000 +0200
@@ -37,6 +37,7 @@
#include <netinet/tcp.h>
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
--- ./lib/http.cpp.orig 2008-06-10 19:49:42.000000000 +0200
+++ ./lib/http.cpp 2008-06-10 19:49:49.000000000 +0200
@@ -23,6 +23,7 @@
----------------------------------------------------------------------------*/
#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
--- ./lib/sigclient.cpp.orig 2008-06-10 19:50:52.000000000 +0200
+++ ./lib/sigclient.cpp 2008-06-10 19:51:00.000000000 +0200
@@ -29,6 +29,8 @@
email : ijr@relatable.com
***************************************************************************/
+#include <string.h>
+
#ifdef WIN32
#pragma warning(disable:4786)
#endif

+ 9
- 0
package/base/libsigc++/hotfixes-gcc43.patch

@ -0,0 +1,9 @@
--- ./tests/test_copy_invalid_slot.cc.orig 2008-06-10 19:42:02.000000000 +0200
+++ ./tests/test_copy_invalid_slot.cc 2008-06-10 19:42:23.000000000 +0200
@@ -1,4 +1,6 @@
#include <iostream>
+#include <stdlib.h>
+#include <string.h>
#include <sigc++/sigc++.h>
void Foo(sigc::trackable &t) {}

+ 195
- 0
package/base/lshw/hotfixes-gcc43.patch

@ -0,0 +1,195 @@
--- ./src/core/cdrom.cc.orig 2008-06-10 19:59:22.000000000 +0200
+++ ./src/core/cdrom.cc 2008-06-10 19:59:53.000000000 +0200
@@ -15,6 +15,7 @@
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
+#include <limits.h>
#include <linux/cdrom.h>
static char *id = "@(#) $Id: cdrom.cc 1187 2005-10-13 21:33:55Z ezix $";
--- ./src/core/cpuid.cc.orig 2008-06-10 19:58:36.000000000 +0200
+++ ./src/core/cpuid.cc 2008-06-10 19:58:43.000000000 +0200
@@ -1,5 +1,6 @@
#include "cpuid.h"
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
--- ./src/core/cpuinfo.cc.orig 2008-06-10 19:57:29.000000000 +0200
+++ ./src/core/cpuinfo.cc 2008-06-10 19:57:35.000000000 +0200
@@ -5,6 +5,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <stdlib.h>
#include <vector>
static char *id =
--- ./src/core/device-tree.cc.orig 2008-06-10 19:56:48.000000000 +0200
+++ ./src/core/device-tree.cc 2008-06-10 19:56:58.000000000 +0200
@@ -15,6 +15,8 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
--- ./src/core/fb.cc.orig 2008-06-10 20:01:34.000000000 +0200
+++ ./src/core/fb.cc 2008-06-10 20:01:41.000000000 +0200
@@ -11,6 +11,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include <errno.h>
static char *id = "@(#) $Id: fb.cc 1187 2005-10-13 21:33:55Z ezix $";
--- ./src/core/hw.cc.orig 2008-06-10 19:55:35.000000000 +0200
+++ ./src/core/hw.cc 2008-06-10 19:55:40.000000000 +0200
@@ -7,6 +7,7 @@
#include <sstream>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
using namespace hw;
--- ./src/core/ide.cc.orig 2008-06-10 19:58:55.000000000 +0200
+++ ./src/core/ide.cc 2008-06-10 19:59:05.000000000 +0200
@@ -23,6 +23,8 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include <dirent.h>
#include <ctype.h>
#include <vector>
--- ./src/core/osutils.cc.orig 2008-06-10 19:57:51.000000000 +0200
+++ ./src/core/osutils.cc 2008-06-10 19:57:56.000000000 +0200
@@ -9,6 +9,7 @@
#include <regex.h>
#include <ctype.h>
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#ifndef MINOR
#include <linux/kdev_t.h>
--- ./src/core/parisc.cc.orig 2008-06-10 20:02:48.000000000 +0200
+++ ./src/core/parisc.cc 2008-06-10 20:02:55.000000000 +0200
@@ -16,6 +16,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
--- ./src/core/partitions.cc.orig 2008-06-10 20:03:07.000000000 +0200
+++ ./src/core/partitions.cc 2008-06-10 20:03:15.000000000 +0200
@@ -10,6 +10,7 @@
#include "partitions.h"
#include "osutils.h"
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
--- ./src/core/pci.cc.orig 2008-06-10 19:58:11.000000000 +0200
+++ ./src/core/pci.cc 2008-06-10 19:58:18.000000000 +0200
@@ -5,6 +5,8 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
static char *id = "@(#) $Id: pci.cc 1187 2005-10-13 21:33:55Z ezix $";
--- ./src/core/pcmcia.cc.orig 2008-06-10 20:00:06.000000000 +0200
+++ ./src/core/pcmcia.cc 2008-06-10 20:00:11.000000000 +0200
@@ -6,6 +6,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include <errno.h>
static char *id = "@(#) $Id: pcmcia.cc 1187 2005-10-13 21:33:55Z ezix $";
--- ./src/core/pnp.cc.orig 2008-06-10 20:01:16.000000000 +0200
+++ ./src/core/pnp.cc 2008-06-10 20:01:22.000000000 +0200
@@ -9,6 +9,7 @@
#include "pnp.h"
#include <string.h>
+#include <stdlib.h>
static const char *pnp_vendors[] = {
"ABP", "Advansys",
--- ./src/core/print.cc.orig 2008-06-10 19:56:09.000000000 +0200
+++ ./src/core/print.cc 2008-06-10 19:56:15.000000000 +0200
@@ -14,6 +14,7 @@
#include <iostream>
#include <iomanip>
#include <unistd.h>
+#include <string.h>
#include <stdio.h>
static char *id = "@(#) $Id: print.cc 1187 2005-10-13 21:33:55Z ezix $";
--- ./src/core/scsi.cc.orig 2008-06-10 20:00:27.000000000 +0200
+++ ./src/core/scsi.cc 2008-06-10 20:00:35.000000000 +0200
@@ -11,6 +11,8 @@
#include <unistd.h>
#include <dirent.h>
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include <scsi/sg.h>
#include <scsi/scsi.h>
#ifndef MKDEV
--- ./src/core/spd.cc.orig 2008-06-10 20:00:52.000000000 +0200
+++ ./src/core/spd.cc 2008-06-10 20:00:58.000000000 +0200
@@ -5,6 +5,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <string>
+#include <string.h>
#include <dirent.h>
#include <stdio.h>
--- ./src/core/sysfs.cc.orig 2008-06-10 20:02:26.000000000 +0200
+++ ./src/core/sysfs.cc 2008-06-10 20:02:33.000000000 +0200
@@ -8,6 +8,7 @@
#include "osutils.h"
#include <limits.h>
#include <unistd.h>
+#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <dirent.h>
--- ./src/core/usb.cc.orig 2008-06-10 20:01:55.000000000 +0200
+++ ./src/core/usb.cc 2008-06-10 20:02:12.000000000 +0200
@@ -17,6 +17,8 @@
#include <sys/ioctl.h>
#include <errno.h>
#include <fcntl.h>
+#include <string.h>
+#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
--- ./src/lshw.cc.orig 2008-06-10 20:03:36.000000000 +0200
+++ ./src/lshw.cc 2008-06-10 20:03:45.000000000 +0200
@@ -7,6 +7,8 @@
#include "config.h"
#include <unistd.h>
+#include <string.h>
+#include <stdlib.h>
#include <stdio.h>
#include <iostream>

+ 22
- 21
package/base/openexr/openexr-gcc4.patch

@ -1,24 +1,15 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/daja77/openexr/openexr-gcc4.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./exrmaketiled/Image.h.vanilla 2005-12-15 01:50:45.000000000 +0100
+++ ./exrmaketiled/Image.h 2005-12-15 01:51:33.000000000 +0100
--- ./exrenvmap/main.cpp.orig 2008-06-10 19:44:59.000000000 +0200
+++ ./exrenvmap/main.cpp 2008-06-10 19:45:05.000000000 +0200
@@ -45,6 +45,7 @@
#include <iostream>
#include <exception>
#include <stdlib.h>
+#include <string.h>
using namespace Imf;
using namespace std;
--- ./exrmaketiled/Image.h.orig 2004-06-04 06:11:23.000000000 +0200
+++ ./exrmaketiled/Image.h 2008-06-09 22:09:52.000000000 +0200
@@ -49,6 +49,7 @@
#include <string>
#include <map>
@ -27,3 +18,13 @@
class ImageChannel
{
--- ./exrmaketiled/main.cpp.orig 2008-06-10 19:44:16.000000000 +0200
+++ ./exrmaketiled/main.cpp 2008-06-10 19:44:25.000000000 +0200
@@ -46,6 +46,7 @@
#include <exception>
#include <string>
#include <stdlib.h>
+#include <string.h>
using namespace Imf;
using namespace std;

+ 42
- 0
package/base/taglib/hotfixes-gcc43.patch

@ -0,0 +1,42 @@
--- ./bindings/c/tag_c.cpp.orig 2008-06-10 19:26:34.000000000 +0200
+++ ./bindings/c/tag_c.cpp 2008-06-10 19:26:50.000000000 +0200
@@ -21,6 +21,8 @@
#include "tag_c.h"
+#include <string.h>
+
#include <fileref.h>
#include <tfile.h>
#include <vorbisfile.h>
--- ./taglib/toolkit/tbytevector.cpp.orig 2008-06-10 19:24:06.000000000 +0200
+++ ./taglib/toolkit/tbytevector.cpp 2008-06-10 19:24:14.000000000 +0200
@@ -20,6 +20,7 @@
***************************************************************************/
#include <iostream>
+#include <string.h>
#include <tstring.h>
#include <tdebug.h>
--- ./taglib/toolkit/tfile.cpp.orig 2008-06-10 19:24:28.000000000 +0200
+++ ./taglib/toolkit/tfile.cpp 2008-06-10 19:24:49.000000000 +0200
@@ -24,6 +24,8 @@
#include "tdebug.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
--- ./taglib/toolkit/tstring.cpp.orig 2008-06-10 19:23:21.000000000 +0200
+++ ./taglib/toolkit/tstring.cpp 2008-06-10 19:23:46.000000000 +0200
@@ -24,6 +24,7 @@
#include "tdebug.h"
#include <iostream>
+#include <string.h>
namespace TagLib {

+ 62
- 0
package/base/tunepimp/hotfixes-gcc43.patch

@ -0,0 +1,62 @@
--- ./include/tunepimp/metadata.h.orig 2008-06-11 09:02:44.000000000 +0200
+++ ./include/tunepimp/metadata.h 2008-06-11 09:02:50.000000000 +0200
@@ -28,6 +28,7 @@
#define __METADATA_H__
#include <string>
+#include <string.h>
#include <cstdio>
using namespace std;
--- ./lib/fileio.cpp.orig 2008-06-11 10:16:53.000000000 +0200
+++ ./lib/fileio.cpp 2008-06-11 10:17:02.000000000 +0200
@@ -28,6 +28,8 @@
#include <assert.h>
#include <errno.h>
#include <string>
+#include <string.h>
+#include <stdlib.h>
#ifndef WIN32
#include <unistd.h>
#endif
--- ./lib/metadata.cpp.orig 2008-06-11 10:02:13.000000000 +0200
+++ ./lib/metadata.cpp 2008-06-11 10:02:18.000000000 +0200
@@ -26,6 +26,7 @@
----------------------------------------------------------------------------*/
#include <math.h>
#include <stdio.h>
+#include <stdlib.h>
#include "metadata.h"
#include "../config.h"
--- ./lib/utf8/utf8util.cpp.orig 2008-06-11 09:01:28.000000000 +0200
+++ ./lib/utf8/utf8util.cpp 2008-06-11 09:01:43.000000000 +0200
@@ -26,6 +26,8 @@
----------------------------------------------------------------------------*/
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include "utf8util.h"
#include "utf8.h"
#ifdef WIN32
--- ./plugins/mp3/id3_2_3_meta.cpp.orig 2008-06-11 10:28:12.000000000 +0200
+++ ./plugins/mp3/id3_2_3_meta.cpp 2008-06-11 10:28:18.000000000 +0200
@@ -26,6 +26,7 @@
----------------------------------------------------------------------------*/
#include <stdio.h>
+#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
#include <musicbrainz/mb_c.h>
--- ./plugins/mp3/id3_meta.cpp.orig 2008-06-11 10:25:31.000000000 +0200
+++ ./plugins/mp3/id3_meta.cpp 2008-06-11 10:25:37.000000000 +0200
@@ -26,6 +26,7 @@
----------------------------------------------------------------------------*/
#include <stdio.h>
+#include <stdlib.h>
#include <time.h>
#include <ctype.h>
#include <musicbrainz/mb_c.h>

+ 11
- 0
package/base/wv2/hotfixes-gcc43.patch

@ -0,0 +1,11 @@
--- ./src/styles.cpp.orig 2008-06-11 00:18:48.000000000 +0200
+++ ./src/styles.cpp 2008-06-11 00:18:58.000000000 +0200
@@ -25,6 +25,8 @@
#include "wvlog.h"
#include <algorithm>
+#include <string.h>
+
namespace wvWare
{

+ 10
- 0
package/gnome2/glibmm/hotfixes-gcc43.patch

@ -0,0 +1,10 @@
--- ./glib/glibmm/object.cc.orig 2008-06-11 00:02:59.000000000 +0200
+++ ./glib/glibmm/object.cc 2008-06-11 00:03:07.000000000 +0200
@@ -27,6 +27,7 @@
#include <gobject/gvaluecollector.h>
#include <cstdarg>
+#include <string.h>
//Weak references:
//I'm not sure what the point of these are apart from being a hacky way out of circular references,

+ 8
- 0
package/gnome2/gnome-2.conf

@ -60,4 +60,12 @@ var_append extraconfopt " " "--disable-dependency-tracking"
. package/*/gstreamer/gstreamer-pkg.conf
. package/*/hicolor-icon-theme/hicolor-icon-theme-pkg.conf
# workaround for gnome headers vs. gcc43
case "$CC" in
gcc-4[3-9])
var_append CC_WRAPPER_INSERT " " "-fgnu89-inline"
;;
esac
splitreg 61 doc '/share/gtk-doc/'

+ 51
- 0
package/gnome2/gtkmm/hotfixes-gcc43.patch

@ -0,0 +1,51 @@
--- ./demos/gtk-demo/demowindow.cc.orig 2008-06-11 10:42:38.000000000 +0200
+++ ./demos/gtk-demo/demowindow.cc 2008-06-11 10:42:46.000000000 +0200
@@ -31,6 +31,7 @@
#include <cctype>
#include <cerrno>
#include <stdio.h>
+#include <string.h>
#ifdef NEED_FLOCKFILE_PROTO
extern "C" void flockfile (FILE *);
--- ./demos/gtk-demo/textwidget.cc.orig 2008-06-11 10:46:57.000000000 +0200
+++ ./demos/gtk-demo/textwidget.cc 2008-06-11 10:47:05.000000000 +0200
@@ -19,6 +19,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <string.h>
+
#include "textwidget.h"
#include "pangomm/fontdescription.h"
--- ./examples/book/custom/custom_widget/mywidget.cc.orig 2008-06-11 10:01:40.000000000 +0200
+++ ./examples/book/custom/custom_widget/mywidget.cc 2008-06-11 10:01:47.000000000 +0200
@@ -20,6 +20,7 @@
#include <gdkmm/drawable.h>
#include <gdkmm/general.h> // for cairo helper functions
#include <iostream>
+#include <string.h>
//#include <gtk/gtkwidget.h> //For GTK_IS_WIDGET()
--- ./gtk/gtkmm/scale.cc.orig 2008-06-11 08:51:18.000000000 +0200
+++ ./gtk/gtkmm/scale.cc 2008-06-11 08:51:25.000000000 +0200
@@ -31,6 +31,7 @@
#include <gtk/gtkscale.h>
#include <gtk/gtkhscale.h>
#include <gtk/gtkvscale.h>
+#include <string.h>
#include <math.h>
namespace Gtk
--- ./gtk/gtkmm/targetentry.cc.orig 2008-06-11 09:02:03.000000000 +0200
+++ ./gtk/gtkmm/targetentry.cc 2008-06-11 09:02:09.000000000 +0200
@@ -21,6 +21,7 @@
*/
#include <gtkmm/targetentry.h>
+#include <string.h>
namespace Gtk

+ 278
- 0
package/kde/arts/hotfixes-gcc43.patch

@ -0,0 +1,278 @@
--- ./artsc/artscbackend.cc.orig 2008-06-11 00:49:37.000000000 +0200
+++ ./artsc/artscbackend.cc 2008-06-11 00:49:44.000000000 +0200
@@ -31,6 +31,7 @@
#include <queue>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <math.h>
--- ./flow/audioio.cc.orig 2008-06-11 00:30:59.000000000 +0200
+++ ./flow/audioio.cc 2008-06-11 00:31:05.000000000 +0200
@@ -24,6 +24,7 @@
#include <map>
#include <list>
#include <assert.h>
+#include <string.h>
using namespace Arts;
using namespace std;
--- ./flow/audioionull.cc.orig 2008-06-11 00:32:06.000000000 +0200
+++ ./flow/audioionull.cc 2008-06-11 00:32:12.000000000 +0200
@@ -34,6 +34,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <iostream>
#include <algorithm>
--- ./flow/audioiooss.cc.orig 2008-06-11 00:31:27.000000000 +0200
+++ ./flow/audioiooss.cc 2008-06-11 00:31:37.000000000 +0200
@@ -51,6 +51,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <iostream>
#include <algorithm>
--- ./flow/audioioossthreaded.cc.orig 2008-06-11 00:41:40.000000000 +0200
+++ ./flow/audioioossthreaded.cc 2008-06-11 00:41:48.000000000 +0200
@@ -52,6 +52,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <iostream>
#include <algorithm>
--- ./flow/audiosubsys.cc.orig 2008-06-11 00:24:30.000000000 +0200
+++ ./flow/audiosubsys.cc 2008-06-11 00:24:39.000000000 +0200
@@ -41,6 +41,7 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <iostream>
--- ./flow/bytestreamtoaudio_impl.cc.orig 2008-06-11 00:28:31.000000000 +0200
+++ ./flow/bytestreamtoaudio_impl.cc 2008-06-11 00:28:39.000000000 +0200
@@ -24,6 +24,8 @@
#include "stdsynthmodule.h"
#include "resample.h"
+#include <string.h>
+
using namespace std;
using namespace Arts;
--- ./flow/datahandle_impl.cc.orig 2008-06-11 00:42:09.000000000 +0200
+++ ./flow/datahandle_impl.cc 2008-06-11 00:42:19.000000000 +0200
@@ -29,6 +29,8 @@
#include <algorithm>
#include <gslpp/datahandle.h>
+#include <string.h>
+
using namespace std;
namespace Arts {
--- ./flow/pipebuffer.cc.orig 2008-06-11 00:25:10.000000000 +0200
+++ ./flow/pipebuffer.cc 2008-06-11 00:25:16.000000000 +0200
@@ -22,6 +22,7 @@
#include "pipebuffer.h"
#include <assert.h>
+#include <string.h>
using namespace std;
using namespace Arts;
--- ./flow/stereovolumecontrol_impl.cc.orig 2008-06-11 00:29:16.000000000 +0200
+++ ./flow/stereovolumecontrol_impl.cc 2008-06-11 00:29:23.000000000 +0200
@@ -25,6 +25,7 @@
#include "stdsynthmodule.h"
#include "flowsystem.h"
#include <debug.h>
+#include <string.h>
using namespace Arts;
--- ./flow/synth_play_wav_impl.cc.orig 2008-06-11 00:26:51.000000000 +0200
+++ ./flow/synth_play_wav_impl.cc 2008-06-11 00:27:08.000000000 +0200
@@ -29,6 +29,9 @@
#include "convert.h"
#include <stdio.h>
#include <iostream>
+#include <stdlib.h>
+#include <string.h>
+#include <limits.h>
extern "C" {
/* Some versions of libaudiofile seem to lack the extern "C" declaration,
--- ./flow/synth_record_impl.cc.orig 2008-06-11 00:30:18.000000000 +0200
+++ ./flow/synth_record_impl.cc 2008-06-11 00:30:25.000000000 +0200
@@ -31,6 +31,7 @@
#include "stdsynthmodule.h"
#include <stdio.h>
#include <iostream>
+#include <string.h>
#undef DEBUG_WAVEFORM
#ifdef DEBUG_WAVEFORM
--- ./mcop/dispatcher.cc.orig 2008-06-11 00:04:03.000000000 +0200
+++ ./mcop/dispatcher.cc 2008-06-11 00:04:14.000000000 +0200
@@ -38,6 +38,8 @@
#include <sys/stat.h>
#include <stdio.h>
#include <signal.h>
+#include <string.h>
+#include <stdlib.h>
#include <errno.h>
#include <iostream>
--- ./mcop/mcoputils.cc.orig 2008-06-11 00:12:29.000000000 +0200
+++ ./mcop/mcoputils.cc 2008-06-11 00:12:41.000000000 +0200
@@ -32,6 +32,8 @@
#include <errno.h>
#include <config.h>
#include <ctype.h>
+#include <string.h>
+#include <stdlib.h>
#include <stdio.h>
#include <map>
--- ./mcop/object.cc.orig 2008-06-11 00:05:11.000000000 +0200
+++ ./mcop/object.cc 2008-06-11 00:05:19.000000000 +0200
@@ -28,6 +28,7 @@
#include "debug.h"
#include "anyref.h"
#include <stdio.h>
+#include <stdlib.h>
#include <iostream>
using namespace std;
--- ./mcop/tcpconnection.cc.orig 2008-06-11 00:06:13.000000000 +0200
+++ ./mcop/tcpconnection.cc 2008-06-11 00:06:20.000000000 +0200
@@ -25,6 +25,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
+#include <stdlib.h>
#define queue cqueue
#include <netdb.h>
#undef queue
--- ./mcop/trader_impl.cc.orig 2008-06-11 00:17:28.000000000 +0200
+++ ./mcop/trader_impl.cc 2008-06-11 00:17:36.000000000 +0200
@@ -29,6 +29,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
+#include <string.h>
using namespace Arts;
using namespace std;
--- ./mcop/unixconnection.cc.orig 2008-06-11 00:06:51.000000000 +0200
+++ ./mcop/unixconnection.cc 2008-06-11 00:06:57.000000000 +0200
@@ -26,6 +26,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
+#include <stdlib.h>
#include <sys/un.h>
#include <errno.h>
--- ./soundserver/artscat.cc.orig 2008-06-11 00:47:13.000000000 +0200
+++ ./soundserver/artscat.cc 2008-06-11 00:47:19.000000000 +0200
@@ -28,6 +28,7 @@
#include "artsversion.h"
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
--- ./soundserver/artsd.cc.orig 2008-06-11 00:45:29.000000000 +0200
+++ ./soundserver/artsd.cc 2008-06-11 00:45:36.000000000 +0200
@@ -29,6 +29,7 @@
#include <math.h>
#include <iostream>
#include <stdio.h>
+#include <stdlib.h>
#include "soundserver.h"
#include "audiosubsys.h"
#include "audioio.h"
--- ./soundserver/artsplay.cc.orig 2008-06-11 00:46:40.000000000 +0200
+++ ./soundserver/artsplay.cc 2008-06-11 00:46:46.000000000 +0200
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <vector>
#include <string>
+#include <string.h>
#include <iostream>
using namespace std;
--- ./soundserver/artsrec.cc.orig 2008-06-11 00:48:59.000000000 +0200
+++ ./soundserver/artsrec.cc 2008-06-11 00:49:05.000000000 +0200
@@ -31,6 +31,7 @@
#include "debug.h"
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
--- ./soundserver/artsshell.cc.orig 2008-06-11 00:48:13.000000000 +0200
+++ ./soundserver/artsshell.cc 2008-06-11 00:48:25.000000000 +0200
@@ -121,6 +121,8 @@
#include "artsversion.h"
#include "tradercheck.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <math.h>
bool quiet = false;
--- ./soundserver/crashhandler.h.orig 2008-06-11 00:45:13.000000000 +0200
+++ ./soundserver/crashhandler.h 2008-06-11 00:45:19.000000000 +0200
@@ -25,6 +25,7 @@
#define __ARTS_CRASHHANDLER_H
#include <string>
+#include <string.h>
namespace Arts {
--- ./soundserver/fileinputstream_impl.cc.orig 2008-06-11 00:43:42.000000000 +0200
+++ ./soundserver/fileinputstream_impl.cc 2008-06-11 00:43:48.000000000 +0200
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <sys/mman.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
--- ./soundserver/soundserverstartup_impl.cc.orig 2008-06-11 00:45:59.000000000 +0200
+++ ./soundserver/soundserverstartup_impl.cc 2008-06-11 00:46:06.000000000 +0200
@@ -23,6 +23,7 @@
#include "debug.h"
#include "soundserverstartup_impl.h"
#include <sys/time.h>
+#include <stdlib.h>
#include <time.h>
using namespace Arts;
--- ./soundserver/soundserverv2_impl.cc.orig 2008-06-11 00:44:26.000000000 +0200
+++ ./soundserver/soundserverv2_impl.cc 2008-06-11 00:44:37.000000000 +0200
@@ -33,6 +33,8 @@
#include "soundserverv2_impl.h"
#include "artsversion.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

+ 31
- 0
package/stf/wpa_supplicant/hotfixes-gcc43.patch

@ -0,0 +1,31 @@
--- ./wpa_gui/networkconfig.ui.h.orig 2008-06-10 20:10:07.000000000 +0200
+++ ./wpa_gui/networkconfig.ui.h 2008-06-10 20:10:13.000000000 +0200
@@ -10,6 +10,7 @@
** destructor.
*****************************************************************************/
+#include <stdlib.h>
enum {
AUTH_NONE = 0,
--- ./wpa_gui/userdatarequest.ui.h.orig 2008-06-10 20:09:43.000000000 +0200
+++ ./wpa_gui/userdatarequest.ui.h 2008-06-10 20:09:50.000000000 +0200
@@ -10,6 +10,8 @@
** destructor.
*****************************************************************************/
+#include <stdlib.h>
+
int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
{
char *tmp, *pos, *pos2;
--- ./wpa_gui/wpagui.ui.h.orig 2008-06-10 20:08:27.000000000 +0200
+++ ./wpa_gui/wpagui.ui.h 2008-06-10 20:08:56.000000000 +0200
@@ -16,6 +16,7 @@
#include <unistd.h>
#endif
+#include <stdlib.h>
void WpaGui::init()
{

+ 10
- 0
package/x11/imagemagick/hotfixes-gcc43.patch

@ -0,0 +1,10 @@
--- ./Magick++/lib/Image.cpp.orig 2008-06-10 19:46:09.000000000 +0200
+++ ./Magick++/lib/Image.cpp 2008-06-10 19:46:15.000000000 +0200
@@ -10,6 +10,7 @@
#include "Magick++/Include.h"
#include <string>
#include <string.h>
+#include <stdlib.h>
#include <errno.h>
#include <math.h>

Loading…
Cancel
Save