summaryrefslogtreecommitdiff
blob: 0b2659fabc570b432a4b042714b75c76934f009a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
diff -aur miktex-2.7.3107.old/BuildUtilities/md5walk/md5walk.cpp miktex-2.7.3107/BuildUtilities/md5walk/md5walk.cpp
--- miktex-2.7.3107.old/BuildUtilities/md5walk/md5walk.cpp	2008-07-14 21:04:11.000000000 +0200
+++ miktex-2.7.3107/BuildUtilities/md5walk/md5walk.cpp	2008-07-14 21:19:05.000000000 +0200
@@ -21,6 +21,7 @@
 #include <cstdarg>
 #include <cstdio>
 #include <cstdlib>
+#include <memory>
 
 #include <miktex/Core/Core>
 #include <popt-miktex.h>
diff -aur miktex-2.7.3107.old/BuildUtilities/mpc/mpc.cpp miktex-2.7.3107/BuildUtilities/mpc/mpc.cpp
--- miktex-2.7.3107.old/BuildUtilities/mpc/mpc.cpp	2008-07-14 21:04:11.000000000 +0200
+++ miktex-2.7.3107/BuildUtilities/mpc/mpc.cpp	2008-07-14 21:38:46.000000000 +0200
@@ -21,6 +21,8 @@
 #include "StdAfx.h"
 #include "internal.h"
 
+#include <memory>
+
 const char * const TheNameOfTheGame = T_("MiKTeX Package Creator");
 
 #define PROGNAME "mpc"
diff -aur miktex-2.7.3107.old/Libraries/MiKTeX/Core/include/miktex/Core/Core miktex-2.7.3107/Libraries/MiKTeX/Core/include/miktex/Core/Core
--- miktex-2.7.3107.old/Libraries/MiKTeX/Core/include/miktex/Core/Core	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Libraries/MiKTeX/Core/include/miktex/Core/Core	2008-07-14 21:13:57.000000000 +0200
@@ -58,10 +58,12 @@
 #  include <string>
 #  include <stdexcept>
 #  include <vector>
+#  include <cstring>
 #else
 #  include <stdio.h>
 #  include <stdlib.h>
 #  include <time.h>
+#  include <string.h>
 #endif
 
 #if defined(HAVE_PTHREAD)
diff -aur miktex-2.7.3107.old/Libraries/MiKTeX/Core/internal.h miktex-2.7.3107/Libraries/MiKTeX/Core/internal.h
--- miktex-2.7.3107.old/Libraries/MiKTeX/Core/internal.h	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Libraries/MiKTeX/Core/internal.h	2008-07-14 21:04:49.000000000 +0200
@@ -40,6 +40,8 @@
 #include "miktex/Core/Trace"
 #include "miktex/Core/Urls"
 
+#include <memory>
+
 using namespace MiKTeX::Core;
 
 #define BEGIN_INTERNAL_NAMESPACE		\
diff -aur miktex-2.7.3107.old/Libraries/MiKTeX/Extractor/CabExtractor.h miktex-2.7.3107/Libraries/MiKTeX/Extractor/CabExtractor.h
--- miktex-2.7.3107.old/Libraries/MiKTeX/Extractor/CabExtractor.h	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Libraries/MiKTeX/Extractor/CabExtractor.h	2008-07-14 21:23:32.000000000 +0200
@@ -28,6 +28,8 @@
 
 #include "miktex/Extractor/Extractor"
 
+#include <memory>
+
 BEGIN_INTERNAL_NAMESPACE;
 
 class CabExtractor : public MiKTeX::Extractor::Extractor
diff -aur miktex-2.7.3107.old/Libraries/MiKTeX/Extractor/TarExtractor.h miktex-2.7.3107/Libraries/MiKTeX/Extractor/TarExtractor.h
--- miktex-2.7.3107.old/Libraries/MiKTeX/Extractor/TarExtractor.h	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Libraries/MiKTeX/Extractor/TarExtractor.h	2008-07-14 21:23:57.000000000 +0200
@@ -28,6 +28,8 @@
 
 #include "miktex/Extractor/Extractor"
 
+#include <memory>
+
 BEGIN_INTERNAL_NAMESPACE;
 
 class TarExtractor : public MiKTeX::Extractor::Extractor
diff -aur miktex-2.7.3107.old/Libraries/MiKTeX/PackageManager/CurlWebSession.h miktex-2.7.3107/Libraries/MiKTeX/PackageManager/CurlWebSession.h
--- miktex-2.7.3107.old/Libraries/MiKTeX/PackageManager/CurlWebSession.h	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Libraries/MiKTeX/PackageManager/CurlWebSession.h	2008-07-14 21:28:04.000000000 +0200
@@ -26,6 +26,8 @@
 #if defined(HAVE_LIBCURL) && ! defined(GUARD_8FCCFB2E6A53AC448DF1F0EDABB41EC0_)
 #define GUARD_8FCCFB2E6A53AC448DF1F0EDABB41EC0_
 
+#include <memory>
+
 BEGIN_INTERNAL_NAMESPACE;
 
 class
diff -aur miktex-2.7.3107.old/Libraries/MiKTeX/PackageManager/internal.h miktex-2.7.3107/Libraries/MiKTeX/PackageManager/internal.h
--- miktex-2.7.3107.old/Libraries/MiKTeX/PackageManager/internal.h	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Libraries/MiKTeX/PackageManager/internal.h	2008-07-14 21:27:26.000000000 +0200
@@ -28,6 +28,8 @@
 #define F927BA187CB94546AB9CA9099D989E81
 #include "miktex/PackageManager/PackageManager"
 
+#include <memory>
+
 #define BEGIN_INTERNAL_NAMESPACE			\
 namespace MiKTeX {					\
   namespace Packages {					\
diff -aur miktex-2.7.3107.old/Programs/MiKTeX/initexmf/initexmf.cpp miktex-2.7.3107/Programs/MiKTeX/initexmf/initexmf.cpp
--- miktex-2.7.3107.old/Programs/MiKTeX/initexmf/initexmf.cpp	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Programs/MiKTeX/initexmf/initexmf.cpp	2008-07-14 21:36:35.000000000 +0200
@@ -33,6 +33,7 @@
 #include <stack>
 #include <string>
 #include <vector>
+#include <memory>
 
 #include "initexmf-version.h"
 
diff -aur miktex-2.7.3107.old/Programs/MiKTeX/PackageManager/mpm/mpm.cpp miktex-2.7.3107/Programs/MiKTeX/PackageManager/mpm/mpm.cpp
--- miktex-2.7.3107.old/Programs/MiKTeX/PackageManager/mpm/mpm.cpp	2008-07-14 21:04:10.000000000 +0200
+++ miktex-2.7.3107/Programs/MiKTeX/PackageManager/mpm/mpm.cpp	2008-07-14 21:34:26.000000000 +0200
@@ -23,6 +23,9 @@
 
 #include "internal.h"
 
+#include <memory>
+#include <climits>
+
 #if ! defined(THE_NAME_OF_THE_GAME)
 #  define THE_NAME_OF_THE_GAME T_("MiKTeX Package Manager")
 #endif