From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 1 09:10:03 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FAFF1065674 for ; Fri, 1 Jul 2011 09:10:03 +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 4FA0A8FC15 for ; Fri, 1 Jul 2011 09:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p619A35W035893 for ; Fri, 1 Jul 2011 09:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p619A314035892; Fri, 1 Jul 2011 09:10:03 GMT (envelope-from gnats) Resent-Date: Fri, 1 Jul 2011 09:10:03 GMT Resent-Message-Id: <201107010910.p619A314035892@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, Niclas Zeising Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 646B01065670 for ; Fri, 1 Jul 2011 09:04:02 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id E1F868FC13 for ; Fri, 1 Jul 2011 09:04:01 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id CB0DB4000A for ; Fri, 1 Jul 2011 11:04:00 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id BF62840013; Fri, 1 Jul 2011 11:04:00 +0200 (CEST) Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 798804000A for ; Fri, 1 Jul 2011 11:03:59 +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 5A3EE119C08 for ; Fri, 1 Jul 2011 11:03:59 +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 3690212B1E5 for ; Fri, 1 Jul 2011 11:03:59 +0200 (CEST) Received: (from zeising@localhost) by vincent.daemonic.se (8.14.4/8.14.4/Submit) id p6193xrs015640; Fri, 1 Jul 2011 11:03:59 +0200 (CEST) (envelope-from zeising) Message-Id: <201107010903.p6193xrs015640@vincent.daemonic.se> Date: Fri, 1 Jul 2011 11:03:59 +0200 (CEST) From: Niclas Zeising To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/158558: [PATCH] fix games/blackjack to build using clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Niclas Zeising List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2011 09:10:03 -0000 >Number: 158558 >Category: ports >Synopsis: [PATCH] fix games/blackjack to build using 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: Fri Jul 01 09:10:02 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 fixes games/blackjack to build using clang by adding a return type to main as per standard. --- games.blackjack.clangfix.diff begins here --- Index: files/patch-main.cpp =================================================================== RCS file: files/patch-main.cpp diff -N files/patch-main.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-main.cpp 1 Jul 2011 09:02:14 -0000 @@ -0,0 +1,10 @@ +--- main.cpp.orig 1998-02-11 05:33:13.000000000 +0100 ++++ main.cpp 2011-07-01 11:00:18.000000000 +0200 +@@ -42,6 +42,7 @@ + + //***************************************************************************** + ++int + main ( int argc, char **argv ) { + QFont font("adobe", 12, QFont::Bold); + QFont::setDefaultFont(font); --- games.blackjack.clangfix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: