Hello community, here is the log from the commit of package img2eps for openSUSE:Factory checked in at 2015-01-30 06:12:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/img2eps (Old) and /work/SRC/openSUSE:Factory/.img2eps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "img2eps" Changes: -------- --- /work/SRC/openSUSE:Factory/img2eps/img2eps.changes 2013-02-19 13:34:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.img2eps.new/img2eps.changes 2015-01-30 06:12:30.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 29 13:38:01 UTC 2015 - [email protected] + +- Update img2eps-giflib.patch: cope with giflib 5.1 API change + (DGifCloseFile now takes two parameters). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ img2eps.spec ++++++ --- /var/tmp/diff_new_pack.lTiNCu/_old 2015-01-30 06:12:31.000000000 +0100 +++ /var/tmp/diff_new_pack.lTiNCu/_new 2015-01-30 06:12:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package img2eps # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ img2eps-giflib.patch ++++++ --- /var/tmp/diff_new_pack.lTiNCu/_old 2015-01-30 06:12:31.000000000 +0100 +++ /var/tmp/diff_new_pack.lTiNCu/_new 2015-01-30 06:12:31.000000000 +0100 @@ -1,10 +1,17 @@ +Index: src/im_gif.c +=================================================================== --- src/im_gif.c.orig +++ src/im_gif.c -@@ -80,7 +80,11 @@ gif_close(image_gif *im) +@@ -79,8 +79,16 @@ gif_close(image_gif *im) + { free(im->pal); ++#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5) || (GIFLIB_MAJOR == 5 && GIFIB_MINOR >= 1) ++ if (DGifCloseFile(im->gif, NULL) != GIF_OK) ++#else if (DGifCloseFile(im->gif) != GIF_OK) - throwf(EIO, "error closing: %s", _errstr(GifLastError())); ++#endif +#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5) + throwf(EIO, "error closing: %s", GifErrorString(im->gif->Error)); +#else @@ -13,7 +20,7 @@ image_free((image *)im); } -@@ -115,8 +119,11 @@ gif_open(char *fname) +@@ -115,8 +123,11 @@ gif_open(char *fname) image_gif *im; GifFileType *gif; exception ex; @@ -26,7 +33,19 @@ return NULL; if (catch(&ex) == 0) { -@@ -195,9 +202,12 @@ gif_read_start(image_gif *im) +@@ -124,7 +135,11 @@ gif_open(char *fname) + drop(); + } + else { ++#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5) || (GIFLIB_MAJOR == 5 && GIFIB_MINOR >= 1) ++ DGifCloseFile(im->gif, NULL); ++#else + DGifCloseFile(im->gif); ++#endif + throw(&ex); + } + +@@ -195,9 +210,12 @@ gif_read_start(image_gif *im) */ if (DGifSlurp(im->gif) != GIF_OK) @@ -40,6 +59,8 @@ if (im->gif->ImageCount != 1) throws(EOPNOTSUPP, "multi-image GIFs not supported"); +Index: src/exceptions.c +=================================================================== --- src/exceptions.c.orig +++ src/exceptions.c @@ -35,6 +35,10 @@ @@ -53,6 +74,8 @@ #include <errno.h> #include <setjmp.h> #include <stdarg.h> +Index: src/getopt_long.c +=================================================================== --- src/getopt_long.c.orig +++ src/getopt_long.c @@ -37,6 +37,10 @@ @@ -66,6 +89,8 @@ #include <errno.h> #include <stdio.h> #include <stdlib.h> +Index: src/st_ascii85.c +=================================================================== --- src/st_ascii85.c.orig +++ src/st_ascii85.c @@ -35,6 +35,10 @@ @@ -79,6 +104,8 @@ #include "exceptions.h" #include "stream.h" #include "stream_types.h" +Index: src/st_asciihex.c +=================================================================== --- src/st_asciihex.c.orig +++ src/st_asciihex.c @@ -35,6 +35,10 @@ @@ -92,6 +119,8 @@ #include "exceptions.h" #include "stream.h" #include "stream_types.h" +Index: src/st_file.c +=================================================================== --- src/st_file.c.orig +++ src/st_file.c @@ -35,6 +35,10 @@ @@ -105,6 +134,8 @@ #include <errno.h> #include <stdio.h> #include <string.h> +Index: src/st_line.c +=================================================================== --- src/st_line.c.orig +++ src/st_line.c @@ -35,6 +35,10 @@ @@ -118,6 +149,8 @@ #include "stream.h" #include "stream_types.h" +Index: src/st_runlength.c +=================================================================== --- src/st_runlength.c.orig +++ src/st_runlength.c @@ -35,6 +35,10 @@ @@ -131,6 +164,8 @@ #include "stream.h" #include "stream_types.h" +Index: src/stream.c +=================================================================== --- src/stream.c.orig +++ src/stream.c @@ -35,6 +35,10 @@ @@ -144,6 +179,8 @@ #include <errno.h> #include <stdarg.h> #include <stdio.h> +Index: src/util.c +=================================================================== --- src/util.c.orig +++ src/util.c @@ -35,6 +35,10 @@ @@ -157,6 +194,8 @@ #include <string.h> #include "util.h" +Index: src/xmalloc.c +=================================================================== --- src/xmalloc.c.orig +++ src/xmalloc.c @@ -35,6 +35,10 @@ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
