From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 10 09:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTP id D3F95DF9 for ; Sun, 10 Nov 2013 09:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9AF412F08 for ; Sun, 10 Nov 2013 09:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAA9K0Nb095558 for ; Sun, 10 Nov 2013 09:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAA9K0sQ095557; Sun, 10 Nov 2013 09:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 10 Nov 2013 09:20:00 GMT Resent-Message-Id: <201311100920.rAA9K0sQ095557@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, Horia Racoviceanu Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 61B50DB3 for ; Sun, 10 Nov 2013 09:11:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5037E2EE2 for ; Sun, 10 Nov 2013 09:11:08 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAA9B8fr018947 for ; Sun, 10 Nov 2013 09:11:08 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAA9B8wZ018933; Sun, 10 Nov 2013 09:11:08 GMT (envelope-from nobody) Message-Id: <201311100911.rAA9B8wZ018933@oldred.freebsd.org> Date: Sun, 10 Nov 2013 09:11:08 GMT From: Horia Racoviceanu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183838: Fix sysutils/dvdisaster build with clang [PATCH] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 09:20:00 -0000 >Number: 183838 >Category: ports >Synopsis: Fix sysutils/dvdisaster build with clang [PATCH] >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 Nov 10 09:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Horia Racoviceanu >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: FreeBSD horia.lan 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fix build with a gcc-less world. >How-To-Repeat: >Fix: Despite the software insisting on gcc, it compiles and is fully functional with the clang c compiler. Build log: https://redports.org/buildarchive/20131110064220-25444/ Patch attached with submission follows: diff -ruN dvdisaster-org/Makefile dvdisaster/Makefile --- dvdisaster-org/Makefile 2013-09-20 19:05:58.000000000 -0400 +++ dvdisaster/Makefile 2013-11-10 01:15:35.000000000 -0500 @@ -41,6 +41,10 @@ MANLANG= "" cs de it NO_STAGE= yes + +post-patch: + ${REINPLACE_CMD} -e '/REQUIRE_GCC/d' ${WRKSRC}/configure ${WRKSRC}/tools/configure + do-configure: @(cd ${CONFIGURE_WRKSRC} && \ if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ >Release-Note: >Audit-Trail: >Unformatted: