Mercurial > hg > release > icedtea6-1.11
changeset 2882:bff1ea798749
PR1319: Use #if not #ifdef in giflib 5 patch.
2013-04-16 Andrew John Hughes <gnu.andrew@redhat.com>
* patches/pr1319-support_giflib_5.patch,
Use #if not #ifdef.
author | Andrew John Hughes <gnu.andrew@redhat.com> |
---|---|
date | Tue, 16 Apr 2013 17:01:34 +0100 |
parents | 844ef6a4e570 |
children | a4f35810b04f |
files | ChangeLog patches/pr1319-support_giflib_5.patch |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Apr 17 08:03:37 2013 +0100 +++ b/ChangeLog Tue Apr 16 17:01:34 2013 +0100 @@ -1,3 +1,8 @@ +2013-04-16 Andrew John Hughes <gnu.andrew@redhat.com> + + * patches/pr1319-support_giflib_5.patch, + Use #if not #ifdef. + 2013-04-12 Andrew John Hughes <gnu.andrew@redhat.com> * NEWS: Add PR1362 from last commit and
--- a/patches/pr1319-support_giflib_5.patch Wed Apr 17 08:03:37 2013 +0100 +++ b/patches/pr1319-support_giflib_5.patch Tue Apr 16 17:01:34 2013 +0100 @@ -12,7 +12,7 @@ int SplashDecodeGifStream(Splash * splash, SplashStream * stream) { -+#ifdef GIFLIB_MAJOR >= 5 ++#if GIFLIB_MAJOR >= 5 + int error = 0; + GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc, &error); +