FS#54772 - [libb64] BUFSIZ error

Attached to Project: Community Packages
Opened by Simon Désaulniers (sim590) - Wednesday, 12 July 2017, 06:53 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Thursday, 13 July 2017, 07:53 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The current packaged version yields the following error message for a simple base64::decoder instantiation:

/usr/include/b64/decode.h:25:31: error: ‘BUFFERSIZE’ was not declared in this scope
decoder(int buffersize_in = BUFFERSIZE)
/usr/include/b64/decode.h:25:31: note: suggested alternative: ‘BUFSIZ’
decoder(int buffersize_in = BUFFERSIZE)
main.cpp: In function ‘int main(int, char**)’:
main.cpp:158:37: error: call to ‘base64::decoder::decoder(int)’ uses the default argument for parameter 1, which is not yet defined
base64::decoder d;

I can confirm that this bug doesn't occur on debian with version 1.2. Indeed, they have some patches for this. Can you patch it as well? Here is the page of the package on debian:


You can find patches in the *.debian.tar.gz file on the right handside menu.

This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Thursday, 13 July 2017, 07:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  libb64-1.2.1-2