summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sys-devel/bison: keyword 3.8.1Sam James2021-09-131-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/bison: add 3.8.1 (unkeyworded)Sam James2021-09-121-0/+96
This notably drops all patches. - We drop the conditional examples patch because Perl is not needed for building Bison. This was discussed upstream in the past [0] and upstream concluded that if it were needed, they would treat this as a bug. Fortunately, it's not - at least not anymore! Note that Perl _is_ still partially used for tests, but it falls back gracefully and skips the relevant tests if it's missing, and this isn't a problem for bootstrapping anyway. Just noting for completeness. My own testing confirms that Bison builds and installs (and as mentioned, even passes the tests it decides to run) when Perl is missing. To allow full coverage, we keep Perl as a conditional test dependency. Upstream refined the check further too [1] (I couldn't see the commit in the git history, but the change is applied to the final configure.ac, so that's fine.) - We still conditionally (for now?) install examples as they're ~200K and my aim was to just reduce the patches we're using, not completely alter our packaging of Bison right now. - We no longer apply a parallel build patch which has also been applied upstream [2]. It seemed to appply anyway, not checked if it was in the last release, but I think it was. Upstream had some fun (not their fault) with POSIX, so I'm not keywording this yet for more testing, but it should be fine because they ultimately decided to guard the new behaviour with POSIXLY_CORRECT=1 [3]. (This is why we didn't package 3.8.) [0] https://www.mail-archive.com/bug-bison@gnu.org/msg03979.html [1] https://lists.gnu.org/archive/html/bison-patches/2019-10/msg00027.html [2] https://lists.gnu.org/archive/html/bug-bison/2020-09/msg00016.html [3] https://lists.gnu.org/archive/html/bug-automake/2021-09/msg00004.html Signed-off-by: Sam James <sam@gentoo.org>