From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 16 18:10:20 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 ESMTPS id 4482F844 for ; Mon, 16 Dec 2013 18:10:20 +0000 (UTC) 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 0A9031990 for ; Mon, 16 Dec 2013 18:10:20 +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 rBGIAJlE016382 for ; Mon, 16 Dec 2013 18:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBGIAJi9016381; Mon, 16 Dec 2013 18:10:19 GMT (envelope-from gnats) Resent-Date: Mon, 16 Dec 2013 18:10:19 GMT Resent-Message-Id: <201312161810.rBGIAJi9016381@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, KATO Tsuguru 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 ESMTPS id 39696613 for ; Mon, 16 Dec 2013 18:06:46 +0000 (UTC) Received: from omta03.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0EE18D8 for ; Mon, 16 Dec 2013 18:06:46 +0000 (UTC) Received: from coppermine.my.domain (ZT030106.ppp.dion.ne.jp [59.128.30.106]) by omta03.auone-net.jp (au one net mail) with ESMTP id A6DE21880009 for ; Tue, 17 Dec 2013 03:06:44 +0900 (JST) Message-Id: <20131217025150.506ae7d7433a8f002c8be52e@yahoo.com> Date: Tue, 17 Dec 2013 02:51:50 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/184871: x11/3ddesktop: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 18:10:20 -0000 >Number: 184871 >Category: ports >Synopsis: x11/3ddesktop: 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: Mon Dec 16 18:10:19 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build with clang New file: files/patch-config.cpp >How-To-Repeat: >Fix: diff -urN /usr/ports/x11/3ddesktop/files/patch-config.cpp x11/3ddesktop/files/patch-config.cpp --- /usr/ports/x11/3ddesktop/files/patch-config.cpp 1970-01-01 09:00:00.000000000 +0900 +++ x11/3ddesktop/files/patch-config.cpp 2013-12-17 00:00:00.000000000 +0900 @@ -0,0 +1,13 @@ +--- config.cpp.orig ++++ config.cpp +@@ -64,8 +64,9 @@ + } + + +-Options::Options(char *n = NULL) ++Options::Options(char *n) + { ++ n = NULL; + + if (n) + strncpy(name, n, sizeof(name)); diff -urN /usr/ports/x11/3ddesktop/files/patch-event.hpp x11/3ddesktop/files/patch-event.hpp --- /usr/ports/x11/3ddesktop/files/patch-event.hpp 2013-11-06 21:55:48.000000000 +0900 +++ x11/3ddesktop/files/patch-event.hpp 2013-12-17 00:00:00.000000000 +0900 @@ -5,7 +5,7 @@ for (k = events.begin(); k != events.end(); ++k) { Event *e = *k; - printf(":: Event %d 0x%x\n", e->type, (unsigned int)(e->function)); -+ printf(":: Event %d 0x%x\n", e->type, (unsigned intptr_t)(e->function)); ++ printf(":: Event %d %p\n", e->type, e->function); } } >Release-Note: >Audit-Trail: >Unformatted: