diff --git a/ports/podofo/fix-interface-include.patch b/ports/podofo/fix-interface-include.patch new file mode 100644 index 0000000000..a4a2ae6c7c --- /dev/null +++ b/ports/podofo/fix-interface-include.patch @@ -0,0 +1,20 @@ +diff --git a/src/podofo/CMakeLists.txt b/src/podofo/CMakeLists.txt +index 697e475..6c12036 100644 +--- a/src/podofo/CMakeLists.txt ++++ b/src/podofo/CMakeLists.txt +@@ -72,6 +72,7 @@ if(PODOFO_BUILD_STATIC) + add_library(podofo_static STATIC ${PODOFO_SOURCES}) + add_library(podofo::podofo ALIAS podofo_static) + target_link_libraries(podofo_static podofo_private ${PODOFO_LIB_DEPENDS}) ++ target_include_directories(podofo_static PUBLIC "$") + set_target_properties(podofo_static PROPERTIES + VERSION "${PODOFO_VERSION}" + SOVERSION "${PODOFO_SOVERSION}" +@@ -96,6 +97,7 @@ if(PODOFO_BUILD_SHARED) + add_library(podofo_shared SHARED ${PODOFO_SOURCES}) + add_library(podofo::podofo ALIAS podofo_shared) + target_link_libraries(podofo_shared PRIVATE podofo_private ${PODOFO_LIB_DEPENDS}) ++ target_include_directories(podofo_shared PUBLIC "$") + # TODO: set /wd4251 flag if we're doing a debug build with + # Visual Studio, since it produces invalid warnings about STL + # use. diff --git a/ports/podofo/portfile.cmake b/ports/podofo/portfile.cmake index 0946b18fdd..eaba88764a 100644 --- a/ports/podofo/portfile.cmake +++ b/ports/podofo/portfile.cmake @@ -1,9 +1,10 @@ - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO podofo/podofo REF "${VERSION}" - SHA512 cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9 + SHA512 b5b7d4236a1f15b4eeee9d24210015b983910e88efa4727dd551f58b4d39cf7566314513b99099f54835b90a209cbf8231e04d19b63019223113abe6520fc932 + PATCHES + fix-interface-include.patch ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS @@ -26,6 +27,8 @@ vcpkg_cmake_configure( -DPODOFO_BUILD_LIB_ONLY=1 -DPODOFO_BUILD_STATIC=${PODOFO_BUILD_STATIC} -DCMAKE_DISABLE_FIND_PACKAGE_Libidn=ON + MAYBE_UNUSED_VARIABLES + PKG_CONFIG_FOUND # Fix the warning of static build. ) vcpkg_cmake_install() diff --git a/ports/podofo/vcpkg.json b/ports/podofo/vcpkg.json index 23a158cc9f..098212375a 100644 --- a/ports/podofo/vcpkg.json +++ b/ports/podofo/vcpkg.json @@ -1,6 +1,6 @@ { "name": "podofo", - "version": "0.10.1", + "version": "0.10.2", "description": "PoDoFo is a library to work with the PDF file format", "homepage": "https://github.com/podofo/podofo", "license": "LGPL-2.0-or-later", diff --git a/versions/baseline.json b/versions/baseline.json index 3eca02d825..c1370fd2fe 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6673,7 +6673,7 @@ "port-version": 0 }, "podofo": { - "baseline": "0.10.1", + "baseline": "0.10.2", "port-version": 0 }, "poissonrecon": { diff --git a/versions/p-/podofo.json b/versions/p-/podofo.json index b99596bc96..120a22e7fb 100644 --- a/versions/p-/podofo.json +++ b/versions/p-/podofo.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0323e740780ecead10bd47ca5bfb89ca6140c3b7", + "version": "0.10.2", + "port-version": 0 + }, { "git-tree": "75683a46d35cfff92866f9c559833c7d1962cc55", "version": "0.10.1",