[arch-commits] Commit in evas/trunk (PKGBUILD evas-1.7.5-giflib5.patch)

Ronald van Haren ronald at nymeria.archlinux.org
Mon Aug 26 18:56:06 UTC 2013


    Date: Monday, August 26, 2013 @ 20:56:06
  Author: ronald
Revision: 193653

remove patch

Modified:
  evas/trunk/PKGBUILD
Deleted:
  evas/trunk/evas-1.7.5-giflib5.patch

--------------------------+
 PKGBUILD                 |   10 ----
 evas-1.7.5-giflib5.patch |   93 ---------------------------------------------
 2 files changed, 2 insertions(+), 101 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-26 18:32:42 UTC (rev 193652)
+++ PKGBUILD	2013-08-26 18:56:06 UTC (rev 193653)
@@ -12,15 +12,9 @@
 depends=('eet' 'giflib' 'libpng' 'libjpeg' 'libxrender' 'mesa'
   'fribidi' 'fontconfig' 'freetype2' 'harfbuzz' 'evas_generic_loaders')
 options=('!libtool' '!emptydirs')
-source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz
-        evas-1.7.5-giflib5.patch)
-sha1sums=('ce71de058896e80c8f1822d967a6dcee01a1c9ac'
-          'ec40d3aff6240dc0e33e648c76393f62b985628a')
+source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz)
+sha1sums=('ce71de058896e80c8f1822d967a6dcee01a1c9ac')
 
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../evas-1.7.5-giflib5.patch
-}
 build() {
   cd $pkgname-$pkgver
 

Deleted: evas-1.7.5-giflib5.patch
===================================================================
--- evas-1.7.5-giflib5.patch	2013-08-26 18:32:42 UTC (rev 193652)
+++ evas-1.7.5-giflib5.patch	2013-08-26 18:56:06 UTC (rev 193653)
@@ -1,93 +0,0 @@
-diff --git a/src/modules/loaders/gif/evas_image_load_gif.c b/src/modules/loaders/gif/evas_image_load_gif.c
-index 18a6e23..e8cc562 100644
---- a/src/modules/loaders/gif/evas_image_load_gif.c
-+++ b/src/modules/loaders/gif/evas_image_load_gif.c
-@@ -684,7 +684,9 @@ evas_image_load_file_head_gif(Image_Entry *ie, const char *file, const char *key
-    int                 h;
-    int                 alpha;
-    int                 loop_count = -1;
--
-+#if GIFLIB_MAJOR >= 5
-+   int                 err;
-+#endif
-    w = 0;
-    h = 0;
-    alpha = -1;
-@@ -700,7 +702,11 @@ evas_image_load_file_head_gif(Image_Entry *ie, const char *file, const char *key
-         return EINA_FALSE;
-      }
- 
-+#if GIFLIB_MAJOR >= 5
-+   gif = DGifOpenFileHandle(fd, &err);
-+#else
-    gif = DGifOpenFileHandle(fd);
-+#endif
-    if (!gif)
-      {
-         if (fd) close(fd);
-@@ -826,6 +832,9 @@ evas_image_load_specific_frame(Image_Entry *ie, const char *file, int frame_inde
-    GifFileType       *gif;
-    Image_Entry_Frame *frame = NULL;
-    Gif_Frame         *gif_frame = NULL;
-+#if GIFLIB_MAJOR >= 5
-+   int                err;
-+#endif
- 
- #ifndef __EMX__
-    fd = open(file, O_RDONLY);
-@@ -838,7 +847,11 @@ evas_image_load_specific_frame(Image_Entry *ie, const char *file, int frame_inde
-         return EINA_FALSE;
-      }
- 
-+#if GIFLIB_MAJOR >= 5
-+   gif = DGifOpenFileHandle(fd, &err);
-+#else
-    gif = DGifOpenFileHandle(fd);
-+#endif
-    if (!gif)
-      {
-         if (fd) close(fd);
-@@ -915,6 +928,9 @@ evas_image_load_file_data_gif(Image_Entry *ie, const char *file, const char *key
-           {
-              int           fd;
-              GifFileType  *gif;
-+#if GIFLIB_MAJOR >= 5
-+             int           err;
-+#endif
- 
- #ifndef __EMX__
-              fd = open(file, O_RDONLY);
-@@ -927,7 +943,11 @@ evas_image_load_file_data_gif(Image_Entry *ie, const char *file, const char *key
-                   return EINA_FALSE;
-                }
- 
-+#if GIFLIB_MAJOR >= 5
-+             gif = DGifOpenFileHandle(fd, &err);
-+#else
-              gif = DGifOpenFileHandle(fd);
-+#endif
-              if (!gif)
-                {
-                   if (fd) close(fd);
-@@ -984,6 +1004,9 @@ evas_image_load_frame_duration_gif(Image_Entry *ie, const char *file, const int
-    int                 remain_frames = frame_num;
-    double              duration = 0;
-    int                 frame_count = 0;
-+#if GIFLIB_MAJOR >= 5
-+   int                 err;
-+#endif
- 
-    frame_count = ie->frame_count;
- 
-@@ -1000,7 +1023,11 @@ evas_image_load_frame_duration_gif(Image_Entry *ie, const char *file, const int
- #endif
-    if (fd < 0) return -1;
- 
-+#if GIFLIB_MAJOR >= 5
-+   gif = DGifOpenFileHandle(fd, &err);
-+#else
-    gif = DGifOpenFileHandle(fd);
-+#endif
-    if (!gif)
-      {
-         if (fd) close(fd);




More information about the arch-commits mailing list