diff options
author | Jose V Beneyto <sepen@crux.nu> | 2012-10-22 13:25:52 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2012-10-22 13:25:52 +0200 |
commit | b2072c98f4a43e1d942e194d86a93e5935dbf36a (patch) | |
tree | b8abe89bd7ddff8713ad9caacb88bad4f081faa1 /imlib2 | |
parent | a49151626e12853de758c8db9cd5331212ed76f0 (diff) | |
download | opt-b2072c98f4a43e1d942e194d86a93e5935dbf36a.tar.gz opt-b2072c98f4a43e1d942e194d86a93e5935dbf36a.tar.xz |
imlib2: fixed giflib loader compilation
Diffstat (limited to 'imlib2')
-rw-r--r-- | imlib2/Pkgfile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/imlib2/Pkgfile b/imlib2/Pkgfile index b35432a56..8523d0ae5 100644 --- a/imlib2/Pkgfile +++ b/imlib2/Pkgfile @@ -2,16 +2,22 @@ # URL: http://freshmeat.net/projects/imlib2/ # Maintainer: Jose V Beneyto, sepen at crux dot nu # Packager: Matt Housh, jaeger at morpheus dot net -# Depends on: freetype, libid3tag, libpng, libtiff, libungif, xorg-libsm, xorg-libxext +# Depends on: freetype, libid3tag, libpng, libtiff, giflib, xorg-libsm, xorg-libxext name=imlib2 version=1.4.5 -release=1 +release=2 source=(http://download.sourceforge.net/enlightenment/$name-$version.tar.bz2) build() { cd $name-$version + + # fix giflib loader + sed -i src/modules/loaders/loader_gif.c \ + -e 's|DGifOpenFileHandle(fd)|DGifOpenFileHandle(fd,0)|' + ./configure --prefix=/usr + make make DESTDIR=$PKG install } |