From nobody@FreeBSD.org  Fri Nov  1 02:59:01 2013
Return-Path: <nobody@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 385932E6
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Nov 2013 02:59:01 +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 15EC5259C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Nov 2013 02:59:01 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA12x0md001772
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 1 Nov 2013 02:59:00 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA12x09N001771;
	Fri, 1 Nov 2013 02:59:00 GMT
	(envelope-from nobody)
Message-Id: <201311010259.rA12x09N001771@oldred.freebsd.org>
Date: Fri, 1 Nov 2013 02:59:00 GMT
From: David Cecchin <dcecchin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Recommend misc/dahdi, misc/dahdi-kmod, misc/dahdi-kmod26 USE_GCC=any
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183543
>Category:       ports
>Synopsis:       Recommend misc/dahdi, misc/dahdi-kmod, misc/dahdi-kmod26 USE_GCC=any
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fjoe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 01 03:00:00 UTC 2013
>Closed-Date:    Mon Nov 18 12:20:26 UTC 2013
>Last-Modified:  Mon Nov 18 12:20:26 UTC 2013
>Originator:     David Cecchin
>Release:        FreeBSD 9.1-RELEASE-p8
>Organization:
>Environment:
FreeBSD sanction.local 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:
It seems that Dahdi is having some trouble building with clang. Currently I've set my ports compiler to be clang as outlined https://wiki.freebsd.org/PortsAndClang

The error seems to be:

===> freebsd/dahdi (all)
Warning: Object directory not changed from original /usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
Updating version.h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
clang -O2 -pipe -fno-strict-aliasing -D__KERNEL__ -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c ng_dahdi_iface.c
clang -O2 -pipe -fno-strict-aliasing -D__KERNEL__ -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c /usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:826:2: error: expression result unused [-Werror,-Wunused-value]
        WARN_ON(!ec->owner);
        ^~~~~~~~~~~~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:355:2: note: expanded from macro 'WARN_ON'
        unlikely(__ret_warn_on);                        \
        ^
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:588:25: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                        ^~~~~~~~~~~~~~~~ ~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:3270:5: error: expression result unused [-Werror,-Wunused-value]
                         WARN_ON(1);
                         ^~~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:355:2: note: expanded from macro 'WARN_ON'
        unlikely(__ret_warn_on);                        \
        ^
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:588:25: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                        ^~~~~~~~~~~~~~~~ ~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:3341:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (count < 0)
            ~~~~~ ^ ~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:3354:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (count < 0)
            ~~~~~ ^ ~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:3846:3: error: expression result unused [-Werror,-Wunused-value]
                WARN_ON(1);
                ^~~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:355:2: note: expanded from macro 'WARN_ON'
        unlikely(__ret_warn_on);                        \
        ^
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:588:25: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                        ^~~~~~~~~~~~~~~~ ~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:5849:2: error: expression result unused [-Werror,-Wunused-value]
        WARN_ON(!chan->master);
        ^~~~~~~~~~~~~~~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:355:2: note: expanded from macro 'WARN_ON'
        unlikely(__ret_warn_on);                        \
        ^
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:588:25: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                        ^~~~~~~~~~~~~~~~ ~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:6308:3: error: expression result unused [-Werror,-Wunused-value]
                WARN_ON(1);
                ^~~~~~~~~~
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:355:2: note: expanded from macro 'WARN_ON'
        unlikely(__ret_warn_on);                        \
        ^
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:588:25: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                        ^~~~~~~~~~~~~~~~ ~~~~~~~~
2 warnings and 5 errors generated.
*** [dahdi-base.o] Error code 1
1 error
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/misc/dahdi-kmod.

There are other issues too with FreeBSD 10:

http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-10-31_19h34m41s/logs/dahdi-kmod-2.4.0rc5_6.log
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-10-03_02h55m30s/logs/dahdi-kmod26-2.6.1.r10738.log
http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-31_09h08m16s/logs/dahdi-kmod-2.4.0rc5_6.log
http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-31_09h08m16s/logs/dahdi-kmod26-2.6.1.r10738.log

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Dimitry Andric <dim@FreeBSD.org>
To: bug-followup@FreeBSD.org,
 dcecchin@gmail.com
Cc:  
Subject: Re: misc/183543: Recommend misc/dahdi, misc/dahdi-kmod, misc/dahdi-kmod26 USE_GCC=any
Date: Fri, 1 Nov 2013 22:40:39 +0100

 --Apple-Mail=_3A5BCF7C-E093-476F-B7C3-D6F49514C1E1
 Content-Type: multipart/mixed;
 	boundary="Apple-Mail=_65EE7788-E643-4BAC-AEE3-00BC2146F5A4"
 
 
 --Apple-Mail=_65EE7788-E643-4BAC-AEE3-00BC2146F5A4
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Here is a diff for the problems I could find in misc/dahdi-kmod.  This
 changes the following:
 
 - Adds a hunk to the patch-dahdi-iface diff, to disable use of D_PSEUDO
   on FreeBSD 10.x.  This define has been removed.
 - Adds a hunk to patch-flush_workqueue, which initializes a variable to
   silence a warning about it being possibly used uninitialized.
 - Adds several hunks to patch-ithread, to fix invalid format specifiers,
   and one other instance of using uninitialized variables.
 
 -Dimitry
 
 --Apple-Mail=_65EE7788-E643-4BAC-AEE3-00BC2146F5A4
 Content-Disposition: attachment;
 	filename=misc__dahdi-kmod-fix-pr183543-1.diff
 Content-Type: application/octet-stream;
 	name="misc__dahdi-kmod-fix-pr183543-1.diff"
 Content-Transfer-Encoding: 7bit
 
 Index: misc/dahdi-kmod/files/patch-dahdi-iface
 ===================================================================
 --- misc/dahdi-kmod/files/patch-dahdi-iface	(revision 332290)
 +++ misc/dahdi-kmod/files/patch-dahdi-iface	(working copy)
 @@ -929,6 +929,17 @@
   #endif
   #ifdef CONFIG_DAHDI_PPP
   				if (ms->flags & DAHDI_FLAG_PPP) {
 +@@ -9206,7 +9263,9 @@
 + 	.d_poll		= dahdi_device_poll,
 + 	.d_mmap		= dahdi_device_mmap,
 + 	.d_name		= "dahdi",
 +-#if __FreeBSD_version >= 800039
 ++#if __FreeBSD_version >= 1000001
 ++	.d_flags	= D_TRACKCLOSE | D_NEEDMINOR
 ++#elif __FreeBSD_version >= 800039
 + 	.d_flags	= D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR
 + #else
 + 	.d_flags	= D_PSEUDO | D_TRACKCLOSE
  @@ -9351,6 +9406,7 @@
   DAHDI_DEV_MODULE(dahdi);
   MODULE_VERSION(dahdi, 1);
 Index: misc/dahdi-kmod/files/patch-flush_workqueue
 ===================================================================
 --- misc/dahdi-kmod/files/patch-flush_workqueue	(revision 332290)
 +++ misc/dahdi-kmod/files/patch-flush_workqueue	(working copy)
 @@ -59,6 +59,15 @@
  ===================================================================
  --- freebsd/drivers/dahdi/wcte12xp/base.c	(revision 10598)
  +++ freebsd/drivers/dahdi/wcte12xp/base.c	(working copy)
 +@@ -1607,7 +1607,7 @@
 + 
 + static int t1_software_init(struct t1 *wc)
 + {
 +-	int x;
 ++	int x = 0;
 + 	int num;
 + 	struct pci_dev *pdev = wc->vb.pdev;
 + 
  @@ -2441,13 +2441,11 @@
   	clear_bit(INITIALIZED, &wc->bit_flags);
   
 Index: misc/dahdi-kmod/files/patch-ithread
 ===================================================================
 --- misc/dahdi-kmod/files/patch-ithread	(revision 332290)
 +++ misc/dahdi-kmod/files/patch-ithread	(working copy)
 @@ -15,6 +15,35 @@
  ===================================================================
  --- freebsd/drivers/dahdi/wctc4xxp/base.c	(revision 10453)
  +++ freebsd/drivers/dahdi/wctc4xxp/base.c	(working copy)
 +@@ -2456,8 +2456,8 @@
 + 
 + 	if (unlikely(count > SFRAME_SIZE - sizeof(struct rtp_packet))) {
 + 		DTE_DEBUG(DTE_DEBUG_GENERAL,
 +-		   "Cannot transcode packet of %Zu bytes. This exceeds the " \
 +-		   "maximum size of %Zu bytes.\n", count,
 ++		   "Cannot transcode packet of %zu bytes. This exceeds the " \
 ++		   "maximum size of %zu bytes.\n", count,
 + 		   SFRAME_SIZE - sizeof(struct rtp_packet));
 + 		return -EINVAL;
 + 	}
 +@@ -2466,7 +2466,7 @@
 + 		if ((G723_5K_BYTES != count) && (G723_6K_BYTES != count)) {
 + 			DTE_DEBUG(DTE_DEBUG_GENERAL,
 + 			   "Trying to transcode packet into G723 format " \
 +-			   "that is %Zu bytes instead of the expected " \
 ++			   "that is %zu bytes instead of the expected " \
 + 			   "%d/%d bytes.\n", count, G723_5K_BYTES,
 + 			   G723_6K_BYTES);
 + 			return -EINVAL;
 +@@ -2496,7 +2496,7 @@
 + 	cpvt->seqno += 1;
 + 
 + 	DTE_DEBUG(DTE_DEBUG_RTP_TX,
 +-	    "Sending packet of %Zu byte on channel (%p).\n", count, dtc);
 ++	    "Sending packet of %zu byte on channel (%p).\n", count, dtc);
 + 
 + 	atomic_inc(&cpvt->stats.packets_sent);
 + 	wctc4xxp_transmit_cmd(wc, cmd);
  @@ -2931,7 +2931,7 @@
   #if DEFERRED_PROCESSING == WORKQUEUE
   		schedule_work(&wc->deferred_work);
 @@ -24,3 +53,25 @@
   #elif DEFERRED_PROCESSING == INTERRUPT
   #error "You will need to change the locks if you want to run the processing " \
   		"in the interrupt handler."
 +@@ -3355,10 +3355,6 @@
 + 		complicated = temp;
 + 	}
 + 
 +-	DTE_DEBUG(DTE_DEBUG_CHANNEL_SETUP,
 +-	   "DTE is using the following channels encoder_channel: " \
 +-	   "%d decoder_channel: %d\n", encoder_channel, decoder_channel);
 +-
 + 	BUG_ON(encoder_timeslot/2 >= wc->numchannels);
 + 	BUG_ON(decoder_timeslot/2 >= wc->numchannels);
 + 	encoder_pvt = wc->uencode->channels[encoder_timeslot/2].pvt;
 +@@ -3377,6 +3373,10 @@
 + 		&decoder_channel))
 + 		goto error_exit;
 + 
 ++	DTE_DEBUG(DTE_DEBUG_CHANNEL_SETUP,
 ++	   "DTE is using the following channels encoder_channel: " \
 ++	   "%d decoder_channel: %d\n", encoder_channel, decoder_channel);
 ++
 + 	length = (DTE_FORMAT_G729A == complicated) ? G729_LENGTH :
 + 		(DTE_FORMAT_G723_1 == complicated) ? G723_LENGTH : 0;
 + 
 
 --Apple-Mail=_65EE7788-E643-4BAC-AEE3-00BC2146F5A4
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 
 
 --Apple-Mail=_65EE7788-E643-4BAC-AEE3-00BC2146F5A4--
 
 --Apple-Mail=_3A5BCF7C-E093-476F-B7C3-D6F49514C1E1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP using GPGMail
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 
 iEYEARECAAYFAlJ0H90ACgkQsF6jCi4glqNEVgCg+HjC03aSEnad7m9McfmNvgYs
 yV8AnRcbOlAgnh1TStOPsAgMoldodIls
 =xAnv
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_3A5BCF7C-E093-476F-B7C3-D6F49514C1E1--

From: Dimitry Andric <dim@FreeBSD.org>
To: bug-followup@FreeBSD.org,
 dcecchin@gmail.com
Cc:  
Subject: Re: misc/183543: Recommend misc/dahdi, misc/dahdi-kmod, misc/dahdi-kmod26 USE_GCC=any
Date: Fri, 1 Nov 2013 22:57:01 +0100

 --Apple-Mail=_064F2295-1D5F-4E88-9692-C62D54756BCE
 Content-Type: multipart/mixed;
 	boundary="Apple-Mail=_55E4C6DF-01E6-4831-A3E3-BD611151CD50"
 
 
 --Apple-Mail=_55E4C6DF-01E6-4831-A3E3-BD611151CD50
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 An additional diff, to fix the problems in misc/dahdi-kmod.  This
 changes the following:
 
 - Adds a patch to remove usage of D_PSEUDO on 10.x or later.
 - Adds a patch to fix several uses of invalid format specifiers.
 
 -Dimitry
 
 --Apple-Mail=_55E4C6DF-01E6-4831-A3E3-BD611151CD50
 Content-Disposition: attachment;
 	filename=misc__dahdi-kmod26-fix-pr183543-1.diff
 Content-Type: application/octet-stream;
 	name="misc__dahdi-kmod26-fix-pr183543-1.diff"
 Content-Transfer-Encoding: 7bit
 
 Index: misc/dahdi-kmod26/files/patch-drivers__dahdi__dahdi-base.c
 ===================================================================
 --- misc/dahdi-kmod26/files/patch-drivers__dahdi__dahdi-base.c	(revision 0)
 +++ misc/dahdi-kmod26/files/patch-drivers__dahdi__dahdi-base.c	(working copy)
 @@ -0,0 +1,13 @@
 +--- drivers/dahdi/dahdi-base.c.orig	2012-09-27 21:45:03.000000000 +0200
 ++++ drivers/dahdi/dahdi-base.c	2013-11-01 22:44:10.000000000 +0100
 +@@ -10223,7 +10223,9 @@
 + 	.d_ioctl	= dahdi_device_ioctl,
 + 	.d_poll		= dahdi_device_poll,
 + 	.d_name		= "dahdi",
 +-#if __FreeBSD_version >= 800039
 ++#if __FreeBSD_version >= 1000001
 ++	.d_flags	= D_TRACKCLOSE | D_NEEDMINOR
 ++#elif __FreeBSD_version >= 800039
 + 	.d_flags	= D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR
 + #else
 + 	.d_flags	= D_PSEUDO | D_TRACKCLOSE
 
 Property changes on: misc/dahdi-kmod26/files/patch-drivers__dahdi__dahdi-base.c
 ___________________________________________________________________
 Added: svn:mime-type
 ## -0,0 +1 ##
 +text/plain
 \ No newline at end of property
 Added: fbsd:nokeywords
 ## -0,0 +1 ##
 +yes
 \ No newline at end of property
 Added: svn:eol-style
 ## -0,0 +1 ##
 +native
 \ No newline at end of property
 Index: misc/dahdi-kmod26/files/patch-drivers__dahdi__wctc4xxp__base.c
 ===================================================================
 --- misc/dahdi-kmod26/files/patch-drivers__dahdi__wctc4xxp__base.c	(revision 0)
 +++ misc/dahdi-kmod26/files/patch-drivers__dahdi__wctc4xxp__base.c	(working copy)
 @@ -0,0 +1,31 @@
 +--- drivers/dahdi/wctc4xxp/base.c.orig	2012-03-26 19:40:58.000000000 +0200
 ++++ drivers/dahdi/wctc4xxp/base.c	2013-11-01 22:51:09.000000000 +0100
 +@@ -2423,8 +2423,8 @@
 + 
 + 	if (unlikely(count > SFRAME_SIZE - sizeof(struct rtp_packet))) {
 + 		DTE_DEBUG(DTE_DEBUG_GENERAL,
 +-		   "Cannot transcode packet of %Zu bytes. This exceeds the " \
 +-		   "maximum size of %Zu bytes.\n", count,
 ++		   "Cannot transcode packet of %zu bytes. This exceeds the " \
 ++		   "maximum size of %zu bytes.\n", count,
 + 		   SFRAME_SIZE - sizeof(struct rtp_packet));
 + 		return -EINVAL;
 + 	}
 +@@ -2434,7 +2434,7 @@
 + 		    (G723_SID_BYTES != count)) {
 + 			DTE_DEBUG(DTE_DEBUG_GENERAL,
 + 			   "Trying to transcode packet into G723 format " \
 +-			   "that is %Zu bytes instead of the expected " \
 ++			   "that is %zu bytes instead of the expected " \
 + 			   "%d/%d/%d bytes.\n", count, G723_5K_BYTES,
 + 			   G723_6K_BYTES, G723_SID_BYTES);
 + 			return -EINVAL;
 +@@ -2465,7 +2465,7 @@
 + 	cpvt->seqno += 1;
 + 
 + 	DTE_DEBUG(DTE_DEBUG_RTP_TX,
 +-	    "Sending packet of %Zu byte on channel (%p).\n", count, dtc);
 ++	    "Sending packet of %zu byte on channel (%p).\n", count, dtc);
 + 
 + 	atomic_inc(&cpvt->stats.packets_sent);
 + 	wctc4xxp_transmit_cmd(wc, cmd);
 
 Property changes on: misc/dahdi-kmod26/files/patch-drivers__dahdi__wctc4xxp__base.c
 ___________________________________________________________________
 Added: svn:mime-type
 ## -0,0 +1 ##
 +text/plain
 \ No newline at end of property
 Added: fbsd:nokeywords
 ## -0,0 +1 ##
 +yes
 \ No newline at end of property
 Added: svn:eol-style
 ## -0,0 +1 ##
 +native
 \ No newline at end of property
 
 --Apple-Mail=_55E4C6DF-01E6-4831-A3E3-BD611151CD50
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 
 
 --Apple-Mail=_55E4C6DF-01E6-4831-A3E3-BD611151CD50--
 
 --Apple-Mail=_064F2295-1D5F-4E88-9692-C62D54756BCE
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP using GPGMail
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 
 iEYEARECAAYFAlJ0I7kACgkQsF6jCi4glqP1qgCgwIfqsMZCDur/D3fqpYdcJpe0
 O0UAn2IRc+YhCn1+1uICzv5JcEs5uqjt
 =KXiw
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_064F2295-1D5F-4E88-9692-C62D54756BCE--
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 2 02:07:02 UTC 2013 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183543 
Responsible-Changed-From-To: freebsd-ports-bugs->fjoe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Nov 2 02:07:22 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183543 
State-Changed-From-To: open->closed 
State-Changed-By: fjoe 
State-Changed-When: Mon Nov 18 12:19:04 UTC 2013 
State-Changed-Why:  
FreeBSD 10 and clang build is now fixed for both dahdi-kmod and dahdi-kmod26 ports. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183543 
>Unformatted:
