* [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox/files/
@ 2025-09-08 16:22 Michael Mair-Keimberger
0 siblings, 0 replies; only message in thread
From: Michael Mair-Keimberger @ 2025-09-08 16:22 UTC (permalink / raw
To: gentoo-commits
commit: 4fc1ed6e7fd84f60a3da9e95dcd25bea6706a54e
Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 8 16:20:51 2025 +0000
Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Mon Sep 8 16:20:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc1ed6e
games-emulation/dosbox: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>
.../dosbox/files/dosbox-0.75-ncurses.patch | 78 ----------------------
1 file changed, 78 deletions(-)
diff --git a/games-emulation/dosbox/files/dosbox-0.75-ncurses.patch b/games-emulation/dosbox/files/dosbox-0.75-ncurses.patch
deleted file mode 100644
index 67c23c70532a..000000000000
--- a/games-emulation/dosbox/files/dosbox-0.75-ncurses.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-https://sourceforge.net/p/dosbox/patches/286/
-
---- a/configure.ac 2019-11-12 17:55:51.000000000 +0000
-+++ b/configure.ac 2020-01-02 21:26:27.551856431 +0000
-@@ -235,39 +235,41 @@
- #Features to enable/disable
- AH_TEMPLATE(C_DEBUG,[Define to 1 to enable internal debugger, requires libcurses])
- AH_TEMPLATE(C_HEAVY_DEBUG,[Define to 1 to enable heavy debugging, also have to enable C_DEBUG])
--AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[Enable debug mode]),[
-- AC_CHECK_HEADER(curses.h,have_curses_h=yes,)
-- AC_CHECK_LIB(curses, initscr, have_curses_lib=yes, , )
-- AC_CHECK_LIB(ncurses, initscr, have_ncurses_lib=yes, , )
-- AC_CHECK_LIB(pdcurses, initscr, have_pdcurses_lib=yes, , )
-+AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[Enable debug mode]),,enable_debug=no)
-+AC_MSG_CHECKING(whether debug will be enabled)
-+
-+if test x$enable_debug = xno; then
-+ AC_MSG_RESULT(no)
-+else
-+ AC_MSG_RESULT(yes)
-
-- if test x$enable_debug = xno; then
-- AC_MSG_RESULT([Debugger not enabled])
-- elif test x$have_ncurses_lib = xyes -a x$have_curses_h = xyes ; then
-- LIBS="$LIBS -lncurses"
-- if test x$host = xi386-pc-os2-emx ; then
-- LIBS="$LIBS -ltinfo"
-- fi
-- AC_DEFINE(C_DEBUG,1)
-- if test x$enable_debug = xheavy ; then
-- AC_DEFINE(C_HEAVY_DEBUG,1)
-- fi
-- elif test x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
-- LIBS="$LIBS -lcurses"
-- AC_DEFINE(C_DEBUG,1)
-- if test x$enable_debug = xheavy ; then
-- AC_DEFINE(C_HEAVY_DEBUG,1)
-- fi
-- elif test x$have_pdcurses_lib = xyes -a x$have_curses_h = xyes ; then
-- LIBS="$LIBS -lpdcurses"
-- AC_DEFINE(C_DEBUG,1)
-- if test x$enable_debug = xheavy ; then
-- AC_DEFINE(C_HEAVY_DEBUG,1)
-- fi
-- else
-- AC_MSG_ERROR([Can't find curses, which is required for debug mode])
-- fi
--],)
-+ PKG_CHECK_MODULES(NCURSES, ncurses, [
-+ LIBS="$LIBS $NCURSES_LIBS"; CFLAGS="$CFLAGS $NCURSES_CFLAGS"
-+ ], [
-+ AC_CHECK_HEADER(curses.h,have_curses_h=yes,)
-+ AC_CHECK_LIB(curses, initscr, have_curses_lib=yes, , )
-+ AC_CHECK_LIB(ncurses, initscr, have_ncurses_lib=yes, , )
-+ AC_CHECK_LIB(pdcurses, initscr, have_pdcurses_lib=yes, , )
-+
-+ if test x$have_ncurses_lib = xyes -a x$have_curses_h = xyes ; then
-+ LIBS="$LIBS -lncurses"
-+ if test x$host = xi386-pc-os2-emx ; then
-+ LIBS="$LIBS -ltinfo"
-+ fi
-+ elif test x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
-+ LIBS="$LIBS -lcurses"
-+ elif test x$have_pdcurses_lib = xyes -a x$have_curses_h = xyes ; then
-+ LIBS="$LIBS -lpdcurses"
-+ else
-+ AC_MSG_ERROR([Can't find curses, which is required for debug mode])
-+ fi
-+ ])
-+
-+ AC_DEFINE(C_DEBUG,1)
-+ if test x$enable_debug = xheavy; then
-+ AC_DEFINE(C_HEAVY_DEBUG,1)
-+ fi
-+fi
-
- AH_TEMPLATE(C_CORE_INLINE,[Define to 1 to use inlined memory functions in cpu core])
- AC_ARG_ENABLE(core-inline,AC_HELP_STRING([--disable-core-inline],[Disable inlined memory handling in CPU Core]),,enable_core_inline=yes)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-08 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 16:22 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox/files/ Michael Mair-Keimberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox