tag 461721 patch
thanks

Martin Michlmayr <[EMAIL PROTECTED]> (20/01/2008):
> Package: papaya
> Version: 0.97.20031122-5.3
> Usertags: ftbfs-gcc-4.3

Hi,

please find attached a patch to fix this FTBFS.

Cheers,

-- 
Cyril Brulebois
--- a/src/papaya/ColouredLabel.cpp
+++ b/src/papaya/ColouredLabel.cpp
@@ -5,6 +5,8 @@
 #include "SystemColour.h"
 #include "ColouredLabel.h"
 
+#include <cstring>
+
 #define ESCAPE '\033'
 
 ColouredLabel::ColouredLabel(Connection * c) {
--- a/src/papaya/EntityGroup.cpp
+++ b/src/papaya/EntityGroup.cpp
@@ -5,6 +5,8 @@
 #include "TriggerEntity.h"
 #include "EntityGroup.h"
 
+#include <cstring>
+
 static int EntityCmp(Entity * e1, Entity * e2) {
   return (e1 < e2);
 }
--- a/src/papaya/EntityHandler.cpp
+++ b/src/papaya/EntityHandler.cpp
@@ -12,6 +12,8 @@
 #include "AliasEntity.h"
 #include "TriggerEntity.h"
 
+#include <cstring>
+
 extern EntityHandler * entities;
 
 EntityHandler::EntityHandler() {
--- a/src/papaya/Fade.cpp
+++ b/src/papaya/Fade.cpp
@@ -4,6 +4,8 @@
 #include "PapayaList.h"
 #include "Fade.h"
 
+#include <cstring>
+
 Fade::Fade(gboolean three, char * min, char * mid, char * max) {
   min_edit = NULL;
   mid_edit = NULL;
--- a/src/papaya/PreferenceHandler.cpp
+++ b/src/papaya/PreferenceHandler.cpp
@@ -4,6 +4,8 @@
 
 #include <gmodule.h>
 
+#include <cstring>
+
 extern Connection * first_connection;
 extern Prefs * globalPreferences;
 
--- a/src/papaya/Prefs.cpp
+++ b/src/papaya/Prefs.cpp
@@ -5,6 +5,8 @@
 #include "SystemColour.h"
 #include "mudclient.h"
 
+#include <cstring>
+
 Prefs::Prefs(MUD * mud) {
   pref_list = NULL;
   initialiseDefaults();
--- a/src/papaya/PromptFilter.cpp
+++ b/src/papaya/PromptFilter.cpp
@@ -5,6 +5,8 @@
 #include "Prefs.h"
 #include "Connection.h"
 
+#include <cstring>
+
 PromptFilter::PromptFilter(Connection * s)
   : Filter(s, "Non-Standard-Prompt")
 {
--- a/src/papaya/Splash.cpp
+++ b/src/papaya/Splash.cpp
@@ -43,6 +43,8 @@
 
 #include "libusers.h"
 
+#include <cstring>
+
 #define PACKAGE "papaya"
 
 MUDSelector * mud_selector;
--- a/src/papaya/SystemTriggerEntity.cpp
+++ b/src/papaya/SystemTriggerEntity.cpp
@@ -2,6 +2,8 @@
 
 #include "SystemTriggerEntity.h"
 
+#include <cstring>
+
 SystemTriggerEntity::SystemTriggerEntity() : Entity() {
 
   callback = NULL;
--- a/src/plugins/BSX/BSX.cpp
+++ b/src/plugins/BSX/BSX.cpp
@@ -5,6 +5,8 @@
 
 #include "Win32PluginAPI.cpp"
 
+#include <cstring>
+
 static BSX * bsx = NULL;
 
 #define MAJOR "0"
--- a/src/plugins/BSX/BSXCache.cpp
+++ b/src/plugins/BSX/BSXCache.cpp
@@ -4,6 +4,8 @@
 
 #include "BSXCache.h"
 
+#include <cstring>
+
 BSXCache::BSXCache(unsigned int m) {
   setMaxSize(m);
   insert("dummy_entry", "");
--- a/src/plugins/Friends.cpp
+++ b/src/plugins/Friends.cpp
@@ -3,6 +3,8 @@
 #include "Friends.h"
 #include "Win32PluginAPI.cpp"
 
+#include <cstring>
+
 #define MAJOR "0"
 #define MINOR "1"
 
--- a/src/plugins/LoginWizard.cpp
+++ b/src/plugins/LoginWizard.cpp
@@ -3,6 +3,8 @@
 // All plugins must include this, even on UNIX platforms where .sos are sane.
 #include "Win32PluginAPI.cpp"
 
+#include <cstring>
+
 static LoginWizardPlugin * loginWizard;
 
 // Configure the minor and major versions of this plugin.
--- a/src/plugins/MXP/MXPElement.cpp
+++ b/src/plugins/MXP/MXPElement.cpp
@@ -2,6 +2,8 @@
 
 #include "Win32PluginAPI.cpp"
 
+#include <cstring>
+
 /**
  * Class to handle MXP Element parsing.
  */
--- a/src/plugins/Turf/SpellStacker.cpp
+++ b/src/plugins/Turf/SpellStacker.cpp
@@ -1,6 +1,8 @@
 #include "SpellStacker.h"
 #include "Win32PluginAPI.cpp"
 
+#include <cstring>
+
 #define MAJOR "1"
 #define MINOR "1"
 

Attachment: signature.asc
Description: Digital signature

Reply via email to