forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/cw: 1.0.16 revbump, fix build for clang16
Fixes: af397b3 Closes: https://bugs.gentoo.org/870751 Signed-off-by: Pascal Jäger <[email protected]> Closes: gentoo#27857 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
a001c80
commit 168b50a
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
app-misc/cw/files/cw-1.0.16-fix-configure-for-newer-autotools.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/configure.in | ||
+++ b/configure.in | ||
@@ -17,7 +17,6 @@ ORIG_CFLAGS="$CFLAGS" | ||
CFLAGS="$CFLAGS -Wall" | ||
AC_TRY_COMPILE(,[return 0;],AC_MSG_RESULT(yes),AC_MSG_RESULT(no);CFLAGS="$ORIG_CFLAGS") | ||
AC_CONFIG_HEADER(config.h) | ||
-AC_REQUIRE([AC_HEADER_STDC]) | ||
AC_CHECK_LIB(util, openpty) | ||
AC_CHECK_FILE("/dev/ptmx", AC_DEFINE(HAVE_DEV_PTMX, 1, Have /dev/ptmx.)) | ||
AC_CHECK_FUNCS(getpt isatty isxdigit openpty putenv regcomp setenv setproctitle setsid sigaction sscanf uname unsetenv vsnprintf waitpid) |