Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385432 Details for
Bug 523680
media-gfx/fbida-2.09-r2 with media-libs/giflib-5* - rd/read-gif.c:28:6: error: too few arguments to function ‘GifErrorString’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix compilation with giflib 5
fbida-2.09-giflib-5.patch (text/plain), 1.23 KB, created by
Paolo Pedroni
on 2014-09-25 09:34:36 UTC
(
hide
)
Description:
Patch to fix compilation with giflib 5
Filename:
MIME Type:
Creator:
Paolo Pedroni
Created:
2014-09-25 09:34:36 UTC
Size:
1.23 KB
patch
obsolete
>--- a/rd/read-gif.c 2014-09-24 12:11:46.230611857 +0200 >+++ b/rd/read-gif.c 2014-09-24 16:25:15.858994640 +0200 >@@ -25,7 +25,11 @@ > if (GIF_ERROR == DGifGetRecordType(h->gif,&RecordType)) { > if (debug) > fprintf(stderr,"gif: DGifGetRecordType failed\n"); >+#if GIFLIB_MAJOR >= 5 >+ GifErrorString((NULL)); >+#else > GifErrorString(); >+#endif > return -1; > } > switch (RecordType) { >@@ -42,7 +46,11 @@ > if (rc == GIF_ERROR) { > if (debug) > fprintf(stderr,"gif: DGifGetExtension failed\n"); >+#if GIFLIB_MAJOR >= 5 >+ GifErrorString((NULL)); >+#else > GifErrorString(); >+#endif > return -1; > } > if (debug) { >@@ -98,7 +106,11 @@ > memset(h,0,sizeof(*h)); > > h->infile = fp; >+#if GIFLIB_MAJOR >= 5 >+ h->gif = DGifOpenFileHandle(fileno(fp),NULL); >+#else > h->gif = DGifOpenFileHandle(fileno(fp)); >+#endif > h->row = malloc(h->gif->SWidth * sizeof(GifPixelType)); > > while (0 == image) { >@@ -108,7 +120,11 @@ > if (GIF_ERROR == DGifGetImageDesc(h->gif)) { > if (debug) > fprintf(stderr,"gif: DGifGetImageDesc failed\n"); >+#if GIFLIB_MAJOR >= 5 >+ GifErrorString((NULL)); >+#else > GifErrorString(); >+#endif > } > if (NULL == h->gif->SColorMap && > NULL == h->gif->Image.ColorMap) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 523680
:
385430
| 385432