diff options
Diffstat (limited to 'graphics/cinepaint/patches/patch-ap')
-rw-r--r-- | graphics/cinepaint/patches/patch-ap | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/graphics/cinepaint/patches/patch-ap b/graphics/cinepaint/patches/patch-ap deleted file mode 100644 index ce0bb8d1121..00000000000 --- a/graphics/cinepaint/patches/patch-ap +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ap,v 1.1 2005/03/16 18:32:50 rillig Exp $ - -gcc-2.95.3 cannot handle declarations intermixed with code. - ---- plug-ins/tiff/tiff.c.orig Tue Nov 23 13:17:14 2004 -+++ plug-ins/tiff/tiff.c Wed Mar 16 16:50:25 2005 -@@ -857,12 +857,13 @@ load_image ( gchar *filename) - /* TODO more specific GRAYSCALE handling */ - { size_t size = 0; - char* buf; -+ cmsHPROFILE lp; - LPGAMMATABLE gamma = cmsBuildGamma(256, 1.0), g; - if (info->photomet == PHOTOMETRIC_MINISWHITE) - g = cmsReverseGamma(256, gamma); - else - g = gamma; -- cmsHPROFILE lp = cmsCreateGrayProfile(cmsD50_xyY(), g); -+ lp = cmsCreateGrayProfile(cmsD50_xyY(), g); - _cmsSaveProfileToMem (lp, NULL, &size); - buf = (char*) calloc (sizeof(char), size); - _cmsSaveProfileToMem (lp, buf, &size); |