3802afdcd2
No need to bump the pkgname, this affects only regress.
30 lines
842 B
Plaintext
30 lines
842 B
Plaintext
$OpenBSD: patch-tests_c_at,v 1.1 2005/09/11 08:14:45 espie Exp $
|
|
--- tests/c.at.orig Sun Sep 11 10:06:46 2005
|
|
+++ tests/c.at Sun Sep 11 10:09:49 2005
|
|
@@ -142,12 +142,12 @@ AT_CLEANUP
|
|
AT_SETUP([AC_PROG_CPP without warnings])
|
|
|
|
# Ignore if /lib/cpp doesn't work
|
|
-AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
|
|
+AT_CHECK([/usr/bin/cpp </dev/null || exit 77], [], [ignore], [ignore])
|
|
|
|
# A cpp which exit status is meaningless.
|
|
AT_DATA([mycpp],
|
|
[[#! /bin/sh
|
|
-/lib/cpp "$@"
|
|
+/usr/bin/cpp "$@"
|
|
exit 0
|
|
]])
|
|
|
|
@@ -178,8 +178,8 @@ AT_CLEANUP
|
|
|
|
AT_SETUP([AC_PROG_CPP via CC])
|
|
|
|
-# Ignore if /lib/cpp doesn't work
|
|
-AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
|
|
+# Ignore if /usr/bin/cpp doesn't work
|
|
+AT_CHECK([/usr/bin/cpp </dev/null || exit 77], [], [ignore], [ignore])
|
|
|
|
AT_DATA([mycc],
|
|
[[#! /bin/sh
|