From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 18 23:00:21 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CED2106566C for ; Tue, 18 Oct 2011 23:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6799A8FC0A for ; Tue, 18 Oct 2011 23:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9IN0LWY058426 for ; Tue, 18 Oct 2011 23:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9IN0LSw058424; Tue, 18 Oct 2011 23:00:21 GMT (envelope-from gnats) Resent-Date: Tue, 18 Oct 2011 23:00:21 GMT Resent-Message-Id: <201110182300.p9IN0LSw058424@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B59A4106566B for ; Tue, 18 Oct 2011 22:52:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A57F88FC14 for ; Tue, 18 Oct 2011 22:52:51 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9IMqpln071013 for ; Tue, 18 Oct 2011 22:52:51 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9IMqpC6071012; Tue, 18 Oct 2011 22:52:51 GMT (envelope-from nobody) Message-Id: <201110182252.p9IMqpC6071012@red.freebsd.org> Date: Tue, 18 Oct 2011 22:52:51 GMT From: bf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/161788: [PATCH]www/links: update to 2.3pre2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 23:00:21 -0000 >Number: 161788 >Category: ports >Synopsis: [PATCH]www/links: update to 2.3pre2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Oct 18 23:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: bf >Release: >Organization: - >Environment: >Description: -update to 2.3pre2 -utf-8 patch is now included, adjust option accordingly -ipv6 patch must be processed before application -patch configure and configure.in scripts to include the necessary headers when checking for netinet/ip.h (they are included by default in links.h) -- this will allow the check to succeed, and hence ftp may be used with IPTOS_THROUGHPUT -replace a part of the png handler that has been deprecated in recent versions of libpng >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/links/Makefile,v retrieving revision 1.70 diff -u -r1.70 Makefile --- Makefile 23 Sep 2011 22:26:02 -0000 1.70 +++ Makefile 18 Oct 2011 21:11:25 -0000 @@ -6,17 +6,11 @@ # PORTNAME= links -DISTVERSION= 2.2 -PORTREVISION= 7 +DISTVERSION= 2.3pre2 PORTEPOCH= 1 CATEGORIES?= www MASTER_SITES= http://links.twibright.com/download/ -PATCH_SITES= ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/ \ - ftp://ftp.osuosl.org/pub/blfs/conglomeration/links/ \ - ftp://ftp.ntua.gr/pub/linux/gentoo/distfiles/ -PATCH_DIST_STRIP=-p1 - MAINTAINER?= demon@FreeBSD.org COMMENT= Lynx-like text WWW browser @@ -35,7 +29,7 @@ DIRECTFB "directfb driver support" off \ IPV6 "IPv6 support" off \ X11 "X11 graphics support" on \ - UTF8 "With gentoo utf-8 patch" on \ + UTF8 "With UTF-8 support" on \ TRANS "Hack for background transparency" off .include @@ -65,8 +59,9 @@ .if defined(WITH_IPV6) USE_AUTOTOOLS+= autoconf -PATCH_SITES+= http://xpisar.wz.cz/links-ipv6/:ipv6 -PATCHFILES+= links-2.2-ipv6-2.diff:ipv6 +MASTER_SITES+= http://xpisar.wz.cz/links-ipv6/:ipv6 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} links-2.2-ipv6-2.diff:ipv6 +EXTRA_PATCHES+= ${WRKDIR}/links-2.2-ipv6-2.diff .endif .if !defined(WITHOUT_X11) @@ -83,10 +78,8 @@ CONFIGURE_ARGS+= --without-x .endif -.if defined(WITH_UTF8) -PATCHFILES+= links-2.1pre33-utf8.diff.bz2 -pre-configure: - pwd && cd ${WRKSRC}/intl && ./gen-intl && ./synclang && cd .. +.if defined(WITHOUT_UTF8) +CONFIGURE_ARGS+= --disable-utf8 .endif .if defined(WITH_TRANS) @@ -96,8 +89,18 @@ MAN1= links.1 PLIST_FILES+= bin/links +.ifdef(WITH_IPV6) +post-extract: +#adjust the ipv6 patch for links 2.3* + @${CP} ${DISTDIR}/${DIST_SUBDIR}/links-2.2-ipv6-2.diff ${WRKDIR} + @${REINPLACE_CMD} -E -e 's!void (lookup_fn|end_real_lookup)!static &!' \ + -e 's!^(\+\+\+|---) (a|b)/!\1 !' ${WRKDIR}/links-2.2-ipv6-2.diff +.endif + post-patch: @${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h +#replace a deprecated indirect selection with png_jumpbuf() + @${REINPLACE_CMD} -e 's!png_ptr->jmpbuf!png_jmpbuf(png_ptr)!' ${WRKSRC}/png.c .if !defined(WITHOUT_X11) post-install: Index: distinfo =================================================================== RCS file: /home/pcvs/ports/www/links/distinfo,v retrieving revision 1.29 diff -u -r1.29 distinfo --- distinfo 19 Mar 2011 12:34:27 -0000 1.29 +++ distinfo 18 Oct 2011 06:53:41 -0000 @@ -1,6 +1,4 @@ -SHA256 (links-2.2.tar.bz2) = d3c60ff425bec5aacd1b15578a643c03090ad73fbb404f6ce8ee8c6219bdbc6d -SIZE (links-2.2.tar.bz2) = 3832115 +SHA256 (links-2.3pre2.tar.bz2) = fba7a7742973437b92834af12dc8bf4eee998dc0fbc57caaad8690b9ad3ba0c7 +SIZE (links-2.3pre2.tar.bz2) = 3832710 SHA256 (links-2.2-ipv6-2.diff) = d6d6745796f07ab8949ceec6592e82c32a170739027f99488ffd5f1d93a5e63c SIZE (links-2.2-ipv6-2.diff) = 12524 -SHA256 (links-2.1pre33-utf8.diff.bz2) = a34de30b787e6bab984cd5000c7a576f157437f622e9fe3a076808769a56db75 -SIZE (links-2.1pre33-utf8.diff.bz2) = 4793 Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 18 Oct 2011 17:48:35 -0000 @@ -0,0 +1,11 @@ +--- configure.orig 2011-04-19 11:36:37.000000000 -0400 ++++ configure 2011-10-18 13:48:27.000000000 -0400 +@@ -1762,6 +1762,8 @@ + cat > conftest.$ac_ext < ++#include + #include <$ac_hdr> + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" Index: files/patch-configure.in =================================================================== RCS file: files/patch-configure.in diff -N files/patch-configure.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure.in 18 Oct 2011 17:18:42 -0000 @@ -0,0 +1,16 @@ +--- 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 @@ + AC_CHECK_HEADERS(sigaction.h) + AC_CHECK_HEADERS(netinet/in_systm.h) + AC_CHECK_HEADERS(netinet/in_system.h) +-AC_CHECK_HEADERS(netinet/ip.h) ++AC_CHECK_HEADERS([netinet/ip.h],[],[],[ ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#include ++]) + AC_CHECK_HEADERS(netinet/dhcp.h) + AC_CHECK_HEADERS(sys/select.h) + AC_CHECK_HEADERS(sys/resource.h) >Release-Note: >Audit-Trail: >Unformatted: