From d5b47fcc98a9d9a8b22c3b07a6359cdef622622f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?=
<47264268+JackBoosY@users.noreply.github.com>
Date: Tue, 29 Dec 2020 16:07:42 -0800
Subject: [PATCH] [mdnsresponder] Change compile flag /Zi to /Z7 (#15340)
---
ports/mdnsresponder/CONTROL | 3 ++-
ports/mdnsresponder/portfile.cmake | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ports/mdnsresponder/CONTROL b/ports/mdnsresponder/CONTROL
index 9f97716e8a..a281e83bf4 100644
--- a/ports/mdnsresponder/CONTROL
+++ b/ports/mdnsresponder/CONTROL
@@ -1,5 +1,6 @@
Source: mdnsresponder
-Version: 765.30.11-2
+Version: 765.30.11
+Port-Version: 3
Description: The mDNSResponder project is a component of Bonjour, Apple's ease-of-use IP networking initiative.
Homepage: https://developer.apple.com/bonjour/
Supports: !arm
\ No newline at end of file
diff --git a/ports/mdnsresponder/portfile.cmake b/ports/mdnsresponder/portfile.cmake
index e293294423..337cf0bdc2 100644
--- a/ports/mdnsresponder/portfile.cmake
+++ b/ports/mdnsresponder/portfile.cmake
@@ -49,6 +49,11 @@ function(FIX_VCXPROJ VCXPROJ_PATH)
"StaticLibrary"
ORIG "${ORIG}")
endif()
+
+ string(REPLACE
+ "ProgramDatabase"
+ "OldStyle"
+ ORIG "${ORIG}")
file(WRITE ${VCXPROJ_PATH} "${ORIG}")
endfunction()