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
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
|
Details
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) ^~~~~~~~~~ BUFSIZ 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: https://packages.debian.org/buster/libb64-dev You can find patches in the *.debian.tar.gz file on the right handside menu. Regards, |
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
Thursday, 13 July 2017, 07:53 GMT
Reason for closing: Fixed
Additional comments about closing: libb64-1.2.1-2
https://sources.debian.net/src/libb64/1.2-3/debian/patches/bufsiz-as-buffer-size.diff/