diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2021-08-04 13:27:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-04 13:27:40 -0700 |
| commit | ff190a561ad8903086ac72f65b05798058045435 (patch) | |
| tree | 2de7d0252e06dcd6db80aac20d0d73a763f64052 /ports/itpp | |
| parent | bd5ea16b97e91cb620fed0e10b7d9b3a8a943a52 (diff) | |
| download | vcpkg-ff190a561ad8903086ac72f65b05798058045435.tar.gz vcpkg-ff190a561ad8903086ac72f65b05798058045435.zip | |
[macos ci] update 2021-07-27 (#19207)
* update 2021-07-27
macOS -> 11.5.1, XCode -> 12.5.1
* update azure-pipelines
* update sha of macfuse
* change how macos-ci-base works
* fix build errors
* fix itpp:linux
* more fixes
* remove tab
* allow version changes in all the remove/rename-version patches
* fix libunistring for real
* robert CR
Diffstat (limited to 'ports/itpp')
| -rw-r--r-- | ports/itpp/portfile.cmake | 8 | ||||
| -rw-r--r-- | ports/itpp/rename-version.patch | 12 | ||||
| -rw-r--r-- | ports/itpp/vcpkg.json | 2 |
3 files changed, 18 insertions, 4 deletions
diff --git a/ports/itpp/portfile.cmake b/ports/itpp/portfile.cmake index 52e8b05f5..a87cedcb7 100644 --- a/ports/itpp/portfile.cmake +++ b/ports/itpp/portfile.cmake @@ -7,10 +7,12 @@ vcpkg_from_sourceforge( FILENAME "itpp-${ITPP_VERSION}.tar.bz2"
SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd
PATCHES
- msvc2013.patch
- fix-uwp.patch
- fix-linux.patch
+ msvc2013.patch
+ fix-uwp.patch
+ fix-linux.patch
+ rename-version.patch
)
+file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
diff --git a/ports/itpp/rename-version.patch b/ports/itpp/rename-version.patch new file mode 100644 index 000000000..0750ed4ce --- /dev/null +++ b/ports/itpp/rename-version.patch @@ -0,0 +1,12 @@ +--- a/autogen.sh ++++ b/autogen.sh +@@ -25,6 +25,6 @@ + +-PV=$(cat VERSION | cut -d' ' -f1) +-LV=$(cat VERSION | cut -d' ' -f2) +-if test "x$(cat VERSION | cut -d' ' -f3)" = "xsvn"; then ++PV=$(cat VERSION.txt | cut -d' ' -f1) ++LV=$(cat VERSION.txt | cut -d' ' -f2) ++if test "x$(cat VERSION.txt | cut -d' ' -f3)" = "xsvn"; then + if test -d ".git/svn"; then + REV=$(LC_ALL=C git svn find-rev HEAD) diff --git a/ports/itpp/vcpkg.json b/ports/itpp/vcpkg.json index 130cda581..00ac96b67 100644 --- a/ports/itpp/vcpkg.json +++ b/ports/itpp/vcpkg.json @@ -1,7 +1,7 @@ { "name": "itpp", "version-semver": "4.3.1", - "port-version": 6, + "port-version": 7, "description": "IT++ is a C++ library of mathematical, signal processing and communication classes and functions. Its main use is in simulation of communication systems and for performing research in the area of communications.", "homepage": "http://itpp.sourceforge.net" } |
