File builders/lynx-0/HTAccess.c.patch deleted (index c83c8d1..0000000) |
1 |
|
--- a/WWW/Library/Implementation/HTAccess.c |
|
2 |
|
+++ b/WWW/Library/Implementation/HTAccess.c |
|
3 |
|
@@ -770,7 +770,7 @@ static BOOL HTLoadDocument(const char *f |
|
4 |
|
* will no longer specify a restriction to 5, but will leave it up to the |
|
5 |
|
* browser's discretion, in deference to Microsoft. - FM |
|
6 |
|
*/ |
|
7 |
|
- if (redirection_attempts > 10) { |
|
8 |
|
+ if (redirection_attempts > 20) { |
|
9 |
|
redirection_attempts = 0; |
|
10 |
|
HTAlert(TOO_MANY_REDIRECTIONS); |
|
11 |
|
return NO; |
|
12 |
|
@@ -814,7 +814,7 @@ static BOOL HTLoadDocument(const char *f |
|
13 |
|
/* |
|
14 |
|
* Don't exceed the redirection_attempts limit. - FM |
|
15 |
|
*/ |
|
16 |
|
- if (++redirection_attempts > 10) { |
|
17 |
|
+ if (++redirection_attempts > 20) { |
|
18 |
|
HTAlert(TOO_MANY_REDIRECTIONS); |
|
19 |
|
redirection_attempts = 0; |
|
20 |
|
FREE(use_this_url_instead); |
|
File builders/lynx-0/builder.sh changed (mode: 100644) (index e0be40e..c467088) |
1 |
1 |
src_name=lynx |
src_name=lynx |
2 |
2 |
major=2 |
major=2 |
3 |
|
minor=8 |
|
4 |
|
micro=9 |
|
5 |
|
v_dev=17 |
|
|
3 |
|
minor=9 |
|
4 |
|
micro=0 |
|
5 |
|
v_dev=4 |
6 |
6 |
version=$major.$minor.${micro}dev.$v_dev |
version=$major.$minor.${micro}dev.$v_dev |
7 |
7 |
archive_name=$src_name-cur.tar.bz2 |
archive_name=$src_name-cur.tar.bz2 |
8 |
8 |
src_d=$src_name$version |
src_d=$src_name$version |
|
... |
... |
tar xf $archive_name |
15 |
15 |
|
|
16 |
16 |
cd $src_dir |
cd $src_dir |
17 |
17 |
|
|
18 |
|
# Increase redirection limit to 20 (thx microsoft!). We keep the patch if needed. |
|
19 |
|
#cp -f $nyan_root/builders/$pkg_name/HTAccess.c.patch ./ |
|
20 |
|
#patch -p1 -N -i ./HTAccess.c.patch |
|
|
18 |
|
# Increase redirection limit to 20, thx microsoft! (irony) |
|
19 |
|
sed -i -e 's/redirection_limit = 10/redirection_limit = 20/' ./WWW/Library/Implementation/HTAccess.c |
|
20 |
|
# not really checked but it seems it was fixed with an antimatter beam (see |
|
21 |
|
# lynx conf menu and the cookie option) |
|
22 |
|
### fix cookie path acceptance |
|
23 |
|
##patch -N -p0 -i $nyan_root/builders/$pkg_name/1.LYCookie.c.patch |
|
24 |
|
### fix cookie domain acceptance |
|
25 |
|
##patch -N -p0 -i $nyan_root/builders/$pkg_name/2.LYCookie.c.patch |
21 |
26 |
|
|
22 |
27 |
build_dir=$builds_dir_root/$pkg_name-$version |
build_dir=$builds_dir_root/$pkg_name-$version |
23 |
28 |
rm -Rf $build_dir |
rm -Rf $build_dir |
|
... |
... |
cd $build_dir |
27 |
32 |
OLD_PATH=$PATH |
OLD_PATH=$PATH |
28 |
33 |
export PATH=/nyan/ncurses/current/bin:$PATH |
export PATH=/nyan/ncurses/current/bin:$PATH |
29 |
34 |
|
|
30 |
|
# gnutls pkg-config generation broken in cross-compilation (because of GNU libunistring) |
|
|
35 |
|
export CPPFLAGS="\ |
|
36 |
|
-I/nyan/libressl/current/include \ |
|
37 |
|
-I/nyan/zlib/current/include \ |
|
38 |
|
-I/nyan/bzip2/current/include" |
|
39 |
|
export CC="gcc" |
|
40 |
|
export CFLAGS='-O2 -pipe -fPIC -static-libgcc' |
|
41 |
|
export LDFLAGS="\ |
|
42 |
|
-B/nyan/glibc/current/lib \ |
|
43 |
|
-L/nyan/glibc/current/lib \ |
|
44 |
|
-Wl,-rpath-link,/nyan/glibc/current/lib \ |
|
45 |
|
-L/nyan/libressl/current/lib \ |
|
46 |
|
-L/nyan/zlib/current/lib \ |
|
47 |
|
-L/nyan/bzip2/current/lib" |
|
48 |
|
export LIBS="-lpthread" |
31 |
49 |
|
|
32 |
|
export "CPPFLAGS=\ |
|
33 |
|
-I/nyan/zlib/current/include \ |
|
34 |
|
-I/nyan/bzip2/current/include \ |
|
35 |
|
-I/nyan/libtasn1/current/include \ |
|
36 |
|
-I/nyan/nettle/current/include \ |
|
37 |
|
-I/nyan/gnutls/current/include" |
|
38 |
|
export 'CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib -static-libgcc' |
|
39 |
|
export "CFLAGS=-O2 -pipe -fPIC" |
|
40 |
|
export "LDFLAGS=\ |
|
41 |
|
-L/nyan/zlib/current/lib \ |
|
42 |
|
-L/nyan/bzip2/current/lib \ |
|
43 |
|
\ |
|
44 |
|
-L/nyan/toolchains/current/lib \ |
|
45 |
|
-L/nyan/libunistring/current/lib \ |
|
46 |
|
-L/nyan/nettle/current/lib \ |
|
47 |
|
-L/nyan/libtasn1/current/lib \ |
|
48 |
|
-L/nyan/libidn2/current/lib \ |
|
49 |
|
-L/nyan/gnutls/current/lib" |
|
50 |
|
export "LIBS=-lgnutls -lidn2 -lhogweed -lnettle -lgmp -ltasn1 -lunistring" |
|
|
50 |
|
# --disable-trace is broken |
51 |
51 |
$src_dir/configure \ |
$src_dir/configure \ |
52 |
52 |
--prefix=/nyan/lynx/0 \ |
--prefix=/nyan/lynx/0 \ |
53 |
53 |
--disable-debug \ |
--disable-debug \ |
54 |
|
--disable-trace \ |
|
|
54 |
|
--enable-trace \ |
55 |
55 |
--disable-nls \ |
--disable-nls \ |
56 |
56 |
--disable-full-paths \ |
--disable-full-paths \ |
57 |
|
--without-ssl \ |
|
58 |
|
--with-gnutls \ |
|
59 |
|
--disable-gnutls-compat \ |
|
|
57 |
|
--with-ssl \ |
60 |
58 |
--without-pkg-config \ |
--without-pkg-config \ |
61 |
59 |
--enable-ipv6 \ |
--enable-ipv6 \ |
62 |
60 |
--with-screen=ncursesw \ |
--with-screen=ncursesw \ |
63 |
61 |
--enable-widec \ |
--enable-widec \ |
64 |
62 |
--enable-htmlized-cfg \ |
--enable-htmlized-cfg \ |
65 |
63 |
--disable-local-docs \ |
--disable-local-docs \ |
|
64 |
|
--disable-bibp-urls \ |
66 |
65 |
--disable-menu-options \ |
--disable-menu-options \ |
67 |
66 |
--disable-sessions \ |
--disable-sessions \ |
68 |
67 |
--disable-session-cache \ |
--disable-session-cache \ |
|
68 |
|
--enable-japanese-utf8 \ |
|
69 |
|
--enable-wcwidth-support \ |
|
70 |
|
--enable-default-colors \ |
|
71 |
|
--enable-nested-tables \ |
|
72 |
|
--disable-idna \ |
69 |
73 |
--disable-partial \ |
--disable-partial \ |
70 |
74 |
--disable-scrollbar \ |
--disable-scrollbar \ |
|
75 |
|
--enable-charset-choice \ |
71 |
76 |
--enable-externs \ |
--enable-externs \ |
|
77 |
|
--enable-nsl-fork \ |
72 |
78 |
--with-bzlib \ |
--with-bzlib \ |
73 |
79 |
--with-zlib \ |
--with-zlib \ |
74 |
80 |
--disable-finger \ |
--disable-finger \ |
75 |
81 |
--disable-gopher \ |
--disable-gopher \ |
76 |
82 |
--disable-news \ |
--disable-news \ |
77 |
83 |
--disable-dired \ |
--disable-dired \ |
78 |
|
--enable-nested-tables \ |
|
79 |
|
--without-x |
|
80 |
|
unset LIBS |
|
81 |
|
unset LDFLAGS |
|
82 |
|
unset CFLAGS |
|
83 |
|
unset CC |
|
|
84 |
|
--without-x \ |
|
85 |
|
--disable-rpath-hack |
84 |
86 |
unset CPPFLAGS |
unset CPPFLAGS |
|
87 |
|
unset CC |
|
88 |
|
unset CFLAGS |
|
89 |
|
unset LDFLAGS |
|
90 |
|
unset LIBS |
85 |
91 |
|
|
86 |
92 |
export PATH=$OLD_PATH |
export PATH=$OLD_PATH |
87 |
93 |
|
|