Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37531331
en ru br
Репозитории ALT
S:1.6.2.2-alt3
D:1.5.0-alt1
5.1: 1.6.0-alt4
4.1: 1.5.0-alt2
4.0: 1.4.1-alt5
+backports:1.4.1-alt5
3.0: 1.3.2-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:1.5.0

Группа :: Обучение
Пакет: celestia

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

Патч: celestia-1.6.1-alt-libpng15.patch
Скачать


diff --git a/celestia/src/celengine/image.cpp b/celestia/src/celengine/image.cpp
index 4aa57f1..08ca60d 100644
--- a/celestia/src/celengine/image.cpp
+++ b/celestia/src/celengine/image.cpp
@@ -739,7 +739,7 @@ Image* LoadPNGImage(const string& filename)
 
     if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
     {
-        png_set_gray_1_2_4_to_8(png_ptr);
+        png_set_expand_gray_1_2_4_to_8(png_ptr);
     }
 
     if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
diff --git a/celestia/src/celestia/imagecapture.cpp b/celestia/src/celestia/imagecapture.cpp
index 92602da..f0f5f38 100644
--- a/celestia/src/celestia/imagecapture.cpp
+++ b/celestia/src/celestia/imagecapture.cpp
@@ -8,6 +8,7 @@
 // of the License, or (at your option) any later version.
 
 #include <cstdio>
+#include <zlib.h>
 #include <celutil/debug.h>
 #include "../celengine/gl.h"
 #include <celengine/celestia.h>
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin