FreeBSD Bugzilla – Attachment 150783 Details for
Bug 196137
Fix net/dpdk build with clang 3.5.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix net/dpdk build with clang 3.5.0
net__dpdk-fix-clang350-build-1.diff (text/plain), 1.48 KB, created by
Dimitry Andric
on 2014-12-19 17:10:46 UTC
(
hide
)
Description:
Fix net/dpdk build with clang 3.5.0
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2014-12-19 17:10:46 UTC
Size:
1.48 KB
patch
obsolete
>Index: net/dpdk/files/patch-app__test__test_devargs.c >=================================================================== >--- net/dpdk/files/patch-app__test__test_devargs.c (revision 0) >+++ net/dpdk/files/patch-app__test__test_devargs.c (working copy) >@@ -0,0 +1,23 @@ >+--- app/test/test_devargs.c.orig 2014-09-03 13:28:26.000000000 +0200 >++++ app/test/test_devargs.c 2014-12-19 18:04:59.000000000 +0100 >+@@ -90,9 +90,9 @@ test_devargs(void) >+ goto fail; >+ devargs = TAILQ_FIRST(&devargs_list); >+ if (strncmp(devargs->virtual.drv_name, "eth_ring1", >+- sizeof(devargs->virtual.drv_name) != 0)) >++ sizeof(devargs->virtual.drv_name)) != 0) >+ goto fail; >+- if (strncmp(devargs->args, "k1=val,k2=val2", sizeof(devargs->args) != 0)) >++ if (strncmp(devargs->args, "k1=val,k2=val2", sizeof(devargs->args)) != 0) >+ goto fail; >+ free_devargs_list(); >+ >+@@ -105,7 +105,7 @@ test_devargs(void) >+ devargs->pci.addr.devid != 0 || >+ devargs->pci.addr.function != 1) >+ goto fail; >+- if (strncmp(devargs->args, "", sizeof(devargs->args) != 0)) >++ if (strncmp(devargs->args, "", sizeof(devargs->args)) != 0) >+ goto fail; >+ free_devargs_list(); >+ > >Property changes on: net/dpdk/files/patch-app__test__test_devargs.c >___________________________________________________________________ >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 >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196137
: 150783