From a023ca0bf7148e5e245338e13b94379e4c2ebcc6 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:39:03 +0100 Subject: [PATCH] automatic version update by autodist [release 1.4.7-1mamba;Mon Apr 13 2015] --- libimlib2-1.4.6-libgif-5.0.6.patch | 15 +++++++++++++++ libimlib2.spec | 12 +++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 libimlib2-1.4.6-libgif-5.0.6.patch diff --git a/libimlib2-1.4.6-libgif-5.0.6.patch b/libimlib2-1.4.6-libgif-5.0.6.patch new file mode 100644 index 0000000..ef8320d --- /dev/null +++ b/libimlib2-1.4.6-libgif-5.0.6.patch @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_loaders_loader__gif.c,v 1.1 2013/07/06 05:58:03 ryoon Exp $ + +* Fix build with giflib 5.0. + +--- src/modules/loaders/loader_gif.c.orig 2011-04-15 22:05:28.000000000 +0000 ++++ src/modules/loaders/loader_gif.c +@@ -36,7 +36,7 @@ load(ImlibImage * im, ImlibProgressFunct + #endif + if (fd < 0) + return 0; +- gif = DGifOpenFileHandle(fd); ++ gif = DGifOpenFileHandle(fd, NULL); + if (!gif) + { + close(fd); diff --git a/libimlib2.spec b/libimlib2.spec index 589c01b..8d49c9f 100644 --- a/libimlib2.spec +++ b/libimlib2.spec @@ -1,7 +1,7 @@ %define with_imlib2_loaders 0 Name: libimlib2 -Version: 1.4.5 +Version: 1.4.7 Release: 1mamba Summary: A powerful image loading and rendering library Group: System/Libraries @@ -12,6 +12,7 @@ URL: http://www.rasterman.com/imlib.html Source0: http://download.sourceforge.net/sourceforge/enlightenment/imlib2-%{version}.tar.gz Source1: http://download.sourceforge.net/sourceforge/enlightenment/imlib2_loaders-%{version}.tar.gz Patch: %{name}-1.2.0-dload.patch +Patch1: libimlib2-1.4.6-libgif-5.0.6.patch License: BSD Requires: %{name}-filters = %{version}-%{release} Requires: %{name}-loaders = %{version}-%{release} @@ -25,7 +26,7 @@ BuildRequires: libid3tag-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel -BuildRequires: libungif-devel +BuildRequires: libgif-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libz-devel @@ -65,6 +66,7 @@ This package contains Imlib2 image loader/saver for various graphic formats, suc %prep %setup -q -n imlib2-%{version} -a1 #%patch -p1 +%patch1 -p1 %build %configure \ @@ -102,7 +104,7 @@ cd imlib2_loaders-%{version} %dir %{_datadir}/imlib2/ %{_datadir}/imlib2/data/fonts/* %{_datadir}/imlib2/data/images/* -%doc AUTHORS ChangeLog COPYING README TODO doc/{index.html,*.gif} +%doc AUTHORS COPYING %files devel %defattr(-, root, root) @@ -112,6 +114,7 @@ cd imlib2_loaders-%{version} %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%doc ChangeLog README TODO doc/{index.html,*.gif} %files filters %defattr(-,root,root) @@ -126,6 +129,9 @@ cd imlib2_loaders-%{version} %{_libdir}/imlib2/loaders/* %changelog +* Mon Apr 13 2015 Automatic Build System 1.4.7-1mamba +- automatic version update by autodist + * Sun Sep 02 2012 Silvan Calarco 1.4.5-1mamba - update to 1.4.5