diff options
Diffstat (limited to 'sci-chemistry/imosflm/files')
-rw-r--r-- | sci-chemistry/imosflm/files/1.0.4-impl-dec.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/imosflm/files/1.0.4-tk.patch | 50 | ||||
-rw-r--r-- | sci-chemistry/imosflm/files/1.0.7-libpng16.patch | 13 |
3 files changed, 0 insertions, 75 deletions
diff --git a/sci-chemistry/imosflm/files/1.0.4-impl-dec.patch b/sci-chemistry/imosflm/files/1.0.4-impl-dec.patch deleted file mode 100644 index 5d0dd7010910..000000000000 --- a/sci-chemistry/imosflm/files/1.0.4-impl-dec.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/c/tkImageLoad.c b/c/tkImageLoad.c -index e7c46f0..1496a15 100755 ---- a/c/tkImageLoad.c -+++ b/c/tkImageLoad.c -@@ -12,6 +12,7 @@ - #include <tcl.h> - #include <tk.h> - #include <assert.h> -+#include <stdlib.h> - - #define HEADER_LINE_LENGTH 512 - #define BYTES_PER_PIXEL 2 diff --git a/sci-chemistry/imosflm/files/1.0.4-tk.patch b/sci-chemistry/imosflm/files/1.0.4-tk.patch deleted file mode 100644 index a90175194eb4..000000000000 --- a/sci-chemistry/imosflm/files/1.0.4-tk.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- c/tkImageLoad.c 2009-08-14 21:10:19.000000000 +0200 -+++ c/tkImageLoad.c.new 2009-08-14 21:10:55.000000000 +0200 -@@ -19,6 +19,7 @@ - //#define BLOCKED 1 - //#define UNBLOCKED 1 - #define IN_BLOCK_FLIP 1 -+#define USE_COMPOSITELESS_PHOTO_PUT_BLOCK - - /* *********************************************************************/ - ---- c/tkImageLoad.c 2009-08-14 21:13:29.000000000 +0200 -+++ c/tkImageLoad.c.new 2009-08-14 21:14:59.000000000 +0200 -@@ -272,9 +272,11 @@ - } - /* put the photo block into the image */ - #ifdef __alpha -- Tk_PhotoPutBlock(dp, &db, 0, 0, width, height); -+ Tk_PhotoPutBlock(dp, &db, 0, 0, width, height, -+ TK_PHOTO_COMPOSITE_OVERLAY); - #else -- Tk_PhotoPutBlock(dp, &db, 0, 0, width, height, TK_PHOTO_COMPOSITE_SET); -+ Tk_PhotoPutBlock(dp, &db, 0, 0, width, height, TK_PHOTO_COMPOSITE_SET, -+ TK_PHOTO_COMPOSITE_OVERLAY); - #endif - - /* Free the photo block's memory now it is finished with */ -@@ -417,9 +419,11 @@ - - /* put the photo block back into the image */ - #ifdef __alpha -- Tk_PhotoPutBlock(photo, &block, 0, 0, block.width, block.height); -+ Tk_PhotoPutBlock(photo, &block, 0, 0, block.width, block.height, -+ TK_PHOTO_COMPOSITE_OVERLAY); - #else -- Tk_PhotoPutBlock(photo, &block, 0, 0, block.width, block.height,TK_PHOTO_COMPOSITE_SET); -+ Tk_PhotoPutBlock(photo, &block, 0, 0, block.width, block.height,TK_PHOTO_COMPOSITE_SET, -+ TK_PHOTO_COMPOSITE_OVERLAY); - #endif - /* Free the photo block's memory now it is finished with */ - if (block.pixelPtr) { ---- c/tkImageLoad.c 2009-08-14 21:15:06.000000000 +0200 -+++ c/tkImageLoad.c.new 2009-08-14 21:16:53.000000000 +0200 -@@ -9,6 +9,7 @@ - \************************************************************************/ - - #include <stdio.h> -+#include <string.h> - #include <tcl.h> - #include <tk.h> - #include <assert.h> diff --git a/sci-chemistry/imosflm/files/1.0.7-libpng16.patch b/sci-chemistry/imosflm/files/1.0.7-libpng16.patch deleted file mode 100644 index 27efc6f36f4b..000000000000 --- a/sci-chemistry/imosflm/files/1.0.7-libpng16.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://bugs.gentoo.org/467036 - ---- src/contrast.tcl -+++ src/contrast.tcl -@@ -3,7 +3,7 @@ - - package require palette - --image create photo ::img::pixel_count_v -data "iVBORw0KGgoAAAANSUhEUgAAAA4AAABCCAIAAAGft0AHAAAABGdBTUEAAYagMeiWXwAAASFJREFUKJGtVFEWhCAINJ9H4f4n4jD7YauAA1jGT2EwAxNyMXMppZZu3bv6Q3t3iH7ob3fOPz3wdLoi7y8V1SOZp0NE02Hm7quc6VSVaokFKzMD8qKUUd0tyEQ0z1DchNQaud+JCHclzeIDOUCle7EjcA/XPZU4Klb9y2GDY68LVe8YiAihmXT052G9SQ0+m4yN2J7EZqrvnZpheMdGRLnq5/ViddTusPeux9o5G7fdsskrV9ej8rw3I80LhNUUgqmvwCY8izozZcvo5tGt1owfoGJhoEVtgcXg2da2gJa0JYESseRJ8gvyOYSGlxUkScYFoBoJB+RZrR+H2sWx2vEQrnv0pa4HYkFqF7UHrefRdjE5zQQFAp/Nqwf8XNePZ+AHq5sOPlXtupMAAAAASUVORK5CYII=" -+image create photo ::img::pixel_count_v -data "iVBORw0KGgoAAAANSUhEUgAAAA4AAABCCAIAAAGft0AHAAAABGdBTUEAAYagMeiWXwAAASFJREFUeJytVFEWhCAINJ9H4f4n4jD7YauAA1jGT2EwAxNyMXMppZZu3bv6Q3t3iH7ob3fOPz3wdLoi7y8V1SOZp0NE02Hm7quc6VSVaokFKzMD8qKUUd0tyEQ0z1DchNQaud+JCHclzeIDOUCle7EjcA/XPZU4Klb9y2GDY68LVe8YiAihmXT052G9SQ0+m4yN2J7EZqrvnZpheMdGRLnq5/ViddTusPeux9o5G7fdsskrV9ej8rw3I80LhNUUgqmvwCY8izozZcvo5tGt1owfoGJhoEVtgcXg2da2gJa0JYESseRJ8gvyOYSGlxUkScYFoBoJB+RZrR+H2sWx2vEQrnv0pa4HYkFqF7UHrefRdjE5zQQFAp/Nqwf8XNePZ+AHq5sOPv4fGP4AAAAASUVORK5CYII=" - - class Contrast { - inherit Palette |