Created attachment 345180 [details] build log cinelerra fails to remerge (after libpng upgrade) due to missing include statements: vdevicebuz.C: In member function ‘void VDeviceBUZInput::start()’: vdevicebuz.C:100:48: error: ‘bzero’ was not declared in this scope SImilar error messages for strcpy, memcpy, bcopy, strerror.
Comment on attachment 345180 [details] build log This build.log is not verbose. Useless.
Created attachment 345182 [details, diff] Proposed fix
Created attachment 345184 [details] build log Seems I got the wrong build log last time around, this one here is the one I meant.
Note that the libpng upgrade is the one upgrade which made rebuilding cinelerra neccessary. But it was not the only upgrade, and it might well be that some other library used to include these headers in the past but no longer does so now. Also note that <string.h> and <strings.h> are different files, and the latter apparently is the one providing bzero and bcopy. My fix from comment #2 makes cinelerra compile all right for me, despite a million warnings about string literals getting assigned to non-const char*…
For those who DO NOT encounter this issue here, it would be interesting to run the vdevicebuz.C source through the preprocessor in order to find out which other headers cause the inclusion of the requires string.h and strings.h That would tell us what upgrade introduced this issue here.
libpng 1.6 dropped the usage of string.h from it's headers... so most of these are at least related to the upgrade similar bugs have been fixed around the tree, ffmpegthumbnailer, lensfun, etc
Created attachment 345190 [details, diff] The patch that went in Portage This is the patch I've used, based on your patch