Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 895662 Details for
Bug 1097945
[PATCH] inkscape FTBFS against poppler-0.26, gc-7.4
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
gc-7.4 patch
inkscape-0.48.4-gc74.patch (text/plain), 2.91 KB, created by
Sandro Mani
on 2014-05-14 23:08:12 UTC
(
hide
)
Description:
gc-7.4 patch
Filename:
MIME Type:
Creator:
Sandro Mani
Created:
2014-05-14 23:08:12 UTC
Size:
2.91 KB
patch
obsolete
>diff -rupN inkscape-0.48.4/configure.ac inkscape-0.48.4-new/configure.ac >--- inkscape-0.48.4/configure.ac 2012-12-15 17:50:19.205918190 +0100 >+++ inkscape-0.48.4-new/configure.ac 2014-05-15 00:29:24.076377009 +0200 >@@ -263,7 +263,7 @@ if test "x$gc_ok" = "xyes" && test "x$cr > # include <gc.h> > #endif > #include <stdio.h> >- extern unsigned GC_version; >+ unsigned GC_version = GC_get_version(); > int main(void){ > unsigned min = ((6 << 16) | (4 << 8) | 0); > printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); >diff -rupN inkscape-0.48.4/src/gc-core.h inkscape-0.48.4-new/src/gc-core.h >--- inkscape-0.48.4/src/gc-core.h 2012-02-14 04:22:17.670697000 +0100 >+++ inkscape-0.48.4-new/src/gc-core.h 2014-05-15 00:28:40.838404308 +0200 >@@ -57,7 +57,7 @@ struct Ops { > CleanupFunc *old_func, > void **old_data); > int (*general_register_disappearing_link)(void **p_ptr, >- void *base); >+ const void *base); > int (*unregister_disappearing_link)(void **p_ptr); > std::size_t (*get_heap_size)(); > std::size_t (*get_free_bytes)(); >diff -rupN inkscape-0.48.4/src/gc.cpp inkscape-0.48.4-new/src/gc.cpp >--- inkscape-0.48.4/src/gc.cpp 2012-02-14 04:22:17.670697000 +0100 >+++ inkscape-0.48.4-new/src/gc.cpp 2014-05-15 00:28:40.839404331 +0200 >@@ -70,8 +70,8 @@ void *debug_base(void *ptr) { > return base + debug_base_fixup(); > } > >-int debug_general_register_disappearing_link(void **p_ptr, void *base) { >- char *real_base=reinterpret_cast<char *>(base) - debug_base_fixup(); >+int debug_general_register_disappearing_link(void **p_ptr, const void *base) { >+ char *real_base=const_cast<char *>(reinterpret_cast<const char *>(base)) - debug_base_fixup(); > return GC_general_register_disappearing_link(p_ptr, real_base); > } > >@@ -90,7 +90,7 @@ void dummy_register_finalizer(void *, Cl > } > } > >-int dummy_general_register_disappearing_link(void **, void *) { return false; } >+int dummy_general_register_disappearing_link(void **, const void *) { return false; } > > int dummy_unregister_disappearing_link(void **/*link*/) { return false; } > >@@ -112,7 +112,11 @@ Ops enabled_ops = { > &GC_malloc_atomic_uncollectable, > &GC_base, > &GC_register_finalizer_ignore_self, >+#if (GC_MAJOR_VERSION >= 7 && GC_MINOR_VERSION >= 4) > &GC_general_register_disappearing_link, >+#else >+ (int (*)(void**, const void*))(&GC_general_register_disappearing_link), >+#endif > &GC_unregister_disappearing_link, > &GC_get_heap_size, > &GC_get_free_bytes, >@@ -202,7 +206,7 @@ void stub_register_finalizer_ignore_self > die_because_not_initialized(); > } > >-int stub_general_register_disappearing_link(void **, void *) { >+int stub_general_register_disappearing_link(void **, const void *) { > die_because_not_initialized(); > 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 1097945
:
895661
| 895662