diff --git a/media-gfx/gifsicle/gifsicle-1.90.recipe b/media-gfx/gifsicle/gifsicle-1.91.recipe similarity index 73% rename from media-gfx/gifsicle/gifsicle-1.90.recipe rename to media-gfx/gifsicle/gifsicle-1.91.recipe index 29d4c24c5..edf6180e5 100644 --- a/media-gfx/gifsicle/gifsicle-1.90.recipe +++ b/media-gfx/gifsicle/gifsicle-1.91.recipe @@ -6,11 +6,11 @@ interlacing on and off; add transparency; add delays, disposals, and looping \ to animations; add and remove comments; flip and rotate; optimize animations \ for space; change images' colormaps; and other things." HOMEPAGE="http://www.lcdf.org/gifsicle/" -COPYRIGHT="1997-2014 Eddie Kohler" +COPYRIGHT="1997-2018 Eddie Kohler" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="http://www.lcdf.org/gifsicle/gifsicle-$portVersion.tar.gz" -CHECKSUM_SHA256="2d73b096752d58fa604cea559199aa6f55b45a3ec833898f94ff7997d22b834d" +CHECKSUM_SHA256="0a4ee602aa244cdcdd86a250a6b39c94d8343cf526b8fae862d8a0efc337a800" ARCHITECTURES="x86_gcc2 x86 x86_64" @@ -31,6 +31,7 @@ BUILD_PREREQUIRES=" cmd:gcc cmd:make cmd:perl + cmd:sed " PATCH() @@ -41,12 +42,17 @@ PATCH() BUILD() { runConfigure ./configure + if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then + # avoid undefined reference to __sync_add_and_fetch + # from function scale_image_threaded in src/xform.c + sed -i -e "/HAVE___SYNC_ADD_AND_FETCH/ s/1/0/" config.h + fi make } INSTALL() { - make install + make install-strip } TEST()