ports/lynx: Update 2.9.2->2.9.3 and fix compilation
This commit is contained in:
+4
-7
@@ -1,14 +1,11 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='lynx'
|
||||
VERSION='2.9.2'
|
||||
DOWNLOAD_URL="https://invisible-island.net/archives/lynx/tarballs/lynx$VERSION.tar.gz#99f8f28f860094c533100d1cedf058c27fb242ce25e991e2d5f30ece4457a3bf"
|
||||
VERSION='2.9.3'
|
||||
DOWNLOAD_URL="https://invisible-island.net/archives/lynx/tarballs/lynx$VERSION.tar.gz#6e99e46980974a6d89eceefbb26ca8c7aa7702b78ecb5bad383b859af225d052"
|
||||
TAR_CONTENT="lynx$VERSION"
|
||||
DEPENDENCIES=('ncurses' 'openssl' 'zlib')
|
||||
CONFIG_SUB=('config.sub')
|
||||
DEPENDENCIES=('ncurses' 'openssl' 'libiconv' 'bzip2' 'zlib' 'zstd')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'--without-system-type'
|
||||
'--with-sceen=ncurses'
|
||||
'--with-screen=ncurses'
|
||||
'--with-ssl'
|
||||
'--with-zlib'
|
||||
)
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ruN lynx-2.9.3/src/LYUtils.c lynx-2.9.3-banan_os/src/LYUtils.c
|
||||
--- lynx-2.9.3/src/LYUtils.c 2026-05-25 03:27:54.000000000 +0300
|
||||
+++ lynx-2.9.3-banan_os/src/LYUtils.c 2026-07-09 02:54:54.881373038 +0300
|
||||
@@ -42,7 +42,7 @@
|
||||
#if !defined(kbhit) && defined(_WCONIO_DEFINED)
|
||||
#define kbhit() _kbhit() /* reasonably recent conio.h */
|
||||
#endif
|
||||
-#elif defined(__minix)
|
||||
+#elif defined(__minix) || defined(__banan_os__)
|
||||
#include <termios.h> /* for struct winsize */
|
||||
|
||||
#endif /* __MINGW32__ */
|
||||
Reference in New Issue
Block a user