From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 18 12:20:02 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 86CA5106567F for ; Thu, 18 Jun 2009 12:20:02 +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 5DAD48FC1C for ; Thu, 18 Jun 2009 12:20:02 +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 n5ICK28q040528 for ; Thu, 18 Jun 2009 12: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 n5ICK2WG040520; Thu, 18 Jun 2009 12:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 18 Jun 2009 12:20:02 GMT Resent-Message-Id: <200906181220.n5ICK2WG040520@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 421F9106566C for ; Thu, 18 Jun 2009 12:16:57 +0000 (UTC) (envelope-from flo@280r.solomo.de) Received: from mail.solomo.de (mail.solomo.de [85.214.49.72]) by mx1.freebsd.org (Postfix) with ESMTP id C0BE88FC14 for ; Thu, 18 Jun 2009 12:16:56 +0000 (UTC) (envelope-from flo@280r.solomo.de) Received: from localhost (localhost [127.0.0.1]) by mail.solomo.de (Postfix) with ESMTP id 4EC323F4ED; Thu, 18 Jun 2009 14:16:55 +0200 (CEST) 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 aG3ihg-S3-bn; Thu, 18 Jun 2009 14:16:52 +0200 (CEST) Received: from 280r.solomo.de (unknown [212.185.53.228]) by mail.solomo.de (Postfix) with ESMTP id C4F3D3F4B6; Thu, 18 Jun 2009 14:16:52 +0200 (CEST) Received: by 280r.solomo.de (Postfix, from userid 125) id 8405C39A00; Thu, 18 Jun 2009 14:20:41 +0200 (CEST) Received: by 280r.solomo.de (Postfix, from userid 1001) id 60B7239A2E; Thu, 18 Jun 2009 14:15:40 +0200 (CEST) Message-Id: <20090618121540.60B7239A2E@280r.solomo.de> Date: Thu, 18 Jun 2009 14:15:40 +0200 (CEST) From: Florian Smeets To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: mm@FreeBSD.org Subject: ports/135696: [PATCH] irc/tr-ircd: unbreak on 8-CURRENT 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: Thu, 18 Jun 2009 12:20:03 -0000 >Number: 135696 >Category: ports >Synopsis: [PATCH] irc/tr-ircd: unbreak on 8-CURRENT >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: Thu Jun 18 12:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Florian Smeets >Release: FreeBSD 8.0-CURRENT sparc64 >Organization: >Environment: System: FreeBSD 280r.solomo.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Tue Jun 16 16:47:44 CEST 2009 >Description: - This port was broken by the import of getdelim(). Only use the port supplied getdelim() for FreeBSD versions < 800067 Added file(s): - files/patch-lib-md5-getline.h Port maintainer (mm@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- tr-ircd-5.7.3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/irc/tr-ircd.orig/files/patch-lib-md5-getline.h /usr/ports/irc/tr-ircd/files/patch-lib-md5-getline.h --- /usr/ports/irc/tr-ircd.orig/files/patch-lib-md5-getline.h 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/irc/tr-ircd/files/patch-lib-md5-getline.h 2009-06-18 13:56:23.000000000 +0200 @@ -0,0 +1,16 @@ +--- lib/md5/getline.h.orig 2009-06-18 13:54:02.000000000 +0200 ++++ lib/md5/getline.h 2009-06-18 13:56:18.000000000 +0200 +@@ -34,8 +34,13 @@ + int + getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); + ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version < 800067 + int + getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); ++#endif ++#endif + + /* + * # endif --- tr-ircd-5.7.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: