summaryrefslogtreecommitdiffstats
path: root/arch/master/trinity-qt3/qt3-png14.patch
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturke@gmail.com>2011-11-19 14:00:39 -0500
committerCalvin Morrison <mutantturke@gmail.com>2011-11-19 14:00:39 -0500
commit3e9b3291519b85c12d020b62768955a137ecdc1b (patch)
tree7bb31b3f621ec0a1ceab67605800c1392c16a815 /arch/master/trinity-qt3/qt3-png14.patch
parent9c4939172004cefafe10c375fe34876a600b33e3 (diff)
downloadtde-packaging-3e9b3291519b85c12d020b62768955a137ecdc1b.tar.gz
tde-packaging-3e9b3291519b85c12d020b62768955a137ecdc1b.zip
removing the old master folder, which wont be used anymore
Diffstat (limited to 'arch/master/trinity-qt3/qt3-png14.patch')
-rw-r--r--arch/master/trinity-qt3/qt3-png14.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/arch/master/trinity-qt3/qt3-png14.patch b/arch/master/trinity-qt3/qt3-png14.patch
deleted file mode 100644
index e8a194529..000000000
--- a/arch/master/trinity-qt3/qt3-png14.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/kernel/qpngio.cpp.orig 2010-01-16 22:02:41.000000000 +0100
-+++ src/kernel/qpngio.cpp 2010-01-16 22:03:56.000000000 +0100
-@@ -159,7 +159,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);
-@@ -187,7 +187,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++;
-@@ -321,9 +321,9 @@
- 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) {