From: Anatoly Bobrov Subject: Trivial fix to make Krita link against libgif 5.0.x in openSUSE Leap 42.3 --- plugins/impex/gif/qgiflibhandler.cpp 2018-03-20 10:49:57.000000000 +0300 +++ plugins/impex/gif/qgiflibhandler.cpp 2018-03-23 15:11:33.890071869 +0300 @@ -314,7 +314,7 @@ } } - EGifCloseFile(gif, &err); + EGifCloseFile(gif); return true; }