-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_curses_panel now builds (though the config is a bit sloppy)
- Loading branch information
1 parent
dedb6b3
commit e39900e
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
components/python/python-312/patches/00-include-ncurses.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,21 @@ | ||
--- Python-3.12.1/configure.ac.~6~ Mon Feb 5 10:07:19 2024 | ||
+++ Python-3.12.1/configure.ac Mon Feb 5 10:21:31 2024 | ||
@@ -6509,7 +6509,7 @@ | ||
# first curses header check | ||
ac_save_cppflags="$CPPFLAGS" | ||
if test "$cross_compiling" = no; then | ||
- CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" | ||
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw -I/usr/include/ncurses" | ||
fi | ||
|
||
# On Solaris, term.h requires curses.h | ||
--- Python-3.12.1/configure.ac.~7~ Mon Feb 5 17:08:56 2024 | ||
+++ Python-3.12.1/configure.ac Mon Feb 5 17:19:15 2024 | ||
@@ -6470,6 +6470,7 @@ | ||
have_panel=panelw | ||
], [ | ||
WITH_SAVE_ENV([ | ||
+ AS_VAR_APPEND([LDFLAGS], [" -L/usr/gnu/lib/amd64"]) | ||
AC_CHECK_LIB([panelw], [update_panels], [ | ||
have_panel=panelw | ||
PANEL_CFLAGS=${PANEL_CFLAGS-""} |
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