gnuradio-for-mac-without-macports
gnuradio-for-mac-without-macports copied to clipboard
implicit declaration of function 'thrift_protocol_decorator_write_message_begin' is invalid in C99
When using Xcode 12, the above error appears. After some investigation, this is the same bug as https://trac.macports.org/ticket/61252
Steps used to solve the issue:
- Downloaded patch files from the above link, saved under "patches" and mv to .patch
- Added "-p0" to the git apply command in the unpack() function in build.sh
I'll try to fix it soon and create a pull request
Moving forward with the build script, it seems "-p0" caused other patches to break. Looking at the thrift patches, they are missing the "a/" and "b/" prefixes, so I guess they are the ones that need to be modified