]> git.pld-linux.org Git - packages/ming.git/commitdiff
- updated giflib patch for giflib 5.1.0 auto/th/ming-0.4.5-7
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Oct 2014 21:38:29 +0000 (22:38 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Oct 2014 21:38:29 +0000 (22:38 +0100)
ming-giflib.patch
ming.spec

index 24b663539a62d51f4682dd0f97f7176d6ab2b127..ee0bd47b4cf9fe24a4842ccca15955c67b15dc59 100644 (file)
@@ -1,5 +1,23 @@
 --- ming-0.4.5/src/blocks/gifdbl.c.orig        2010-10-10 09:19:23.000000000 +0200
 +++ ming-0.4.5/src/blocks/gifdbl.c     2014-04-06 21:48:13.695395774 +0200
+@@ -69,7 +69,7 @@
+       unsigned char *bits;
+       unsigned char *data;
+       unsigned char *p;
+-      int i, nColors, size, alpha, bgColor, alignedWidth, bytesPerColor;
++      int i, nColors, size, alpha, bgColor, alignedWidth, bytesPerColor, giferror;
+       unsigned long outsize;
+       if(DGifSlurp(file) != GIF_OK)
+@@ -203,7 +203,7 @@
+       }
+       /* Done! */
+-      DGifCloseFile(file);
++      DGifCloseFile(file, &giferror);
+       result->data = malloc(outsize = (int)floor(size*1.01+12));
 @@ -227,7 +227,7 @@ SWFDBLBitmapData newSWFDBLBitmapData_fro
        SWFDBLBitmapData ret;
        struct dbl_data gifdata;
  
    /* data should now be available */
  
+@@ -189,7 +189,7 @@
+   }
+       /* Done! */
+-  DGifCloseFile(file);
++  DGifCloseFile(file, &err);
+   *length = size;
+   return data;
 --- ming-0.4.5/util/gif2mask.c.orig    2013-06-08 16:08:51.000000000 +0200
 +++ ming-0.4.5/util/gif2mask.c 2014-04-06 21:59:20.702048538 +0200
 @@ -13,10 +13,9 @@
index 1da401992b2386b132af1999a89c5143527dadbf..74a92688cb67f9475652d831fa74b755da4efbc8 100644 (file)
--- a/ming.spec
+++ b/ming.spec
@@ -7,7 +7,7 @@ Summary:        Ming - an SWF output library
 Summary(pl.UTF-8):     Ming - biblioteka do produkcji plików SWF
 Name:          ming
 Version:       0.4.5
-Release:       6
+Release:       7
 License:       LGPL
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/ming/%{name}-%{version}.tar.gz
This page took 0.166456 seconds and 4 git commands to generate.