aboutsummaryrefslogtreecommitdiff
path: root/ports/libpq/patches/windows/msgfmt.patch
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-05-18 19:36:03 +0200
committerGitHub <noreply@github.com>2020-05-18 10:36:03 -0700
commit6b871df7e03690dafdc6d65f606fef036f5db4e8 (patch)
treedcde73e81fee79639759033a5ed8a57f446d3597 /ports/libpq/patches/windows/msgfmt.patch
parent8a583e80da3b72141105da9003175679af2fcb92 (diff)
downloadvcpkg-6b871df7e03690dafdc6d65f606fef036f5db4e8.tar.gz
vcpkg-6b871df7e03690dafdc6d65f606fef036f5db4e8.zip
[libpq] Update to 12.2 and some feature fixes (#10915)
* fix number of spaces in string replacement * fix libiconv library name * [libpq] update to 12.2 fix some issues with features feature combination client+nls does not compile with latest VS due to libpq src's accessing an implementation detail (needs upstream fix) * on arm skip host openssl version check if host cannot execute the triplet version * use PORT_VERSION to update the version references more easily * fix tcl and python feature on windows
Diffstat (limited to 'ports/libpq/patches/windows/msgfmt.patch')
-rw-r--r--ports/libpq/patches/windows/msgfmt.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libpq/patches/windows/msgfmt.patch b/ports/libpq/patches/windows/msgfmt.patch
new file mode 100644
index 000000000..352daed87
--- /dev/null
+++ b/ports/libpq/patches/windows/msgfmt.patch
@@ -0,0 +1,13 @@
+diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
+index 66c0c3483..2154c6cf6 100644
+--- a/src/tools/msvc/Install.pm
++++ b/src/tools/msvc/Install.pm
+@@ -728,7 +728,7 @@ sub GenerateNLSFiles
+ EnsureDirectories($target, "share/libpq/locale/$lang",
+ "share/libpq/locale/$lang/LC_MESSAGES");
+ my @args = (
+- "$nlspath\\bin\\msgfmt",
++ "msgfmt.exe",
+ '-o',
+ "$target\\share\\libpq\\locale\\$lang\\LC_MESSAGES\\$prgm-$majorver.mo",
+ $_);