On Thu, 15 Jul 2021 at 04:01, vignesh C <vignes...@gmail.com> wrote: > The patch does not apply on Head anymore, could you rebase and post a > patch. I'm changing the status to "Waiting for Author".
I've rebased this patch and broken it down into 6 individual patches. 0001: Removes an include directory for dblink. This appears like it's not needed. It was added in ee3b4188a (Jan 2010), but an earlier commit, 320c7eb8c (June 2008) seems to have made it pointless. It's still a mystery to me why ee3b4188a would have been required in the first place. 0002: Parses -D in the CPPFLAGS of Makefiles and uses those in the MSVC script. It also adjusts the ltree contrib module so that we do the same LOWER_NODE behaviour as we did before. The MSVC scripts appear to have mistakenly forgotten to define LOWER_NODE as it is in the Makefiles. 0003: Is a tidy up patch to make the 'includes' field an array rather than a string 0004: Adds code to check for duplicate references and libraries before adding new ones of the same name to the project. 0005: Is mostly a tidy up so that we use AddFile consistently instead of sometimes doing $self->{files}->{<name>} = 1; 0006: I'm not so sure about. It attempts to do a bit more Makefile parsing to get rid of contrib_extrasource and the majority of contrib_uselibpgport and contrib_uselibpgcommon usages. David
v9-0001-Remove-unneeded-include-directory-in-MSVC-scripts.patch
Description: Binary data
v9-0002-Adjust-MSVC-build-scripts-to-parse-Makefiles-for-.patch
Description: Binary data
v9-0003-Make-the-includes-field-an-array-in-MSVC-build-sc.patch
Description: Binary data
v9-0004-Don-t-duplicate-references-and-libraries-in-MSVC-.patch
Description: Binary data
v9-0005-Use-AddFile-consistently-in-MSVC-scripts.patch
Description: Binary data
v9-0006-Remove-some-special-cases-from-MSVC-build-scripts.patch
Description: Binary data