Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 231363 Details for
Bug 307487
dev-games/ogre needs media-libs/freeimage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
freeimage-3.13.1-system-jpeg.patch
freeimage-3.13.1-system-jpeg.patch (text/plain), 1.75 KB, created by
Azamat H. Hackimov
on 2010-05-13 19:44:09 UTC
(
hide
)
Description:
freeimage-3.13.1-system-jpeg.patch
Filename:
MIME Type:
Creator:
Azamat H. Hackimov
Created:
2010-05-13 19:44:09 UTC
Size:
1.75 KB
patch
obsolete
>diff --git a/Source/FreeImage/PluginJPEG.cpp b/Source/FreeImage/PluginJPEG.cpp >index b6f523a..aaecc19 100644 >--- a/Source/FreeImage/PluginJPEG.cpp >+++ b/Source/FreeImage/PluginJPEG.cpp >@@ -34,9 +34,10 @@ extern "C" { > #undef FAR > #include <setjmp.h> > >-#include "../LibJPEG/jinclude.h" >-#include "../LibJPEG/jpeglib.h" >-#include "../LibJPEG/jerror.h" >+#include <sys/types.h> >+#include <stdio.h> >+#include <jpeglib.h> >+#include <jerror.h> > } > > #include "FreeImage.h" >@@ -44,6 +45,7 @@ extern "C" { > > #include "../Metadata/FreeImageTag.h" > >+#define SIZEOF(object) ((size_t) sizeof(object)) > > // ========================================================== > // Plugin Interface >diff --git a/Source/FreeImageToolkit/JPEGTransform.cpp b/Source/FreeImageToolkit/JPEGTransform.cpp >index 16fc894..45ac958 100644 >--- a/Source/FreeImageToolkit/JPEGTransform.cpp >+++ b/Source/FreeImageToolkit/JPEGTransform.cpp >@@ -25,12 +25,12 @@ extern "C" { > #undef FAR > #include <setjmp.h> > >-#include "../LibJPEG/jinclude.h" >-#include "../LibJPEG/jpeglib.h" >-#include "../LibJPEG/jerror.h" >-#include "../LibJPEG/transupp.h" >-} >- >+#include <sys/types.h> >+#include <stdio.h> >+#include <jpeglib.h> >+#include <jerror.h> >+#include "../LibJPEG/transupp.h" >+} > #include "FreeImage.h" > #include "Utilities.h" > >@@ -266,7 +266,7 @@ LosslessTransform(const FilenameIO *filenameIO, FREE_IMAGE_JPEG_OPERATION operat > jcopy_markers_execute(&srcinfo, &dstinfo, copyoption); > > // Execute image transformation, if any >- jtransform_execute_transformation(&srcinfo, &dstinfo, src_coef_arrays, &transfoptions); >+ jtransform_execute_transform(&srcinfo, &dstinfo, src_coef_arrays, &transfoptions); > > // Finish compression and release memory > jpeg_finish_compress(&dstinfo);
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 307487
:
221795
|
221797
|
229277
|
229279
|
230479
|
230481
|
231361
| 231363 |
231365
|
231367
|
231369
|
231371
|
231373
|
231375
|
231741