Group :: Games/Puzzles
RPM: fillets-ng
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: fillets-ng-0.8.0-alt-gcc43.patch
Download
Download
diff -ur fillets-ng-0.8.0.orig/src/gengine/OptionAgent.cpp fillets-ng-0.8.0/src/gengine/OptionAgent.cpp
--- fillets-ng-0.8.0.orig/src/gengine/OptionAgent.cpp 2006-02-12 13:59:06 +0200
+++ fillets-ng-0.8.0/src/gengine/OptionAgent.cpp 2008-12-02 05:52:52 +0200
@@ -26,6 +26,8 @@
#include <string.h> //strlen
#include <locale.h> //setlocale
+#include <cstdlib> //getenv
+
#ifndef LC_MESSAGES
#define LC_MESSAGES LC_CTYPE
#endif
diff -ur fillets-ng-0.8.0.orig/src/gengine/StringTool.cpp fillets-ng-0.8.0/src/gengine/StringTool.cpp
--- fillets-ng-0.8.0.orig/src/gengine/StringTool.cpp 2007-06-30 17:55:12 +0300
+++ fillets-ng-0.8.0/src/gengine/StringTool.cpp 2008-12-02 05:53:36 +0200
@@ -10,6 +10,8 @@
#include <sstream>
+#include <cstdlib> //strtol
+
//-----------------------------------------------------------------
/**
* Convert string to number.
diff -ur fillets-ng-0.8.0.orig/src/level/Landslip.cpp fillets-ng-0.8.0/src/level/Landslip.cpp
--- fillets-ng-0.8.0.orig/src/level/Landslip.cpp 2004-08-27 14:37:56 +0300
+++ fillets-ng-0.8.0/src/level/Landslip.cpp 2008-12-02 05:55:06 +0200
@@ -11,6 +11,8 @@
#include "Rules.h"
#include "minmax.h"
+#include <cstring> //memset
+
//-----------------------------------------------------------------
Landslip::Landslip(const ModelList &models)
: m_models(models)