From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 20 12:40:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 033221065672 for ; Sun, 20 May 2012 12:40:11 +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 719118FC12 for ; Sun, 20 May 2012 12:40:10 +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 q4KCe1Yf053188 for ; Sun, 20 May 2012 12:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4KCe1gp053187; Sun, 20 May 2012 12:40:01 GMT (envelope-from gnats) Resent-Date: Sun, 20 May 2012 12:40:01 GMT Resent-Message-Id: <201205201240.q4KCe1gp053187@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, Baptiste Daroussin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68C6A106566C; Sun, 20 May 2012 12:38:22 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1AA6F8FC12; Sun, 20 May 2012 12:38:21 +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 q4KCcLfN053057; Sun, 20 May 2012 12:38:21 GMT (envelope-from bapt@freefall.freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4KCcL7J053056; Sun, 20 May 2012 12:38:21 GMT (envelope-from bapt) Message-Id: <201205201238.q4KCcL7J053056@freefall.freebsd.org> Date: Sun, 20 May 2012 12:38:21 GMT From: Baptiste Daroussin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ehaupt@FreeBSD.org Subject: ports/168164: [PATCH] net/socat: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2012 12:40:11 -0000 >Number: 168164 >Category: ports >Synopsis: [PATCH] net/socat: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 20 12:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Baptiste Daroussin >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD azathoth.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r233418M: Sat Mar 24 13:45:31 CET >Description: This patch fixes build with clang, clang complaining about unused comparison that are use in the configure test to determine the size of some types Port maintainer (ehaupt@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_5 (mode: change, diff: CVS) >How-To-Repeat: >Fix: --- socat-1.7.2.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/socat/Makefile,v retrieving revision 1.35 diff -u -u -r1.35 Makefile --- Makefile 14 May 2012 18:42:14 -0000 1.35 +++ Makefile 20 May 2012 12:37:23 -0000 @@ -21,6 +21,9 @@ USE_RC_SUBR= socat USE_OPENSSL= yes MAKE_JOBS_SAFE= yes +.if ${CC} == clang +CFLAGS+= -Wno-unused-comparison +.endif PORTSCOUT= skipv:2.0.0-b2 --- socat-1.7.2.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: