termux-packages/packages/xorg-util-macros/xorg-macros.m4.in.patch

22 lines
1.0 KiB
Diff
Raw Normal View History

2021-02-08 16:21:13 +01:00
diff -uNr util-macros-1.19.3/xorg-macros.m4.in util-macros-1.19.3.mod/xorg-macros.m4.in
--- util-macros-1.19.3/xorg-macros.m4.in 2021-01-24 16:41:26.000000000 +0200
+++ util-macros-1.19.3.mod/xorg-macros.m4.in 2021-02-08 17:42:50.860717540 +0200
2019-11-17 16:41:03 +01:00
@@ -58,7 +58,7 @@
AC_DEFUN([XORG_PROG_RAWCPP],[
AC_REQUIRE([AC_PROG_CPP])
2021-02-08 16:21:13 +01:00
AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}],
2019-11-17 16:41:03 +01:00
- [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
2021-02-08 16:21:13 +01:00
+ [$PATH:@TERMUX_PREFIX@/bin:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
2019-11-17 16:41:03 +01:00
# Check for flag to avoid builtin definitions - assumes unix is predefined,
# which is not the best choice for supporting other OS'es, but covers most
2021-02-08 16:21:13 +01:00
@@ -924,7 +924,7 @@
2019-11-17 16:41:03 +01:00
[[$ac_path_M4 -I. /dev/null > /dev/null 2>&1 && \
ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:]],
[AC_MSG_ERROR([could not find m4 that supports -I option])],
- [$PATH:/usr/gnu/bin])])
2021-02-08 16:21:13 +01:00
+ [$PATH:@TERMUX_PREFIX@/bin:/usr/gnu/bin])])
2019-11-17 16:41:03 +01:00
AC_SUBST([M4], [$ac_cv_path_M4])
]) # XORG_WITH_M4