Ponce / slackbuilds

fork of master branch from git://git.slackbuilds.org/slackbuilds.git (read more on wiki). If you want to fork/pull request do it only over master (the other branches are temporary and are always rebased on master). alternative interface https://cgit.ponce.cc/slackbuilds/
https://slackware.ponce.cc
163 stars 62 forks source link

`#include <cstdint>` issue #201

Open HuidaeCho opened 1 year ago

HuidaeCho commented 1 year ago

I had to #include <cstdint> in some C++ files for geos, synergy, and xournalpp. Is it an issue in my Slackware-CURRENT install?

HuidaeCho commented 1 year ago

Found this post, but no idea how to update to the "source tree"

Ponce commented 1 year ago

this is a pretty common issue when trying to build many upstream projects with gcc >= 13.x (shipped in current since a few weeks), it's explained also on the gcc site itself

https://gcc.gnu.org/gcc-13/porting_to.html

either you wait for new versions of the upstream software (verifying that are compatible with the rest of our scripts, dependencies or dependees) or you, like you seem to have already done, patch the headers shipped with the sources including cstdint, like most of the times gcc 13.x already suggests you. if you have already assembled patches that can be used while running the interested SlackBuild they are welcome!