From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 16 11:50:02 2012 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 CB907106564A for ; Wed, 16 May 2012 11:50: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 852D28FC12 for ; Wed, 16 May 2012 11:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4GBo2c2056959 for ; Wed, 16 May 2012 11:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4GBo20T056958; Wed, 16 May 2012 11:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 16 May 2012 11:50:02 GMT Resent-Message-Id: <201205161150.q4GBo20T056958@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, Alan Hicks Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A74DB1065673 for ; Wed, 16 May 2012 11:41:56 +0000 (UTC) (envelope-from alan@p-o.co.uk) Received: from schnittke.p-o.co.uk (alanhicks.plus.com [80.229.143.200]) by mx1.freebsd.org (Postfix) with ESMTP id 599E88FC18 for ; Wed, 16 May 2012 11:41:55 +0000 (UTC) Received: from alan by p-o.co.uk with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SUc9H-0000Go-BK; Wed, 16 May 2012 12:12:07 +0100 Message-Id: Date: Wed, 16 May 2012 12:12:07 +0100 From: Alan Hicks To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Alan Hicks Subject: ports/167956: [maintainer patch] mail/dbmail22 fix to enable building with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alan Hicks List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 11:50:02 -0000 >Number: 167956 >Category: ports >Synopsis: [maintainer patch] mail/dbmail22 fix to enable building with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 16 11:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alan Hicks >Release: FreeBSD 9.0-RELEASE i386 >Organization: >Environment: System: FreeBSD schnittke.p-o.co.uk 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Configure script barfs with 'Script "configure" failed unexpectedly' due to error with empty character constant in define _GNU_SOURCE '' changing quotes from '' to "" fixes the issue >How-To-Repeat: Build with clang >Fix: Apply the attached patch to reverse affected quotes --- dbmail22.diff begins here --- diff -uNr dbmail22.bak/files/patch-configure dbmail22/files/patch-configure --- dbmail22.bak/files/patch-configure 1970-01-01 01:00:00.000000000 +0100 +++ dbmail22/files/patch-configure 2012-05-16 10:17:34.000000000 +0100 @@ -0,0 +1,11 @@ +--- configure.bak 2012-05-16 09:40:52.000000000 +0100 ++++ configure 2012-05-16 10:02:02.000000000 +0100 +@@ -2967,7 +2967,7 @@ + sieveprefixes="/usr /usr/local" + + +-$as_echo "#define _GNU_SOURCE ''" >>confdefs.h ++$as_echo '#define _GNU_SOURCE ""' >>confdefs.h + + + # Turn off both defaults. --- dbmail22.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: