Date: Fri, 1 Jul 2011 01:16:28 +0200 (CEST) From: Niclas Zeising <niclas.zeising@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158546: [PATCH] fix audio/cdplay to build with clang Message-ID: <201106302316.p5UNGScJ010692@vincent.daemonic.se> Resent-Message-ID: <201106302320.p5UNK6TE057031@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158546 >Category: ports >Synopsis: [PATCH] fix audio/cdplay to build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 30 23:20:06 UTC 2011 >Closed-Date: >Last-Modified: >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: >How-To-Repeat: >Fix: Attached patch makes audio/cdplay build with clang, instead of hardcoding gcc. --- audio.cdplay.clangfix.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/cdplay/Makefile,v retrieving revision 1.16 diff -u -d -r1.16 Makefile --- Makefile 19 Nov 2009 22:07:31 -0000 1.16 +++ Makefile 30 Jun 2011 23:15:04 -0000 @@ -21,6 +21,9 @@ MAN1= cdplay.1 PLIST_FILES= bin/cdplay +post-patch: + ${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile + pre-patch: @${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz --- audio.cdplay.clangfix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106302316.p5UNGScJ010692>