Bad Linux lifehacks
Trying to build a program from source but getting a fatal error from some header about needing to enable a macro? Just comment out that check in the header!
This tip brought to you by me doing that exact thing to get a program to compile.
re: Bad Linux lifehacks
And, of course, in all seriousness, don't do this unless you're sure it won't break shit. proj_api.h only checks for this macro to bitch at you for not having it and I'm pretty sure nothing else on my system relies on proj_api.h. And, of course, I'm a trained professional editing on a closed course. Don't try this at home
re: Bad Linux lifehacks
Ok, but seriously, I got an error trying to build gplates about needing to define an accept deprecated proj_api.h macro and I literally went in to /usr/include/proj_api.h and commented out that check. It seems to be fine. After all, that's the only place that macro is checked for and the program's building fine.