Репозитории ALT
S: | 0.31.0-alt2 |
5.1: | 0.24.0-alt1 |
4.1: | 0.22.0-alt0.1 |
4.0: | 0.22.0-alt0.1 |
3.0: | 0.21.2-alt0.2 |
Группа :: Мониторинг
Пакет: gpsim
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: gpsim-0.25.0-get_version.patch
Скачать
Скачать
--- cli/cmd_version.cc.orig 2010-10-02 18:00:26.000000000 +0400
+++ cli/cmd_version.cc 2010-10-02 18:06:04.000000000 +0400
@@ -23,12 +23,12 @@ Boston, MA 02111-1307, USA. */
#include <iomanip>
#include <string>
+#include "../config.h"
#include "command.h"
#include "cmd_version.h"
cmd_version version;
-extern void gpsim_version(void);
static cmd_options cmd_version_options[] =
{
@@ -50,6 +50,11 @@ cmd_version::cmd_version()
void cmd_version::version()
{
- gpsim_version();
+#if _DEBUG
+ char szBuild[] = "Debug";
+#else
+ char szBuild[] = "Release";
+#endif
+ printf("%s %s\n", szBuild, VERSION);
}