Репозитории ALT
S: | 1.0.5b-alt8.nb2 |
5.1: | 1.0.5b-alt5.nb2.1 |
4.1: | 1.0.5b-alt4.nb1 |
4.0: | 1.0.5b-alt3.nb1 |
3.0: | |
+backports: | 1.0.5b-alt0.M30.3.nb1 |
Группа :: Игры/Карты
Пакет: xfreecell
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xfreecell-1.0.5b-alt-gcc4.3.patch
Скачать
Скачать
diff -ru xfreecell.orig/card.cpp xfreecell/card.cpp
--- xfreecell.orig/card.cpp 1999-03-27 13:36:28 +0000
+++ xfreecell/card.cpp 2008-10-29 14:02:32 +0000
@@ -1,4 +1,5 @@
#include <cstdio>
+#include <cstdlib>
#include <math.h>
#ifdef SHAPE
#include <X11/Xlib.h>
diff -ru xfreecell.orig/freecell.cpp xfreecell/freecell.cpp
--- xfreecell.orig/freecell.cpp 2008-10-29 14:03:37 +0000
+++ xfreecell/freecell.cpp 2008-10-29 14:06:12 +0000
@@ -1,6 +1,8 @@
#include <dirent.h>
#include <fcntl.h>
#include <stdlib.h>
+#include <cstdlib>
+#include <cstring>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
diff -ru xfreecell.orig/option.cpp xfreecell/option.cpp
--- xfreecell.orig/option.cpp 1999-07-27 14:13:24 +0000
+++ xfreecell/option.cpp 2008-10-29 14:09:13 +0000
@@ -4,6 +4,8 @@
#include <dirent.h>
#include <unistd.h>
#include <stdio.h>
+#include <cstdlib>
+#include <cstring>
#include "general.h"
#include "option.h"
diff -ru xfreecell.orig/subwindows.cpp xfreecell/subwindows.cpp
--- xfreecell.orig/subwindows.cpp 2008-10-29 14:09:34 +0000
+++ xfreecell/subwindows.cpp 2008-10-29 14:10:17 +0000
@@ -5,6 +5,7 @@
#include <dirent.h>
#include <unistd.h>
#include <stdio.h>
+#include <cstdlib>
#include "general.h"
#include "subwindows.h"
diff -ru xfreecell.orig/widget/util.cpp xfreecell/widget/util.cpp
--- xfreecell.orig/widget/util.cpp 1999-03-15 16:01:51 +0000
+++ xfreecell/widget/util.cpp 2008-10-29 14:12:16 +0000
@@ -1,3 +1,4 @@
+#include <cstdlib>
#include "widget.h"
unsigned long allocColor(Display* NSdpy, unsigned int red, unsigned int green, unsigned int blue)
Only in xfreecell/widget: util.cpp~
diff -ru xfreecell.orig/widget/scrollbar.cpp xfreecell/widget/scrollbar.cpp
--- xfreecell.orig/widget/scrollbar.cpp 1999-03-03 17:34:52 +0000
+++ xfreecell/widget/scrollbar.cpp 2008-10-29 14:13:14 +0000
@@ -1,3 +1,4 @@
+#include <cstdlib>
#include "widget.h"
// ## NSVScrollbar ##
Only in xfreecell/widget: scrollbar.cpp~
diff -ru xfreecell.orig/widget/font.cpp xfreecell/widget/font.cpp
--- xfreecell.orig/widget/font.cpp 1999-03-03 17:34:52 +0000
+++ xfreecell/widget/font.cpp 2008-10-29 14:14:04 +0000
@@ -1,3 +1,4 @@
+#include <cstring>
#include "widget.h"
NSFont::NSFont()
Only in xfreecell/widget: font.cpp~