Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042009
en ru br
Репозитории ALT
S:2.0.8-alt2
5.1: 2.0.6-alt1
4.1: 2.0.6-alt1
4.0: 2.0.6-alt1
3.0: 2.0.6-alt1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: gkrellm-weather

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gkrellweather-alt-fix_path_GrabW-x64.patch
Скачать


--- gkrellweather/gkrellweather.c.orig	2017-03-01 17:02:38.218721000 +0300
+++ gkrellweather/gkrellweather.c	2017-03-01 17:47:51.869777933 +0300
@@ -721,7 +721,7 @@ apply_air_config (void)
         options.station[1] = c[1];
         options.station[2] = c[2];
         options.station[3] = c[3];
-        snprintf(options.command, 512, PREFIX "/bin/GrabWeather %s", options.station);
+        snprintf(options.command, 512, "/usr/lib64/gkrellm2/GrabWeather %s", options.station);
         options.command[511] = 0;
         snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat",
                 getenv("HOME"), options.station);
@@ -986,7 +986,7 @@ read_default(void)
     options.windspeed_unit = 1;
     options.pressure_unit = 1;
     strcpy(options.station, DEFAULT_STATION_ID);
-    snprintf(options.command, 512, "/usr/share/gkrellm/GrabWeather %s", options.station);
+    snprintf(options.command, 512, "/usr/lib64/gkrellm2/GrabWeather %s", options.station);
     options.command[511] = 0;
     snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat",
              getenv("HOME"), options.station);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin