FreeBSD Bugzilla – Attachment 161454 Details for
Bug 203327
graphics/openjpeg: latest changes (from 2.1.0_1 to 2.1.1) break building of mupdf (and possibly other ports)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-load-jpx.c
patch-load-jpx.c (text/plain), 552 bytes, created by
Walter Schwarzenfeld
on 2015-09-27 08:28:01 UTC
(
hide
)
Description:
patch-load-jpx.c
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2015-09-27 08:28:01 UTC
Size:
552 bytes
patch
obsolete
>--- source/fitz/load-jpx.c.orig 2015-09-27 08:21:55 UTC >+++ source/fitz/load-jpx.c >@@ -3,10 +3,15 @@ > /* Without the definition of OPJ_STATIC, compilation fails on windows > * due to the use of __stdcall. We believe it is required on some > * linux toolchains too. */ >+ >+#ifdef __cplusplus >+extern "C" >+{ > #define OPJ_STATIC > #ifndef _MSC_VER > #define OPJ_HAVE_STDINT_H > #endif >+#endif > > #include <openjpeg.h> > >@@ -247,3 +252,6 @@ fz_load_jpx(fz_context *ctx, unsigned ch > > return img; > } >+#ifdef __cplusplus >+} >+#endif >\ No newline at end of file
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 203327
:
161454
|
161766