From owner-svn-ports-head@FreeBSD.ORG Sat Mar 21 19:06:57 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0EDCD36B; Sat, 21 Mar 2015 19:06:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D4DF5C16; Sat, 21 Mar 2015 19:06:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2LJ6uOX068456; Sat, 21 Mar 2015 19:06:56 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2LJ6utA068454; Sat, 21 Mar 2015 19:06:56 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201503211906.t2LJ6utA068454@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Sat, 21 Mar 2015 19:06:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381817 - head/misc/dahdi-kmod26/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2015 19:06:57 -0000 Author: fjoe Date: Sat Mar 21 19:06:55 2015 New Revision: 381817 URL: https://svnweb.freebsd.org/changeset/ports/381817 QAT: https://qat.redports.org/buildarchive/r381817/ Log: Unbreak build with clang 3.6. Added: head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c (contents, props changed) head/misc/dahdi-kmod26/files/patch-include-linux-module.h (contents, props changed) Added: head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c Sat Mar 21 19:06:55 2015 (r381817) @@ -0,0 +1,11 @@ +--- drivers/dahdi/dahdi_dynamic_ethmf.c.orig 2015-03-22 01:02:19.881617000 +0600 ++++ drivers/dahdi/dahdi_dynamic_ethmf.c 2015-03-22 01:02:39.709444000 +0600 +@@ -660,7 +660,7 @@ + kfree(z->msgbuf); + kfree(z); + } else { +- if (z && z->span && z->span->name) { ++ if (z && z->span) { + printk(KERN_ERR "Cannot find interface for %s\n", + z->span->name); + } Added: head/misc/dahdi-kmod26/files/patch-include-linux-module.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/dahdi-kmod26/files/patch-include-linux-module.h Sat Mar 21 19:06:55 2015 (r381817) @@ -0,0 +1,11 @@ +--- include/linux/module.h.orig 2015-03-22 00:59:45.757428000 +0600 ++++ include/linux/module.h 2015-03-22 01:00:08.597762000 +0600 +@@ -47,7 +47,7 @@ + #define _module_ptr_args __CONCAT(_module_ptr_args_, __LINE__) + #define _module_ptr_init(field, val) \ + static struct module_ptr_args _module_ptr_args = { \ +- (const void **) &(THIS_MODULE->field), val \ ++ (const void **) (uintptr_t) &(THIS_MODULE->field), val \ + }; \ + SYSINIT(__CONCAT(_module_ptr_args, _init), \ + SI_SUB_KLD, SI_ORDER_FIRST, \