From zeising@daemonic.se  Tue Jun 21 17:26:14 2011
Return-Path: <zeising@daemonic.se>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 824F8106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jun 2011 17:26:14 +0000 (UTC)
	(envelope-from zeising@daemonic.se)
Received: from mail.lysator.liu.se (unknown [IPv6:2001:6b0:17:f0a0::3])
	by mx1.freebsd.org (Postfix) with ESMTP id 03BD08FC1F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jun 2011 17:26:13 +0000 (UTC)
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
	by mail.lysator.liu.se (Postfix) with ESMTP id 4AA2840002
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jun 2011 19:26:12 +0200 (CEST)
Received: by mail.lysator.liu.se (Postfix, from userid 1004)
	id 3FC7C40004; Tue, 21 Jun 2011 19:26:12 +0200 (CEST)
Received: from mx.daemonic.se (h-90-99.A163.priv.bahnhof.se [79.136.90.99])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.lysator.liu.se (Postfix) with ESMTPSA id C582040002
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jun 2011 19:26:11 +0200 (CEST)
Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4])
	by mx.daemonic.se (Postfix) with ESMTPS id 65D27119C04
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jun 2011 19:26:11 +0200 (CEST)
Received: from vincent.daemonic.se (login.daemonic.se [IPv6:2001:470:dca9:0:1::10])
	by mail.daemonic.se (Postfix) with ESMTPS id 42E4A12B0A0
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jun 2011 19:26:11 +0200 (CEST)
Received: (from zeising@localhost)
	by vincent.daemonic.se (8.14.4/8.14.4/Submit) id p5LHQBTq001644;
	Tue, 21 Jun 2011 19:26:11 +0200 (CEST)
	(envelope-from zeising)
Message-Id: <201106211726.p5LHQBTq001644@vincent.daemonic.se>
Date: Tue, 21 Jun 2011 19:26:11 +0200 (CEST)
From: Niclas Zeising <niclas.zeising@gmail.com>
Reply-To: Niclas Zeising <niclas.zeising@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] fix graphics/fujiplay to build using clang
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         158131
>Category:       ports
>Synopsis:       [PATCH] fix graphics/fujiplay to build using clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 21 17:30:11 UTC 2011
>Closed-Date:    Wed Jun 22 00:52:15 CEST 2011
>Last-Modified:  Tue Jun 21 23:00:23 UTC 2011
>Originator:     Niclas Zeising
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root@vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64


	
>Description:
	grahics/fujiplay hardcodes CC = gcc in vendor makefile.
>How-To-Repeat:
	
>Fix:

	Attached patch fixes grahics/fujiplay to build using default system compiler.

--- graphics.fujiplay.clangfix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/fujiplay/Makefile,v
retrieving revision 1.9
diff -u -d -r1.9 Makefile
--- Makefile	24 Aug 2008 19:46:21 -0000	1.9
+++ Makefile	21 Jun 2011 17:23:49 -0000
@@ -21,6 +21,9 @@
 PLIST_FILES=	bin/fujiplay bin/yycc2ppm
 PORTDOCS=	README fujiplay.lsm mx700-commands.html
 
+post-patch:
+	${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
+
 do-install:
 	(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
 .if !defined(NOPORTDOCS)
--- graphics.fujiplay.clangfix.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: ehaupt 
Responsible-Changed-When: Wed Jun 22 00:37:09 CEST 2011 
Responsible-Changed-Why:  
I will take care of it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158131 
State-Changed-From-To: open->closed 
State-Changed-By: ehaupt 
State-Changed-When: Wed Jun 22 00:52:14 CEST 2011 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158131 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158131: commit references a PR
Date: Tue, 21 Jun 2011 22:52:17 +0000 (UTC)

 ehaupt      2011-06-21 22:52:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/fujiplay    Makefile distinfo 
   Log:
   Fix build with clang by making the port respect CC. While we're here remove
   the md5 summ.
   
   PR:             158131
   Submitted by:   Niclas Zeising <niclas.zeising@gmail.com>
   
   Revision  Changes    Path
   1.10      +3 -0      ports/graphics/fujiplay/Makefile
   1.4       +0 -1      ports/graphics/fujiplay/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
