aboutsummaryrefslogtreecommitdiff
path: root/academic/stellarium/boost1.36.patch
blob: bb83c607f53dbaa36e6e10fa92b598af3bab28cd (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
diff -Naur stellarium-0.9.1.orig/src/StelApp.cpp stellarium-0.9.1/src/StelApp.cpp
--- stellarium-0.9.1.orig/src/StelApp.cpp	2008-01-17 09:15:35.000000000 -0500
+++ stellarium-0.9.1/src/StelApp.cpp	2008-09-01 14:12:51.000000000 -0400
@@ -141,7 +141,7 @@
 	{
 		Translator::init(stelFileMgr->findFile("data/iso639-1.utf8"));
 	}
-	catch (exception& e)
+	catch (std::exception& e)
 	{
 		cerr << "ERROR while loading translations: " << e.what() << endl;
 	}
@@ -180,7 +180,7 @@
 	{
 		fontMapFile = stelFileMgr->findFile(QFile::decodeName("data/fontmap.dat"));
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR when locating font map file: " << e.what() << endl;
 	}
@@ -243,7 +243,7 @@
 	{
 		iconPath = stelFileMgr->findFile("data/icon.bmp");
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR when trying to locate icon file: " << e.what() << endl;
 	}
@@ -425,7 +425,7 @@
 				stelFileMgr->findFile("landscapes/" + *i + "/landscape.ini");
 				cout << (*i).toUtf8().data() << endl;
 			}
-			catch(exception& e){}
+			catch(std::exception& e){}
 		}
 		exit(0);
 	}
@@ -434,7 +434,7 @@
 	{
 		setConfigFile(qPrintable(argsGetOptionWithArg<QString>(argList, "-c", "--config-file", "config.ini")));
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR: while looking for --config-file option: " << e.what() << ". Using \"config.ini\"" << endl;
 		setConfigFile("config.ini");		
@@ -463,7 +463,7 @@
 		projectionType = argsGetOptionWithArg<QString>(argList, "", "--projection-type", "");
 
 	}
-	catch (exception& e)
+	catch (std::exception& e)
 	{
 		cerr << "ERROR while checking command line options: " << e.what() << endl;
 		exit(0);
@@ -746,7 +746,7 @@
 		configFile = stelFileMgr->findFile(configName, StelFileMgr::FLAGS(StelFileMgr::WRITABLE|StelFileMgr::FILE));
 		return;
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		//cerr << "DEBUG StelApp::setConfigFile could not locate writable config file " << configName << endl;
 	}
@@ -756,7 +756,7 @@
 		configFile = stelFileMgr->findFile(configName, StelFileMgr::FILE);	
 		return;
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		//cerr << "DEBUG StelApp::setConfigFile could not find read only config file " << configName << endl;
 	}		
@@ -767,7 +767,7 @@
 		//cerr << "DEBUG StelApp::setConfigFile found NEW file path: " << configFile << endl;
 		return;
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR StelApp::setConfigFile could not find or create configuration file " << configName.toUtf8().data() << endl;
 		exit(1);
@@ -781,7 +781,7 @@
 	{
 		defaultConfigFilePath = stelFileMgr->findFile("data/default_config.ini");
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR (copyDefaultConfigFile): failed to locate data/default_config.ini.  Please check your installation." << endl;
 		exit(1);
diff -Naur stellarium-0.9.1.orig/src/stel_command_interface.cpp stellarium-0.9.1/src/stel_command_interface.cpp
--- stellarium-0.9.1.orig/src/stel_command_interface.cpp	2008-01-17 09:15:35.000000000 -0500
+++ stellarium-0.9.1/src/stel_command_interface.cpp	2008-09-01 14:16:11.000000000 -0400
@@ -436,7 +436,7 @@
 					image_filename = stapp->getFileMgr().findFile(image_filename);
 					script_images->load_image(image_filename, args["name"].c_str(), img_pos);
 				}
-				catch(exception& e)
+				catch(std::exception& e)
 				{
 					cerr << "ERROR finding script: " << e.what() << endl;
 					debug_message = _("Unable to open file: ") + image_filename.toStdWString();
@@ -511,7 +511,7 @@
 					audio = new Audio(QFile::encodeName(audioFilePath).constData(), "default track", StelUtils::stringToLong(args["output_rate"]));
 					audio->play(args["loop"]=="on");
 				}
-				catch(exception& e)
+				catch(std::exception& e)
 				{
 					cerr << "ERROR while trying to play audio file: " << args["filename"] << " : " << e.what() << endl;
 				}
diff -Naur stellarium-0.9.1.orig/src/stel_ui_conf.cpp stellarium-0.9.1/src/stel_ui_conf.cpp
--- stellarium-0.9.1.orig/src/stel_ui_conf.cpp	2008-01-17 09:15:35.000000000 -0500
+++ stellarium-0.9.1/src/stel_ui_conf.cpp	2008-09-01 14:17:51.000000000 -0400
@@ -620,7 +620,7 @@
 	{
 		fileName = StelApp::getInstance().getFileMgr().findFile(QString("data/cities_") + planetEnglishName.c_str() + ".fab");
 	}
-	catch (exception& e)
+	catch (std::exception& e)
 	{
 		cerr << "INFO StelUI::load_cities " << e.what() << endl;
 		return;
diff -Naur stellarium-0.9.1.orig/src/stel_ui_tuiconf.cpp stellarium-0.9.1/src/stel_ui_tuiconf.cpp
--- stellarium-0.9.1.orig/src/stel_ui_tuiconf.cpp	2008-01-17 09:15:35.000000000 -0500
+++ stellarium-0.9.1/src/stel_ui_tuiconf.cpp	2008-09-01 14:19:10.000000000 -0400
@@ -155,7 +155,7 @@
 	{
 		tui_time_settmz = new s_tui::Time_zone_item(QFile::encodeName(app->getFileMgr().findFile("data/zone.tab")).constData(), wstring(L"2.2 "));
 	}
-	catch(exception &e)
+	catch(std::exception &e)
 	{
 		cerr << "ERROR locating zone file: " << e.what() << endl;
 	}
@@ -520,7 +520,7 @@
 					cmd = "script action play filename \"" + SelectedScript 
 						+ "\" path \"" + QFile::encodeName(theParent).constData() + "/\"";
 				}
-				catch(exception& e)
+				catch(std::exception& e)
 				{
 					cerr << "ERROR while executing script " << SelectedScript << ": " << e.what() << endl;
 				}
@@ -677,7 +677,7 @@
 	{
 		saveCurrentConfig(app->getConfigFilePath());
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR: could not save config.ini file: " << e.what() << endl;
 	}
@@ -686,7 +686,7 @@
 	{
 		system( QFile::encodeName(app->getFileMgr().findFile("data/script_save_config ")).constData());
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR while calling script_save_config: " << e.what() << endl;
 	}
@@ -699,7 +699,7 @@
 	{
 		system( QFile::encodeName(app->getFileMgr().findFile("data/script_internet_update ")).constData());
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR while calling script_internet_update: " << e.what() << endl;
 	}
@@ -713,7 +713,7 @@
 	{
 		system( QFile::encodeName(app->getFileMgr().findFile("data/script_shutdown ")).constData());
 	}
-	catch(exception& e)
+	catch(std::exception& e)
 	{
 		cerr << "ERROR while calling script_shutdown: " << e.what() << endl;
 	}