Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2013 20:13:40 +0100 (BST)
From:      Chris Rees <crees@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/178058: Fix port: audio/ladspa on CURRENT
Message-ID:  <20130422191340.517E522B60@pegasus.bayofrum.net>
Resent-Message-ID: <201304221920.r3MJK0hS094883@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178058
>Category:       ports
>Synopsis:       Fix port: audio/ladspa on CURRENT
>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:   Mon Apr 22 19:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD pegasus.bayofrum.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r247189: Sat Feb 23 15:20:18 GMT 2013 root@pegasus.bayofrum.net:/usr/obj/usr/home/crees/workspace/src/stable/9/sys/PEGASUS amd64


	
>Description:
	Clang appears to give a warning about -I . unused, but unfortunately with -Werror that causes an error;

	cc: error: argument unused during compilation: '-I .'
>How-To-Repeat:
	
>Fix:

	Strip -Werror from Makefile; it's unnecessary for users anyway.

--- patch.txt begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 316262)
+++ Makefile	(working copy)
@@ -29,7 +29,7 @@
 MAKE_JOBS_SAFE=	yes
 
 post-patch:
-	${REINPLACE_CMD} -e 's,-ldl,,; s,-O3,${CFLAGS},; \
+	${REINPLACE_CMD} -e 's,-ldl,,; s,-O3,${CFLAGS},; s,-Werror ,,; \
 		s,^CC,#CC,;s,^CPP,#CPP,;s,CPP,CXX,; s,^CXXFLAGS.*=,CXXFLAGS+=,' \
 		${WRKSRC}/src/makefile
 
--- patch.txt ends here ---



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130422191340.517E522B60>