Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 503114 Details for
Bug 635596
app-text/djview-4.9 : qdjview.cpp:4652:6: error: miniexp_io_t {aka struct miniexp_io_s} has no member named p_print7bits
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to handle newer DDJVU API
djview-4.9-api-update.patch (text/plain), 730 bytes, created by
Jason Miller
on 2017-11-08 18:47:04 UTC
(
hide
)
Description:
Patch to handle newer DDJVU API
Filename:
MIME Type:
Creator:
Jason Miller
Created:
2017-11-08 18:47:04 UTC
Size:
730 bytes
patch
obsolete
>diff -ur djview4-4.9/src/qdjview.cpp b/src/qdjview.cpp >--- djview4-4.9/src/qdjview.cpp 2012-04-09 20:56:55.000000000 -0700 >+++ b/src/qdjview.cpp 2017-11-08 10:34:33.671327783 -0800 >@@ -4643,13 +4643,21 @@ > static QString > miniexp_to_string(miniexp_t expr, int width=40, bool octal=false) > { >+#if DDJVUAPI_VERSION > 21 >+ static int one = miniexp_io_print7bits; >+#else > static int one = 1; >+#endif > QByteArray buffer; > miniexp_io_t io; > miniexp_io_init(&io); > io.fputs = qstring_puts; > io.data[1] = (void*)&buffer; >+#if DDJVUAPI_VERSION >21 >+ io.p_flags = (octal ? &one : 0); >+#else > io.p_print7bits = (octal ? &one : 0); >+#endif > miniexp_pprint_r(&io, expr, width); > return QString::fromUtf8(buffer.data()); > }
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 635596
:
500412
|
500414
|
500416
|
500418
|
500420
|
500422
|
500424
| 503114