Update to version 2.4.

Submitted by:	bf
This commit is contained in:
Dmitry Sivachenko 2011-12-20 11:24:25 +00:00
parent 1141bf2dd9
commit 9b4a46dbc2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287724
4 changed files with 21 additions and 23 deletions

View file

@ -6,9 +6,7 @@
#
PORTNAME= links
DISTVERSION= 2.3
PORTEPOCH= 1
PORTREVISION= 2
DISTVERSION= 2.4
CATEGORIES?= www
MASTER_SITES= http://links.twibright.com/download/
@ -61,7 +59,7 @@ CONFIGURE_ARGS+= --without-directfb
.if defined(WITH_IPV6)
USE_AUTOTOOLS+= autoconf
PATCH_SITES+= http://xpisar.wz.cz/links-ipv6/:ipv6
PATCHFILES+= links-2.3-ipv6-2.diff.gz:ipv6
PATCHFILES+= links-2.4-ipv6.patch.gz:ipv6
PATCH_DIST_STRIP= -p1
.endif

View file

@ -1,4 +1,4 @@
SHA256 (links-2.3.tar.bz2) = 73751f5e11679cee62d8de7c6d72ee5b34b33af8adfe7c2763a16f40c872c96e
SIZE (links-2.3.tar.bz2) = 3831706
SHA256 (links-2.3-ipv6-2.diff.gz) = ddadd120ca0ab92fe37205dd14914779ca1eb26480867e8cdd5cd752c946ab29
SIZE (links-2.3-ipv6-2.diff.gz) = 7693
SHA256 (links-2.4.tar.bz2) = bebb6ccafaaabf1d251ccd79ff5cda07078a11bf7d15e775d6f3a0a89d4dd125
SIZE (links-2.4.tar.bz2) = 3843247
SHA256 (links-2.4-ipv6.patch.gz) = ab7d6d2c31e1714e64c33fbfadea4364bd07180c7b69d1f9d4e33dc08857da2f
SIZE (links-2.4-ipv6.patch.gz) = 8658

View file

@ -1,10 +1,10 @@
--- terminal.c.orig 2008-05-01 21:02:39.000000000 +0400
+++ terminal.c 2008-05-01 21:03:50.000000000 +0400
@@ -819,6 +819,7 @@
add_to_str(&a, &l, m); \
m[1] = '4'; \
m[2] = ((attrib >> 3) & 7) + '0'; \
+ if (m[2]!='0') \
add_to_str(&a, &l, m); \
} else if (getcompcode(attrib & 7) < getcompcode(attrib >> 3 & 7)) \
add_to_str(&a, &l, ";7"); \
--- terminal.c.orig 2011-11-20 22:10:01.000000000 -0500
+++ terminal.c 2011-12-19 05:33:15.000000000 -0500
@@ -891,6 +891,7 @@
add_to_str(&a, &l, m); \
m[1] = '4'; \
m[2] = ((attrib >> 3) & 7) + '0'; \
+ if (m[2] != '0') \
add_to_str(&a, &l, m); \
} else if (getcompcode(attrib & 7) < getcompcode(attrib >> 3 & 7))\
add_to_str(&a, &l, ";7"); \

View file

@ -1,6 +1,6 @@
--- configure.in.orig 2011-10-18 13:14:56.000000000 -0400
+++ configure.in 2011-10-18 13:18:27.000000000 -0400
@@ -59,7 +59,12 @@
--- configure.in.orig 2011-11-21 12:07:21.000000000 -0500
+++ configure.in 2011-12-19 05:54:11.000000000 -0500
@@ -126,7 +126,12 @@
AC_CHECK_HEADERS(sigaction.h)
AC_CHECK_HEADERS(netinet/in_systm.h)
AC_CHECK_HEADERS(netinet/in_system.h)
@ -11,6 +11,6 @@
+#endif
+#include <netinet/in.h>
+])
AC_CHECK_HEADERS(arpa/inet.h)
AC_CHECK_HEADERS(netinet/dhcp.h)
AC_CHECK_HEADERS(sys/select.h)
AC_CHECK_HEADERS(sys/resource.h)
AC_CHECK_HEADERS(net/socket.h)