Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307519 Details for
Bug 410575
=app-text/ghostscript-9.05 libgs9 exports same symbols as libjpeg8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream fix
fix-duplicate-symbols-in-libjpeg.patch (text/plain), 1.43 KB, created by
Marcus Spading
on 2012-04-02 15:22:45 UTC
(
hide
)
Description:
upstream fix
Filename:
MIME Type:
Creator:
Marcus Spading
Created:
2012-04-02 15:22:45 UTC
Size:
1.43 KB
patch
obsolete
>From ceef3232c1fce21f65d4ba43bb54eaf678389bfd Mon Sep 17 00:00:00 2001 >From: Chris Liddell <chris.liddell@artifex.com> >Date: Fri, 2 Mar 2012 11:50:41 +0000 >Subject: [PATCH] Bug 692891: don't hack the libjpeg mem manager.... > >When linking with a shared libjpeg library, don't include the non-public >libjpeg API hack to replace it's low level memory manager with Ghostscript's. >But still do so when using our "local" libjpeg source. > >No cluster differences. >--- > gs/base/sjpegc.c | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/gs/base/sjpegc.c b/gs/base/sjpegc.c >index b050191..7ab7e03 100644 >--- a/gs/base/sjpegc.c >+++ b/gs/base/sjpegc.c >@@ -35,6 +35,9 @@ > */ > > #include "gconfig_.h" >+ >+#if SHARE_JPEG == 0 >+/* Don't use the non-public insterface if we're linking to a shared lib */ > #ifdef DONT_HAVE_JMEMSYS_H > > void * >@@ -67,6 +70,7 @@ jpeg_mem_term(j_common_ptr cinfo); > #else > #include "jmemsys.h" /* for prototypes */ > #endif >+#endif /* SHAREJPEG == 0 */ > > private_st_jpeg_block(); > >@@ -173,6 +177,8 @@ gs_jpeg_destroy(stream_DCT_state * st) > return 0; > } > >+#if SHARE_JPEG == 0 >+/* Don't use the non-public insterface if we're linking to a shared lib */ > /* > * These routines replace the low-level memory manager of the IJG library. > * They pass malloc/free calls to the Ghostscript memory manager. >@@ -277,3 +283,4 @@ jpeg_mem_term(j_common_ptr cinfo) > { > /* no work */ > } >+#endif /* SHAREJPEG == 0 */ >-- >1.7.0.4 >
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 410575
:
307513
|
307515
| 307519