summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2011-09-14 12:55:34 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2011-09-14 12:55:34 +0000
commitc02dd8f1ed17000b721764526431288e656285aa (patch)
tree842d1a0ae6aad927c872b4057f757c0cb78f67ab /net-misc
parentBump to update components to latest maintenance release ones, support libpng ... (diff)
downloadgentoo-2-c02dd8f1ed17000b721764526431288e656285aa.tar.gz
gentoo-2-c02dd8f1ed17000b721764526431288e656285aa.tar.bz2
gentoo-2-c02dd8f1ed17000b721764526431288e656285aa.zip
Also commit the patch...
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nx/ChangeLog6
-rw-r--r--net-misc/nx/files/nx-3.5.0-libpng15.patch30
2 files changed, 35 insertions, 1 deletions
diff --git a/net-misc/nx/ChangeLog b/net-misc/nx/ChangeLog
index 8bff76cb145b..c5e600166d9d 100644
--- a/net-misc/nx/ChangeLog
+++ b/net-misc/nx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/nx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.59 2011/09/14 12:44:37 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.60 2011/09/14 12:55:34 voyageur Exp $
+
+ 14 Sep 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nx-3.5.0-libpng15.patch:
+ Also commit the patch...
*nx-3.5.0-r1 (14 Sep 2011)
diff --git a/net-misc/nx/files/nx-3.5.0-libpng15.patch b/net-misc/nx/files/nx-3.5.0-libpng15.patch
new file mode 100644
index 000000000000..c8f2a95592d5
--- /dev/null
+++ b/net-misc/nx/files/nx-3.5.0-libpng15.patch
@@ -0,0 +1,30 @@
+diff -ur nxcomp.orig/Pgn.cpp nxcomp/Pgn.cpp
+--- nxcomp.orig/Pgn.cpp 2010-03-01 19:18:59.000000000 +0200
++++ nxcomp/Pgn.cpp 2011-09-13 16:35:12.000000000 +0300
+@@ -414,7 +414,7 @@
+
+ png_read_info(pngPtr, infoPtr);
+
+- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE)
++ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE)
+ {
+ png_set_expand(pngPtr);
+ }
+@@ -565,7 +565,7 @@
+
+ png_read_info( pngPtr, infoPtr ) ;
+
+- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE)
++ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE)
+ {
+ png_set_expand(pngPtr);
+ }
+@@ -709,7 +709,7 @@
+ png_read_info(pngPtr, infoPtr) ;
+
+
+- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE)
++ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE)
+ {
+ png_set_expand(pngPtr);
+ }