diff -Nru swftools-0.9.2+git20130725/debian/changelog swftools-0.9.2+git20130725/debian/changelog --- swftools-0.9.2+git20130725/debian/changelog 2014-03-04 08:41:18.000000000 +0000 +++ swftools-0.9.2+git20130725/debian/changelog 2015-12-24 01:10:32.000000000 +0000 @@ -1,3 +1,9 @@ +swftools (0.9.2+git20130725-2+rpi1) stretch-staging; urgency=medium + + * Apply patch by doko to fix build with giflib 5 + + -- Peter Michael Green Thu, 24 Dec 2015 01:09:17 +0000 + swftools (0.9.2+git20130725-2) unstable; urgency=low * Removed build dependency on libt1-dev. (Closes: 732651) diff -Nru swftools-0.9.2+git20130725/debian/patches/giflib5.diff swftools-0.9.2+git20130725/debian/patches/giflib5.diff --- swftools-0.9.2+git20130725/debian/patches/giflib5.diff 1970-01-01 00:00:00.000000000 +0000 +++ swftools-0.9.2+git20130725/debian/patches/giflib5.diff 2015-10-27 02:32:13.000000000 +0000 @@ -0,0 +1,22 @@ +Index: b/src/gif2swf.c +=================================================================== +--- a/src/gif2swf.c ++++ b/src/gif2swf.c +@@ -468,7 +468,7 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, c + + free(pal); + free(imagedata); +- DGifCloseFile(gft); ++ DGifCloseFile(gft, NULL); + + return t; + } +@@ -541,7 +541,7 @@ int CheckInputFile(char *fname, char **r + fprintf(stderr, "frame: %u, delay: %.3f sec\n", i + 1, getGifDelayTime(gft, i) / 100.0); + } + +- DGifCloseFile(gft); ++ DGifCloseFile(gft, NULL); + + return 0; + } diff -Nru swftools-0.9.2+git20130725/debian/patches/series swftools-0.9.2+git20130725/debian/patches/series --- swftools-0.9.2+git20130725/debian/patches/series 2014-03-04 08:41:18.000000000 +0000 +++ swftools-0.9.2+git20130725/debian/patches/series 2015-10-27 02:31:20.000000000 +0000 @@ -6,3 +6,4 @@ makefile.patch spelling.patch remove-fontconfig.patch +giflib5.diff