summaryrefslogtreecommitdiff
path: root/www-client/lynx/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-client/lynx/files
reinit the tree, so we can have metadata
Diffstat (limited to 'www-client/lynx/files')
-rw-r--r--www-client/lynx/files/lynx-2.8.6-mint.patch32
-rw-r--r--www-client/lynx/files/lynx-2.8.8_p1-parallel.patch57
2 files changed, 89 insertions, 0 deletions
diff --git a/www-client/lynx/files/lynx-2.8.6-mint.patch b/www-client/lynx/files/lynx-2.8.6-mint.patch
new file mode 100644
index 000000000000..3c7987718c64
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.8.6-mint.patch
@@ -0,0 +1,32 @@
+--- lynx2-8-6/src/UCdomap.h.old 2009-03-18 08:16:12.000000000 +0000
++++ lynx2-8-6/src/UCdomap.h 2009-03-18 08:15:12.000000000 +0000
+@@ -172,6 +172,18 @@
+ 0, 128,UCT_ENC_UTF8,-4)
+ #endif
+
++#ifndef NO_CHARSET_windows_1250
++#define NO_CHARSET_windows_1250 !ALL_CHARSETS
++#endif
++
++#if NO_CHARSET_windows_1250
++#define UC_CHARSET_SETUP_windows_1250 /* nothing */
++#else
++/* Is this right ??? */
++#define UC_CHARSET_SETUP_x_transparent UC_Charset_NoUctb_Setup("windows-1250","windows-1250",\
++ 0, 128,UCT_ENC_8BIT,0)
++#endif
++
+ #ifdef __cplusplus
+ }
+ #endif
+--- lynx2-8-6/WWW/Library/Implementation/www_tcp.h.old 2009-03-18 06:45:10.000000000 +0000
++++ lynx2-8-6/WWW/Library/Implementation/www_tcp.h 2009-03-18 06:45:22.000000000 +0000
+@@ -94,7 +94,7 @@
+ # endif
+ #endif /* HAVE_DIRENT_H */
+
+-#if !(defined(DOSPATH) || defined(__EMX__) || defined(__CYGWIN__))
++#if !(defined(DOSPATH) || defined(__EMX__) || defined(__CYGWIN__) || defined(__MINT__))
+ #define STRUCT_DIRENT__D_INO 1
+ #endif
+
diff --git a/www-client/lynx/files/lynx-2.8.8_p1-parallel.patch b/www-client/lynx/files/lynx-2.8.8_p1-parallel.patch
new file mode 100644
index 000000000000..a674520f7159
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.8.8_p1-parallel.patch
@@ -0,0 +1,57 @@
+--- lynx2-8-8/makefile.in
++++ lynx2-8-8/makefile.in
+@@ -215,10 +215,10 @@
+
+ all lynx$x: cfg_defs.h LYHelp.h
+ @MSG_DIR_MAKE@ $(SHELL) $(scripts_dir)/fixtext.sh $(srcdir)/LYMessages_en.h >LYMessages.c
+-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR)
+- cd $(WWW_DIR) && $(MAKE_RECUR) $(WWW_CFLAGS)
+- cd $(CHR_DIR) && $(MAKE_RECUR) all $(CHR_CFLAGS)
+- cd $(SRC_DIR) && $(MAKE_RECUR) all $(SRC_CFLAGS)
++@MSG_DIR_MAKE@ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(PO_DIR)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(WWW_DIR) $(WWW_CFLAGS)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(CHR_DIR) all $(CHR_CFLAGS)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(SRC_DIR) all $(SRC_CFLAGS)
+
+ lint:
+ cd $(WWW_DIR) && $(MAKE_RECUR) LINT="$(LINT)" $(WWW_CFLAGS) $@
+@@ -258,8 +258,8 @@
+ rm -f core *.core
+
+ depend: cfg_defs.h LYHelp.h
+- cd $(WWW_DIR) && $(MAKE_RECUR) $@
+- cd $(SRC_DIR) && $(MAKE_RECUR) $@
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(WWW_DIR) $@
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(SRC_DIR) $@
+
+ distclean: clean
+ -rm -f WWW/Library/*/*~
+@@ -337,7 +337,7 @@
+ @echo Full installation complete.
+
+ install-bin: $(BINDIR) lynx$x
+-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) install
++@MSG_DIR_MAKE@ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(PO_DIR)
+ @ECHO_CC@$(SHELL) -c \
+ 'if test -f $(BINDIR)/$(binary_PROG) ; then \
+ mv -f $(BINDIR)/$(binary_PROG) $(BINDIR)/lynx.old; fi'
+--- lynx2-8-8/src/makefile.in
++++ lynx2-8-8/src/makefile.in
+@@ -118,7 +118,7 @@
+ @echo "Compiling Lynx sources"
+
+ do_chartrans_stuff:
+- -cd chrtrans && $(MAKE_RECUR) \
++ -$(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C chrtrans \
+ SITE_DEFS="$(SITE_DEFS)" \
+ BUILD_CFLAGS="$(BUILD_CFLAGS)" \
+ BUILD_CPPFLAGS="$(BUILD_CPPFLAGS)" \
+@@ -209,7 +209,7 @@
+ $(CHRTR)viscii_uni.h
+
+ $(TABLES):
+- -cd chrtrans && $(MAKE_RECUR) tables
++ -$(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C chrtrans tables
+
+ UCdomap$o : UCdomap.c \
+ chrtrans/UCkd.h \