void-packages/srcpkgs/catch2/patches/musl-test.patch
2020-12-31 18:30:42 -03:00

15 lines
442 B
Diff

From: Johnnynator
errno on Musl and Glibc expand differently by one space
---
--- scripts/approvalTests.py 2019-12-28 21:24:04.000000000 +0100
+++ - 2020-12-31 16:19:56.118506507 +0100
@@ -44,7 +44,7 @@
# errno macro expands into various names depending on platform, so we need to fix them up as well
errnoParser = re.compile(r'''
- \(\*__errno_location\ \(\)\)
+ \(\*__errno_location\s*\(\)\)
|
\(\*__error\(\)\)
|