Bug 253791 - net/vde2: fix build with "WITH_DEBUG"
Summary: net/vde2: fix build with "WITH_DEBUG"
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-23 11:34 UTC by Michael Zhilin
Modified: 2021-02-25 11:12 UTC (History)
1 user (show)

See Also:


Attachments
SVN diff (2.26 KB, patch)
2021-02-23 11:34 UTC, Michael Zhilin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zhilin 2021-02-23 11:34:32 UTC
Created attachment 222754 [details]
SVN diff

Hi,

This patch adds "static" for inline function to fix build in case of "WITH_DEBUG". Compiler use "inline" as hint, so in case of no optimizations it ignore inlining.

Testport is done for 12.2 and 13.0-BETA1.
Comment 1 Fernando Apesteguía freebsd_committer 2021-02-25 06:53:56 UTC
^Triage: [tags] in issue Titles are deprecated.               
                                                                                                                             
^Triage: Simplifying title
Comment 2 Fernando Apesteguía freebsd_committer 2021-02-25 11:12:18 UTC
It fails to patch for me:

===>  Patching for vde2-2.3.2_5
===>  Applying FreeBSD patches for vde2-2.3.2_5 from /usr/ports/net/vde2/files
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to src/vde_l3/vde_l3.c.rej
===>  FAILED Applying FreeBSD patch-src_vde__l3_vde__l3.c
===> Cleanly applied FreeBSD patch(es)  patch-src__dpipe.c patch-src_vde__cryptcab_cryptcab.c
===> FAILED to apply cleanly FreeBSD patch(es)  patch-src_vde__l3_vde__l3.c
*** Error code 1

Can you check it?

Thanks!