diff options
Diffstat (limited to 'games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch')
-rw-r--r-- | games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch b/games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch new file mode 100644 index 000000000000..aa3b434e151f --- /dev/null +++ b/games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch @@ -0,0 +1,59 @@ +--- a/card.cpp ++++ b/card.cpp +@@ -1,5 +1,6 @@ ++#include <cstdlib> + #include <cstdio> +-#include <math.h> ++#include <cmath> + #ifdef SHAPE + #include <X11/Xlib.h> + #include <X11/Xutil.h> +--- a/freecell.cpp ++++ b/freecell.cpp +@@ -1,6 +1,7 @@ + #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> +--- a/option.cpp ++++ b/option.cpp +@@ -3,7 +3,9 @@ + #include <fcntl.h> + #include <dirent.h> + #include <unistd.h> +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> ++#include <cstring> + + #include "general.h" + #include "option.h" +--- a/subwindows.cpp ++++ b/subwindows.cpp +@@ -3,7 +3,8 @@ + #include <fcntl.h> + #include <dirent.h> + #include <unistd.h> +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> + + #include "general.h" + #include "subwindows.h" +--- a/widget/widget.h ++++ b/widget/widget.h +@@ -4,7 +4,9 @@ + #include <X11/Xlib.h> + #include <X11/Xutil.h> + #include <X11/keysym.h> +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> ++#include <cstring> + #include <vector> + #include <string> + |