Control: tags 1122410 + patch
Control: tags 1122410 + pending

Dear maintainer,

I've prepared an NMU for epic4 (versioned as 1:3.0-2.2) and uploaded
it to DELAYED/15. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for epic4-3.0 epic4-3.0

 changelog                        |    8 ++++++
 patches/hard_code_terminfo.patch |   47 ---------------------------------------
 rules                            |    1 
 3 files changed, 10 insertions(+), 46 deletions(-)

diff -Nru epic4-3.0/debian/changelog epic4-3.0/debian/changelog
--- epic4-3.0/debian/changelog	2025-11-13 22:02:58.000000000 +0200
+++ epic4-3.0/debian/changelog	2026-02-04 21:25:31.000000000 +0200
@@ -1,3 +1,11 @@
+epic4 (1:3.0-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with -std=gnu17 instead of doing fragile autoconf hacks.
+    (Closes: #1122410)
+
+ -- Adrian Bunk <[email protected]>  Wed, 04 Feb 2026 21:25:31 +0200
+
 epic4 (1:3.0-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru epic4-3.0/debian/patches/hard_code_terminfo.patch epic4-3.0/debian/patches/hard_code_terminfo.patch
--- epic4-3.0/debian/patches/hard_code_terminfo.patch	2025-11-13 22:02:58.000000000 +0200
+++ epic4-3.0/debian/patches/hard_code_terminfo.patch	2026-02-04 21:25:15.000000000 +0200
@@ -1,53 +1,8 @@
 Author: Andreas Tille <[email protected]>
 Last-Update: 2025-11-07
 Bug-Debian: https://bugs.debian.org/1096583
-Description: Detecting terminfo in Debian is less painful due to known
- Build-Depends thus forcing the needed variables to build with gcc-15
- .
- Also tiny hack to make test.c build despite old style definitions
+Description: Tiny hack to make test.c build despite old style definitions
 
---- a/configure.in
-+++ b/configure.in
-@@ -213,33 +213,12 @@ AC_CHECK_FUNC(finite, AC_DEFINE(HAVE_FIN
- AC_CHECK_FUNC(isfinite, AC_DEFINE(HAVE_ISFINITE),)
- AC_CHECK_FUNC(tparm, AC_DEFINE(HAVE_TPARM),)
- 
--dnl -- Oh why does this have to be so painful? --
--AC_MSG_CHECKING(whether term.h works by itself)
--AC_TRY_RUN([
--#include <term.h>
--
--int main (void)
--{
--	exit(0);
--}
--],
--  AC_MSG_RESULT(yes),
--  AC_MSG_RESULT(no)
--  AC_MSG_CHECKING(whether term.h requires termio.h and curses.h)
--  AC_TRY_RUN([
--#include <termio.h>
--#include <curses.h>
--#include <term.h>
--
--int main (void)
--{
--	exit(0);
--}
--  ],
--  AC_MSG_RESULT(yes)
--  AC_DEFINE(TERM_H_REQUIRES_CURSES_H),
--  AC_MSG_RESULT(no, ugh)
--  AC_DEFINE(DONT_USE_TERM_H), :), :)
-+dnl -- Debian: use ncurses terminfo - thus it should not be that painful --
-+AC_DEFINE(HAVE_TERM_H)
-+AC_DEFINE(HAVE_TERMINFO) 
-+AC_DEFINE(HAVE_TPARM)
-+AC_DEFINE(TERM_H_REQUIRES_CURSES_H)
-+LIBS="$LIBS -lncurses"
- 
- AC_HEADER_STDC
- AC_HEADER_TIME
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -191,7 +191,7 @@ installdirs:
diff -Nru epic4-3.0/debian/rules epic4-3.0/debian/rules
--- epic4-3.0/debian/rules	2025-11-13 22:02:58.000000000 +0200
+++ epic4-3.0/debian/rules	2026-02-04 21:25:31.000000000 +0200
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
 
 %:
 	dh $@

Reply via email to