From owner-svn-ports-head@FreeBSD.ORG Fri Dec 26 11:11:03 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B83F7CD3; Fri, 26 Dec 2014 11:11:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A41B566370; Fri, 26 Dec 2014 11:11:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBB3w3042797; Fri, 26 Dec 2014 11:11:03 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBQBB3BC042796; Fri, 26 Dec 2014 11:11:03 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201412261111.sBQBB3BC042796@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Fri, 26 Dec 2014 11:11:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375618 - head/mail/spamprobe/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:11:03 -0000 Author: antoine Date: Fri Dec 26 11:11:02 2014 New Revision: 375618 URL: https://svnweb.freebsd.org/changeset/ports/375618 QAT: https://qat.redports.org/buildarchive/r375618/ Log: Allow building with either giflib 4.2 or 5.0 Added: head/mail/spamprobe/files/patch-src_parser_GifParser.cc (contents, props changed) Added: head/mail/spamprobe/files/patch-src_parser_GifParser.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_parser_GifParser.cc Fri Dec 26 11:11:02 2014 (r375618) @@ -0,0 +1,14 @@ +--- src/parser/GifParser.cc.orig 2006-11-17 07:24:49 UTC ++++ src/parser/GifParser.cc +@@ -99,7 +99,11 @@ bool GifParser::parseImage() + void GifParser::openImage() + { + m_nextByteIndex = 0; ++#if GIFLIB_MAJOR >= 5 ++ m_gif = DGifOpen(this, readFromBuffer, NULL); ++#else + m_gif = DGifOpen(this, readFromBuffer); ++#endif + if (!m_gif) { + throw runtime_error("open gif failed"); + }