You can look at the header files in the Windows SDK as a reference, but don't directly copy anything from there. Email the patch to this list. Use a .txt extension for the patch so that Sourceforge does not filter out your attachment. You can look in the list archives to see examples of other patches that added header files.
Your patch will be rejected if it is not "complete" (i.e. providing header file that contains all the features of the equivalent Microsoft header file). You will need to change the include statement in Thunderbird to use lowercase letters because all the mingw-w64 headers have lowercase names. I like to generate patches by cloning the git repository, editing some stuff, and then running "git diff > patch.txt". Since you're adding a file I guess you need to actually run "git add searchapi.h" and then "git diff --cached > patch.txt". The maintainers might prefer it if you make a commit and use "git format-patch" though, because then your name and commit message will be included in the patch, so there is less data for them to enter. --David On Thu, Mar 1, 2018 at 10:23 AM, Sukhbir Singh <[email protected]> wrote: > Hi, > > I am trying to build Thunderbird for Windows on Linux using mingw-w64. (For > the specifics, I am building comm-esr52 THUNDERBIRD_52_6_0_RELEASE tag.) There > seems to be a missing header in mingw-w64, SearchAPI.h > > mail/components/search/nsMailWinSearchHelper.cpp:17:23: fatal error: > SearchAPI.h: No such file or directory > > Is there any documentation on adding or requesting headers to be included in > mingw-w64 (like for example, where to get the headers from) since there are > multiple headers missing for the Thunderbird build and I would like to add > them following the proper steps. > > -- > Sukhbir > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
