How to patch sysroots file?

Ashish Dalela <ashish.dalela@...>

I am trying to build bridge-utils. During compilation, I get the error:

/scratch/adalela/yocto/build/tmp/sysroots/qemux86/usr/include/linux/if_bridge.h:172:20: error: field 'ip6' has incomplete typeIn file included from ../libbridge/libbridge.h:24:0

But, I don't see matching file paths in git path and sysroots locations.

In sysroots path:
$ find . -name if_bridge.h

In GIT path:
$ find . -name if_bridge.h

./usr/include/linux/if_bridge.h and ./include/uapi/linux/if_bridge.h are almost identical, except of #ifdef.

I can manually patch the files and the compilation is successful. But I don't know how to create the patch file for the sysroots file, because the GIT path does not have the same file. 

So my question is: from where is the sysroots file coming? How should I generate the patch file for the sysroots ./usr/include/linux/if_bridge.h?


Join { to automatically receive all group messages.