migrate from Gentoo to Debian for a smaller image

This commit is contained in:
2024-12-05 09:05:22 -08:00
parent d1b7130916
commit eb4f7b7e8d
4 changed files with 340 additions and 15 deletions

22
extras/post-config.patch Normal file
View File

@@ -0,0 +1,22 @@
--- config.h 2024-12-05 16:39:34.000000000 +0000
+++ config.h 2024-12-05 16:40:11.018017876 +0000
@@ -365,7 +365,7 @@
* This symbol, when defined, indicates that termlib-style routines
* are available. There is nothing to include.
*/
-/*#define HAS_TERMLIB *//**/
+#define HAS_TERMLIB /**/
/* IGNOREORG:
* This symbol, if defined, indicates that the ORGANIZATION environment
--- Makefile 2024-12-05 16:39:34.000000000 +0000
+++ Makefile 2024-12-05 16:40:10.464686461 +0000
@@ -36,7 +36,7 @@
strftimeo =
installfilexp = /usr/local/lib/trn/filexp
-libs = -lm
+libs = -ltermcap -lm
tklibs =
public_backup = trn$(exe) trn-artchk$(exe) $(nntpexe) $(msdosexe)
public_diff = Pnews Rnmail