aboutsummaryrefslogtreecommitdiff
path: root/ports/tinyxml2/fix-debug-postfix.patch
diff options
context:
space:
mode:
authorchausner <15180557+chausner@users.noreply.github.com>2021-10-12 05:12:26 +0200
committerGitHub <noreply@github.com>2021-10-11 20:12:26 -0700
commitf4922ef9991310705dce4f1ac95534f1218f6c24 (patch)
treef70a6e2f3a7aae31f452c64c99162acf81eae2c3 /ports/tinyxml2/fix-debug-postfix.patch
parent80e863f62c3dc70cdbd2f7745e0378342376e34f (diff)
downloadvcpkg-f4922ef9991310705dce4f1ac95534f1218f6c24.tar.gz
vcpkg-f4922ef9991310705dce4f1ac95534f1218f6c24.zip
[tinyxml2] Update to 9.0.0 (#20607)
* Update tinyxml2 to 9.0.0 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com>
Diffstat (limited to 'ports/tinyxml2/fix-debug-postfix.patch')
-rw-r--r--ports/tinyxml2/fix-debug-postfix.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/ports/tinyxml2/fix-debug-postfix.patch b/ports/tinyxml2/fix-debug-postfix.patch
deleted file mode 100644
index 8021e0f63..000000000
--- a/ports/tinyxml2/fix-debug-postfix.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 1e384d50313a08dd36a43df1925588741dc33301 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= <c72578@yahoo.de>
-Date: Wed, 17 Jun 2020 06:17:06 +0200
-Subject: [PATCH] Fix debug postfix in pkgconfig file
-
-CMakeLists.txt uses set(CMAKE_DEBUG_POSTFIX "d") to distinguish
-between debug and release lib. Use this postfix also in the
-generated tinyxml2.pc file in case of a CMake Debug build.
-This results in the following contents of tinyxml2.pc
-- Release:
- Libs: -L${libdir} -ltinyxml2
-- Debug:
- Libs: -L${libdir} -ltinyxml2d
----
- CMakeLists.txt | 3 +++
- tinyxml2.pc.in | 2 +-
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9f9ab07..7085276 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -106,6 +106,9 @@ endif()
-
- install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT tinyxml2_headers)
-
-+if(CMAKE_BUILD_TYPE MATCHES Debug)
-+ set(LIB_POSTFIX ${CMAKE_DEBUG_POSTFIX})
-+endif()
- configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT tinyxml2_config)
-
-diff --git a/tinyxml2.pc.in b/tinyxml2.pc.in
-index b040b0e..b100f60 100644
---- a/tinyxml2.pc.in
-+++ b/tinyxml2.pc.in
-@@ -6,5 +6,5 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
- Name: TinyXML2
- Description: simple, small, C++ XML parser
- Version: @GENERIC_LIB_VERSION@
--Libs: -L${libdir} -ltinyxml2
-+Libs: -L${libdir} -ltinyxml2@LIB_POSTFIX@
- Cflags: -I${includedir}