Date: Mon, 07 Mar 2011 20:01:28 -0800 (PST) From: Raphael Kubo da Costa <kubito@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/155373: [PATCH] devel/tig: update to 0.17 Message-ID: <4d75aa18.65c2ec0a.6613.0b16@mx.google.com> Resent-Message-ID: <201103080430.p284UBdp090165@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155373 >Category: ports >Synopsis: [PATCH] devel/tig: update to 0.17 >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 Mar 08 04:30:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Raphael Kubo da Costa >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD gibbon 8.2-STABLE FreeBSD 8.2-STABLE #26: Sat Feb 26 17:26:42 BRT 2011 >Description: - Update to 0.17 Removed file(s): - files/patch-configure Patch comments: - files/patch-configure has been removed as in the 0.17 release tig now uses an autoconf macro to detect whether ncurses and ncursesw are available, and prefers ncursesw if it exists. - Some old FreeBSD 6.x support code has been removed from the Makefile as FreeBSD 6 has reached its EoL. - This release should make tig work again with the ncurses port after it has been upgraded to 5.8. - The issue of tig silently depending on the ncurses port if it is installed remains, as being discussed in the ports mailing list. - While here, remove the MD5sum from distinfo. Port maintainer (darcsis@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- tig-0.17.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/tig/Makefile /tmp/tig/Makefile --- /usr/ports/devel/tig/Makefile 2010-10-09 01:19:48.000000000 -0300 +++ /tmp/tig/Makefile 2011-03-08 00:55:16.000000000 -0300 @@ -6,7 +6,7 @@ # PORTNAME= tig -PORTVERSION= 0.16.2 +PORTVERSION= 0.17 CATEGORIES= devel MASTER_SITES= http://jonas.nitro.dk/tig/releases/ @@ -35,14 +35,4 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 602107 -LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses -CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/ncurses" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" - -post-patch: - @${REINPLACE_CMD} -e 's/<curses.h>/<ncurses.h>/' ${WRKSRC}/tig.c - -.endif - .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/devel/tig/distinfo /tmp/tig/distinfo --- /usr/ports/devel/tig/distinfo 2010-10-09 01:19:48.000000000 -0300 +++ /tmp/tig/distinfo 2011-03-08 00:55:16.000000000 -0300 @@ -1,3 +1,2 @@ -MD5 (tig-0.16.2.tar.gz) = d72b5d3437dbc538ea6f66c74988d75e -SHA256 (tig-0.16.2.tar.gz) = 7d3290641dcb1579491a0c9b379a5b6897076aaa845826fb3702510f07406ea2 -SIZE (tig-0.16.2.tar.gz) = 162809 +SHA256 (tig-0.17.tar.gz) = 44d9c9d4dec68911e0f40275218206039f843bc39af77718777e7008e96894fb +SIZE (tig-0.17.tar.gz) = 168918 diff -ruN --exclude=CVS /usr/ports/devel/tig/files/patch-configure /tmp/tig/files/patch-configure --- /usr/ports/devel/tig/files/patch-configure 2009-12-12 22:20:47.000000000 -0200 +++ /tmp/tig/files/patch-configure 1969-12-31 21:00:00.000000000 -0300 @@ -1,22 +0,0 @@ ---- configure.orig 2009-12-12 21:32:37.031583584 +0800 -+++ configure 2009-12-12 21:35:22.065764679 +0800 -@@ -3275,7 +3275,7 @@ - return 0; - } - _ACEOF --for ac_lib in '' ncurses; do -+for ac_lib in '' ncursesw; do - if test -z "$ac_lib"; then - ac_res="none required" - else -@@ -3316,10 +3316,6 @@ - as_fn_error "ncurses not found" "$LINENO" 5 - esac - -- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The found ncurses library does not support wide-char." >&5 --$as_echo "$as_me: WARNING: The found ncurses library does not support wide-char." >&2;} -- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This means that tig will not correctly render UTF-8." >&5 --$as_echo "$as_me: WARNING: This means that tig will not correctly render UTF-8." >&2;} - esac - - --- tig-0.17.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d75aa18.65c2ec0a.6613.0b16>