Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 403346 Details for
Bug 520894
media-gfx/darktable-1.4.2: fails to build with jpeg-9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix compilation issue with jpeg-09a
jpeg-09a-1.6.4.patch (text/plain), 2.14 KB, created by
Guillaume Ranquet
on 2015-05-15 20:50:22 UTC
(
hide
)
Description:
Fix compilation issue with jpeg-09a
Filename:
MIME Type:
Creator:
Guillaume Ranquet
Created:
2015-05-15 20:50:22 UTC
Size:
2.14 KB
patch
obsolete
>diff --git src/common/imageio_jpeg.c src/common/imageio_jpeg.c >index 40f82ff..1b1b0be 100644 >--- src/common/imageio_jpeg.c >+++ src/common/imageio_jpeg.c >@@ -99,7 +99,7 @@ int dt_imageio_jpeg_decompress_header(const void *in, size_t length, dt_imageio_ > > jpg->dinfo.src = &(jpg->src); > // jpg->dinfo.buffered_image = TRUE; >- jpeg_read_header(&(jpg->dinfo), TRUE); >+ jpeg_read_header(&(jpg->dinfo), (boolean)TRUE); > jpg->width = jpg->dinfo.image_width; > jpg->height = jpg->dinfo.image_height; > return 0; >@@ -483,7 +483,7 @@ int dt_imageio_jpeg_read_header(const char *filename, dt_imageio_jpeg_t *jpg) > jpeg_stdio_src(&(jpg->dinfo), jpg->f); > setup_read_icc_profile(&(jpg->dinfo)); > // jpg->dinfo.buffered_image = TRUE; >- jpeg_read_header(&(jpg->dinfo), TRUE); >+ jpeg_read_header(&(jpg->dinfo), (boolean)TRUE); > jpg->width = jpg->dinfo.image_width; > jpg->height = jpg->dinfo.image_height; > return 0; >diff --git src/external/rawspeed/RawSpeed/DngDecoderSlices.cpp src/external/rawspeed/RawSpeed/DngDecoderSlices.cpp >index bdafb7e..72a80c5 100644 >--- src/external/rawspeed/RawSpeed/DngDecoderSlices.cpp >+++ src/external/rawspeed/RawSpeed/DngDecoderSlices.cpp >@@ -177,7 +177,7 @@ void DngDecoderSlices::decodeSlice(DngDecoderThread* t) { > CHECKSIZE(e.byteOffset+e.byteCount); > JPEG_MEMSRC(&dinfo, (unsigned char*)mFile->getData(e.byteOffset), e.byteCount); > >- if (JPEG_HEADER_OK != jpeg_read_header(&dinfo, TRUE)) >+ if (JPEG_HEADER_OK != jpeg_read_header(&dinfo, (boolean)TRUE)) > ThrowRDE("DngDecoderSlices: Unable to read JPEG header"); > > jpeg_start_decompress(&dinfo); >diff --git src/imageio/format/jpeg.c src/imageio/format/jpeg.c >index 510318b..383708c 100644 >--- src/imageio/format/jpeg.c >+++ src/imageio/format/jpeg.c >@@ -416,7 +416,7 @@ int read_header(const char *filename, dt_imageio_jpeg_t *jpg) > jpeg_create_decompress(&(jpg->dinfo)); > jpeg_stdio_src(&(jpg->dinfo), jpg->f); > // jpg->dinfo.buffered_image = TRUE; >- jpeg_read_header(&(jpg->dinfo), TRUE); >+ jpeg_read_header(&(jpg->dinfo), (boolean)TRUE); > jpg->width = jpg->dinfo.image_width; > jpg->height = jpg->dinfo.image_height; > return 0;
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 520894
: 403346