extra/efl to 1.10.0-2

This commit is contained in:
Kevin Mihelich 2014-06-14 19:54:08 +00:00
parent e9434bd595
commit 9372042871
2 changed files with 52 additions and 9 deletions

View file

@ -8,7 +8,7 @@
pkgbase=efl pkgbase=efl
pkgname=('efl' 'efl-docs') pkgname=('efl' 'efl-docs')
pkgver=1.10.0 pkgver=1.10.0
pkgrel=1 pkgrel=2
pkgdesc="Enlightenment Foundation Libraries" pkgdesc="Enlightenment Foundation Libraries"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.enlightenment.org" url="http://www.enlightenment.org"
@ -22,13 +22,17 @@ makedepends=('doxygen')
replaces=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo' replaces=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo'
'emotion' 'ethumb' 'evas') 'emotion' 'ethumb' 'evas')
options=('!emptydirs') options=('!emptydirs')
source=(http://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.gz) source=(http://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.gz
efl-1.10.0-giflib-5.1.0.patch)
install=efl.install install=efl.install
sha1sums=('c9e57f55f050e2a7e97e870857170163a550beaa') sha1sums=('c9e57f55f050e2a7e97e870857170163a550beaa'
'269bc6104859291107aa0c9eac2d9d3026df5b12')
prepare() { prepare() {
sed -i 's/env python$/&2/' "${srcdir}/${pkgname}-${pkgver}/src/scripts/eina/eina-bench-cmp" cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's/env python$/&2/' src/scripts/eina/eina-bench-cmp
patch -p1 -i "${srcdir}/efl-1.10.0-giflib-5.1.0.patch"
} }
build() { build() {

View file

@ -0,0 +1,39 @@
diff -rupN a/src/modules/evas/loaders/gif/evas_image_load_gif.c b/src/modules/evas/loaders/gif/evas_image_load_gif.c
--- a/src/modules/evas/loaders/gif/evas_image_load_gif.c 2014-05-19 16:10:12.000000000 +0000
+++ b/src/modules/evas/loaders/gif/evas_image_load_gif.c 2014-06-01 11:05:50.963850389 +0000
@@ -528,7 +528,7 @@ evas_image_load_file_head_gif2(void *loa
ret = EINA_TRUE;
on_error: // jump here on any errors to clean up
- if (gif) DGifCloseFile(gif);
+ if (gif) DGifCloseFile(gif, NULL);
if (fi.map) eina_file_map_free(f, fi.map);
return ret;
}
@@ -606,7 +606,7 @@ open_file:
// start as we have nothnig to build on
if ((index > 0) && (index < loader->imgnum) && (animated->animated))
{
- if (loader->gif) DGifCloseFile(loader->gif);
+ if (loader->gif) DGifCloseFile(loader->gif, NULL);
if ((loader->fi.map) && (loader->f))
eina_file_map_free(loader->f, loader->fi.map);
loader->gif = NULL;
@@ -764,7 +764,7 @@ open_file:
loader->imgnum = imgnum;
if ((animated->frame_count <= 1) || (rec == TERMINATE_RECORD_TYPE))
{
- if (loader->gif) DGifCloseFile(loader->gif);
+ if (loader->gif) DGifCloseFile(loader->gif, NULL);
if ((loader->fi.map) && (loader->f))
eina_file_map_free(loader->f, loader->fi.map);
loader->gif = NULL;
@@ -848,7 +848,7 @@ static void
evas_image_load_file_close_gif2(void *loader_data)
{
Loader_Info *loader = loader_data;
- if (loader->gif) DGifCloseFile(loader->gif);
+ if (loader->gif) DGifCloseFile(loader->gif, NULL);
if ((loader->fi.map) && (loader->f))
eina_file_map_free(loader->f, loader->fi.map);
free(loader);