From owner-svn-ports-all@FreeBSD.ORG Fri Apr 4 19:27:52 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 760A383D; Fri, 4 Apr 2014 19:27:52 +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 628AE826; Fri, 4 Apr 2014 19:27:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34JRqkM052404; Fri, 4 Apr 2014 19:27:52 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34JRqvF052403; Fri, 4 Apr 2014 19:27:52 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201404041927.s34JRqvF052403@svn.freebsd.org> From: Boris Samorodov Date: Fri, 4 Apr 2014 19:27:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350154 - head/print/cups-base X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 19:27:52 -0000 Author: bsam Date: Fri Apr 4 19:27:51 2014 New Revision: 350154 URL: http://svnweb.freebsd.org/changeset/ports/350154 QAT: https://qat.redports.org/buildarchive/r350154/ Log: Use CFLAGS+=-fno-blocks to unbreak systems with default gcc compiler. This is a band-aid that should be reworked for systems with blocks and libdispatch support. Reported by: Anton Shterenlikht Discussed at: freebsd-ports@ MFH: 2014Q2 Modified: head/print/cups-base/Makefile Modified: head/print/cups-base/Makefile ============================================================================== --- head/print/cups-base/Makefile Fri Apr 4 19:27:02 2014 (r350153) +++ head/print/cups-base/Makefile Fri Apr 4 19:27:51 2014 (r350154) @@ -299,4 +299,12 @@ post-install: ${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${STAGEDIR}${PREFIX}/sbin/ .endif -.include +# This is just a band-aid to unbreak print/cups-client at systems with default gcc compiler, +# should be reworked to build with blocks and libdispatch support (via options). +# +.include +.if defined(CUPS_CLIENT) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000 +CFLAGS+= -fno-blocks +.endif + +.include