diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-10-02 21:00:43 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-10-02 21:00:43 +0200 |
commit | 920b8aa8bf7d66d19720349fbb499e2eb719cb2f (patch) | |
tree | e0bdb99276a2e07ee3653c99ddb18c24460c7bd4 /kde3/qt3-devel/qt-3.3.8b-png14-1.patch | |
parent | 62839f1551ac504e187e1a3e5e59fd51095cf908 (diff) | |
download | nutyx-pakxe-920b8aa8bf7d66d19720349fbb499e2eb719cb2f.tar.gz nutyx-pakxe-920b8aa8bf7d66d19720349fbb499e2eb719cb2f.tar.bz2 nutyx-pakxe-920b8aa8bf7d66d19720349fbb499e2eb719cb2f.tar.xz nutyx-pakxe-920b8aa8bf7d66d19720349fbb499e2eb719cb2f.zip |
qt3, maj des dépendances et suppression fichiers obsolètes
Diffstat (limited to 'kde3/qt3-devel/qt-3.3.8b-png14-1.patch')
-rw-r--r-- | kde3/qt3-devel/qt-3.3.8b-png14-1.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/kde3/qt3-devel/qt-3.3.8b-png14-1.patch b/kde3/qt3-devel/qt-3.3.8b-png14-1.patch deleted file mode 100644 index b445c254f..000000000 --- a/kde3/qt3-devel/qt-3.3.8b-png14-1.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur qt-x11-free-3.3.8b-original/src/kernel/qpngio.cpp qt-x11-free-3.3.8b/src/kernel/qpngio.cpp ---- qt-x11-free-3.3.8b-original/src/kernel/qpngio.cpp 2008-01-15 20:09:13.000000000 +0100 -+++ qt-x11-free-3.3.8b/src/kernel/qpngio.cpp 2010-09-28 11:04:28.000000000 +0200 -@@ -162,7 +162,7 @@ - image.setColor( i, qRgba(c,c,c,0xff) ); - } - if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) { -- const int g = info_ptr->trans_values.gray; -+ const int g = info_ptr->trans_color.gray; - if (g < ncols) { - image.setAlphaBuffer(TRUE); - image.setColor(g, image.color(g) & RGB_MASK); -@@ -190,7 +190,7 @@ - info_ptr->palette[i].red, - info_ptr->palette[i].green, - info_ptr->palette[i].blue, -- info_ptr->trans[i] -+ info_ptr->trans_alpha[i] - ) - ); - i++; -@@ -324,9 +324,10 @@ - png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) - if (image.depth()==32 && png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { - QRgb trans = 0xFF000000 | qRgb( -- (info_ptr->trans_values.red << 8 >> bit_depth)&0xff, -- (info_ptr->trans_values.green << 8 >> bit_depth)&0xff, -- (info_ptr->trans_values.blue << 8 >> bit_depth)&0xff); -+ (info_ptr->trans_color.red << 8 >> bit_depth)&0xff, -+ (info_ptr->trans_color.green << 8 >> bit_depth)&0xff, -+ (info_ptr->trans_color.blue << 8 >> bit_depth)&0xff); -+ - for (uint y=0; y<height; y++) { - for (uint x=0; x<info_ptr->width; x++) { - if (((uint**)jt)[y][x] == trans) { |