Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 429406 Details for
Bug 578744
media-libs/libmng-2.0.3: : /.../libmng_jpeg.c:108:10: error: FALSE undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libmng-2.0.3-bolean.patch
libmng-2.0.3-bolean.patch (text/plain), 3.63 KB, created by
Joerg Neikes
on 2016-04-01 11:10:09 UTC
(
hide
)
Description:
libmng-2.0.3-bolean.patch
Filename:
MIME Type:
Creator:
Joerg Neikes
Created:
2016-04-01 11:10:09 UTC
Size:
3.63 KB
patch
obsolete
>--- a/libmng_jpeg.c 2012-07-29 21:26:34.000000000 +0200 >+++ b/libmng_jpeg.c 2016-04-01 12:42:16.196127825 +0200 >@@ -66,6 +66,7 @@ > #include "libmng_memory.h" > #include "libmng_pixels.h" > #include "libmng_jpeg.h" >+#include <stdbool.h> > > #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI) > #pragma option -A /* force ANSI-C */ >@@ -105,7 +106,7 @@ > boolean mng_fill_input_buffer (j_decompress_ptr cinfo) > #endif > { >- return FALSE; /* force IJG routine to return to caller */ >+ return false; /* force IJG routine to return to caller */ > } > #endif /* MNG_INCLUDE_JNG_READ */ > >@@ -533,7 +534,7 @@ > #ifdef MNG_SUPPORT_TRACE > MNG_TRACE (pData, MNG_FN_JPEG_DECOMPRESSDATA, MNG_LC_JPEG_READ_HEADER) > #endif >- if (jpeg_read_header (pData->pJPEGdinfo, TRUE) != JPEG_SUSPENDED) >+ if (jpeg_read_header (pData->pJPEGdinfo, true) != JPEG_SUSPENDED) > { /* indicate the header's oke */ > pData->bJPEGhasheader = MNG_TRUE; > /* let's do some sanity checks ! */ >@@ -577,13 +578,13 @@ > /* set parameters for decompression */ > > if (pData->bJPEGprogressive) /* progressive display ? */ >- pData->pJPEGdinfo->buffered_image = TRUE; >+ pData->pJPEGdinfo->buffered_image = true; > > /* jpeg_start_decompress(...); */ > #ifdef MNG_SUPPORT_TRACE > MNG_TRACE (pData, MNG_FN_JPEG_DECOMPRESSDATA, MNG_LC_JPEG_START_DECOMPRESS) > #endif >- if (jpeg_start_decompress (pData->pJPEGdinfo) == TRUE) >+ if (jpeg_start_decompress (pData->pJPEGdinfo) == true) > /* indicate it started */ > pData->bJPEGdecostarted = MNG_TRUE; > >@@ -680,7 +681,7 @@ > #ifdef MNG_SUPPORT_TRACE > MNG_TRACE (pData, MNG_FN_JPEG_DECOMPRESSDATA, MNG_LC_JPEG_FINISH_DECOMPRESS) > #endif >- if (jpeg_finish_decompress (pData->pJPEGdinfo) == TRUE) >+ if (jpeg_finish_decompress (pData->pJPEGdinfo) == true) > { /* indicate it's done */ > pData->bJPEGhasheader = MNG_FALSE; > pData->bJPEGdecostarted = MNG_FALSE; >@@ -887,7 +888,7 @@ > #ifdef MNG_SUPPORT_TRACE > MNG_TRACE (pData, MNG_FN_JPEG_DECOMPRESSDATA, MNG_LC_JPEG_READ_HEADER) > #endif >- if (jpeg_read_header (pData->pJPEGdinfo2, TRUE) != JPEG_SUSPENDED) >+ if (jpeg_read_header (pData->pJPEGdinfo2, true) != JPEG_SUSPENDED) > { /* indicate the header's oke */ > pData->bJPEGhasheader2 = MNG_TRUE; > /* let's do some sanity checks ! */ >@@ -922,13 +923,13 @@ > /* set parameters for decompression */ > > if (pData->bJPEGprogressive2) /* progressive display ? */ >- pData->pJPEGdinfo2->buffered_image = TRUE; >+ pData->pJPEGdinfo2->buffered_image = true; > > /* jpeg_start_decompress(...); */ > #ifdef MNG_SUPPORT_TRACE > MNG_TRACE (pData, MNG_FN_JPEG_DECOMPRESSDATA, MNG_LC_JPEG_START_DECOMPRESS) > #endif >- if (jpeg_start_decompress (pData->pJPEGdinfo2) == TRUE) >+ if (jpeg_start_decompress (pData->pJPEGdinfo2) == true) > /* indicate it started */ > pData->bJPEGdecostarted2 = MNG_TRUE; > >@@ -1017,7 +1018,7 @@ > #ifdef MNG_SUPPORT_TRACE > MNG_TRACE (pData, MNG_FN_JPEG_DECOMPRESSDATA, MNG_LC_JPEG_FINISH_DECOMPRESS) > #endif >- if (jpeg_finish_decompress (pData->pJPEGdinfo2) == TRUE) >+ if (jpeg_finish_decompress (pData->pJPEGdinfo2) == true) > { /* indicate it's done */ > pData->bJPEGhasheader2 = MNG_FALSE; > pData->bJPEGdecostarted2 = MNG_FALSE;
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 578744
: 429406 |
522270
|
522272
|
522274
|
522276
|
522278
|
522280
|
522282