Files
macports-ports/devel/gdb/files/patch-gdb-libctf-makeinfo-test.diff
Ken Cunningham b8b7db202c gdb: fix build on Intel Ventura
Ventura does not come with makeinfo, so
add dep for texinfo if needed

fix makeinfo test in libctf to not fail
when makeinfo is newer than 7.x

closes: https://trac.macports.org/ticket/66284

arm build is still not fixed as yet.
2022-12-28 10:32:53 -08:00

12 lines
481 B
Diff

--- libctf/configure.old 2022-12-28 09:54:26
+++ libctf/configure 2022-12-28 10:02:50
@@ -13500,7 +13500,7 @@
# We require texinfo to be 6.3 or later, for a working synindex
# and validatemenus: otherwise we fall back to /bin/true.
if ${MAKEINFO} --version \
- | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev/null 2>&1; then
+ | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]\.[0-9])' >/dev/null 2>&1; then
build_info=yes
else
build_info=