[arch-commits] Commit in stellarium/trunk (PKGBUILD libpng14.patch)

Antonio Rojas arojas at archlinux.org
Wed Sep 12 20:45:04 UTC 2018


    Date: Wednesday, September 12, 2018 @ 20:45:04
  Author: arojas
Revision: 334432

gpsd 3.17 rebuild

Modified:
  stellarium/trunk/PKGBUILD
Deleted:
  stellarium/trunk/libpng14.patch

----------------+
 PKGBUILD       |    2 +-
 libpng14.patch |   21 ---------------------
 2 files changed, 1 insertion(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-12 20:37:34 UTC (rev 334431)
+++ PKGBUILD	2018-09-12 20:45:04 UTC (rev 334432)
@@ -3,7 +3,7 @@
 
 pkgname=stellarium
 pkgver=0.18.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
 arch=("x86_64")
 url="http://stellarium.org/"

Deleted: libpng14.patch
===================================================================
--- libpng14.patch	2018-09-12 20:37:34 UTC (rev 334431)
+++ libpng14.patch	2018-09-12 20:45:04 UTC (rev 334432)
@@ -1,21 +0,0 @@
-diff -Naur stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp stellarium-0.10.2/src/core/StelTextureMgr.cpp
---- stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp	2010-01-21 17:04:57.000000000 -0500
-+++ stellarium-0.10.2/src/core/StelTextureMgr.cpp	2010-01-21 17:06:55.000000000 -0500
-@@ -513,7 +513,7 @@
- 	fread (magic, 1, sizeof (magic), fp);
- 
- 	/* check for valid magic number */
--	if (!png_check_sig (magic, sizeof (magic)))
-+	if (png_sig_cmp (magic, 0, sizeof (magic)))
- 	{
- 		qWarning() << "error: \"" << filename << "\" is not a valid PNG image!";
- 		fclose (fp);
-@@ -576,7 +576,7 @@
- 	/* convert 1-2-4 bits grayscale images to 8 bits
- 	   grayscale. */
- 	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))
- 		png_set_tRNS_to_alpha (png_ptr);



More information about the arch-commits mailing list