[Lunar-commits] <moonbase-other> imlib2: Adding a patch

Dennis Veatch dennisveatch at bellsouth.net
Wed Sep 10 13:00:45 CEST 2014


commit 842803f7bf004926d5b81a9dd03e2f218fe6eba3
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Wed, 10 Sep 2014 07:00:29 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/842803f7bf004926d5b81a9dd03e2f218fe6eba3

imlib2: Adding a patch
---
  graphics/imlib2/BUILD   | +3/-8     
  graphics/imlib2/DETAILS | +3/-0     
  2 files changed, 6 insertions(+), 8 deletions(-)

--- a/graphics/imlib2/BUILD
+++ b/graphics/imlib2/BUILD
@@ -1,13 +1,8 @@
-(
 
-  if installed_version giflib > 5; then
-    sedit "s/DGifOpenFileHandle(fd)/DGifOpenFileHandle(fd, NULL)/" src/modules/loaders/loader_gif.c &&
-    sedit "s/DGifCloseFile(gif)/DGifCloseFile(gif, NULL)/" src/modules/loaders/loader_gif.c
-  fi  &&
+  patch_it $SOURCE2 1 &&
+
+  sedit "s:\@my_libs\@::g" imlib2-config.in &&
 
   OPTS+=" --disable-static" &&
 
   default_build
-
-) > $C_FIFO 2>&1
-
--- a/graphics/imlib2/DETAILS
+++ b/graphics/imlib2/DETAILS
@@ -1,8 +1,11 @@
           MODULE=imlib2
          VERSION=1.4.6
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=imlib2-1.4.5-giflib-5.patch
       SOURCE_URL=$SFORGE_URL/enlightenment
+     SOURCE2_URL=http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/imlib2/files/
       SOURCE_VFY=sha1:238943914df6caacda910ec9cfc81f4269a025aa
+     SOURCE2_VFY=sha1:2ae473368bd4d128c7fe893e74254a861a0c2c1d
         WEB_SITE=http://enlightenment.org
          ENTERED=20010922
          UPDATED=20140201




More information about the Lunar-commits mailing list