From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 23 19:20:03 2009 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 47FAE1065750 for ; Mon, 23 Mar 2009 19:20:03 +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 1D5C68FC19 for ; Mon, 23 Mar 2009 19:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NJK2E2081863 for ; Mon, 23 Mar 2009 19:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2NJK2fq081862; Mon, 23 Mar 2009 19:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 23 Mar 2009 19:20:02 GMT Resent-Message-Id: <200903231920.n2NJK2fq081862@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, Florian Smeets Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8F34106579C for ; Mon, 23 Mar 2009 19:12:14 +0000 (UTC) (envelope-from flo@mail.solomo.de) Received: from mail.solomo.de (mail.solomo.de [85.214.49.72]) by mx1.freebsd.org (Postfix) with ESMTP id 92BB48FC25 for ; Mon, 23 Mar 2009 19:12:14 +0000 (UTC) (envelope-from flo@mail.solomo.de) Received: from localhost (localhost [127.0.0.1]) by mail.solomo.de (Postfix) with ESMTP id 6251D3F433 for ; Mon, 23 Mar 2009 20:12:13 +0100 (CET) Received: from mail.solomo.de ([127.0.0.1]) by localhost (mail.solomo.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UM1X5Ts1Oico for ; Mon, 23 Mar 2009 20:12:11 +0100 (CET) Received: by mail.solomo.de (Postfix, from userid 1001) id 3A8203F4EA; Mon, 23 Mar 2009 20:12:11 +0100 (CET) Message-Id: <20090323191211.3A8203F4EA@mail.solomo.de> Date: Mon, 23 Mar 2009 20:12:11 +0100 (CET) From: Florian Smeets To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/132982: [PATCH] sysutils/lookat: [SUMMARIZE CHANGES] 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: Mon, 23 Mar 2009 19:20:04 -0000 >Number: 132982 >Category: ports >Synopsis: [PATCH] sysutils/lookat: [SUMMARIZE CHANGES] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 23 19:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Florian Smeets >Release: FreeBSD 7.1-STABLE amd64 >Organization: >Environment: System: FreeBSD mail.solomo.de 7.1-STABLE FreeBSD 7.1-STABLE #6: Sun Mar 1 16:30:44 CET >Description: - fix after addition of adding getdelim(), getline() Added file(s): - files/patch-getline.c - files/patch-getline.h Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- lookat-1.4.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/lookat.orig/Makefile /usr/ports/sysutils/lookat/Makefile --- /usr/ports/sysutils/lookat.orig/Makefile 2009-03-19 19:44:29.000000000 +0100 +++ /usr/ports/sysutils/lookat/Makefile 2009-03-23 20:08:54.000000000 +0100 @@ -21,10 +21,6 @@ .include -.if ${OSVERSION} >= 800067 -BROKEN= does not compile -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|/etc/lookat.conf|${PREFIX}/etc/lookat.conf|g' ${WRKSRC}/${PORTNAME}.1 diff -ruN --exclude=CVS /usr/ports/sysutils/lookat.orig/files/patch-getline.c /usr/ports/sysutils/lookat/files/patch-getline.c --- /usr/ports/sysutils/lookat.orig/files/patch-getline.c 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/sysutils/lookat/files/patch-getline.c 2009-03-23 20:08:11.000000000 +0100 @@ -0,0 +1,33 @@ +--- ./getline.c.orig 2009-03-23 18:42:33.000000000 +0000 ++++ ./getline.c 2009-03-23 19:03:49.000000000 +0000 +@@ -45,7 +45,15 @@ + } + + #else /* ! have getdelim */ ++ ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version <= 800066 + int ++#else ++ssize_t ++#endif ++#endif + getdelim (lineptr, n, delimiter, stream); + + # include +@@ -150,7 +158,14 @@ + return getstr (lineptr, n, stream, '\n', 0); + } + ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version <= 800066 + int ++#else ++ssize_t ++#endif ++#endif + getdelim (lineptr, n, delimiter, stream) + char **lineptr; + size_t *n; diff -ruN --exclude=CVS /usr/ports/sysutils/lookat.orig/files/patch-getline.h /usr/ports/sysutils/lookat/files/patch-getline.h --- /usr/ports/sysutils/lookat.orig/files/patch-getline.h 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/sysutils/lookat/files/patch-getline.h 2009-03-23 20:08:11.000000000 +0100 @@ -0,0 +1,16 @@ +--- ./getline.h.orig 2009-03-23 18:40:41.000000000 +0000 ++++ ./getline.h 2009-03-23 18:40:20.000000000 +0000 +@@ -36,8 +36,13 @@ + int + getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); + ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version <= 800066 + int + getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); ++#endif ++#endif + + # endif + --- lookat-1.4.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: