I am developing a personal project (licensed under GPL-3.0-only) which I am trying to keep portable across different POSIX-compatible systems, but it is dependent on macros and typedef
s from GLIBC's elf.h header. To enable portability, I've included a stripped down version of elf.h with only what I need in the source tree, with some changes that I believe to be too insubstantial to be copyrightable (e.g. replacing 1 << 2
with 4
and changing the code style to be more consistent with my own).
I know it is explicitly allowed to "upgrade" LGPLv2.1-licensed code to GPLv3, but I don't understand how.
Is it as simple as replacing the license header comment in my project's bundled elf.h with the GPLv3 one? If I do that, do I still need to provide the LGPLv2.1 license text in my project? Or, because the additions and changes are so insubstantial, do I need to keep the license as-is, as I have so far?