Date: Thu, 18 Jun 2009 14:15:40 +0200 (CEST) From: Florian Smeets <flo@kasimir.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mm@FreeBSD.org Subject: ports/135696: [PATCH] irc/tr-ircd: unbreak on 8-CURRENT Message-ID: <20090618121540.60B7239A2E@280r.solomo.de> Resent-Message-ID: <200906181220.n5ICK2WG040520@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <osreldate.h> ++#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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090618121540.60B7239A2E>