Alex Dewar
6d6f3164e6
[crossguid] Fix compilation on gcc v13 ( #31835 )
...
* [crossguid] Fix compilation on gcc v13
Crossguid no longer compiles with gcc v13 (tested on Linux), due to a
missing include (cstdint). There is an upstream pull request to fix the
issue which has been open for some time but not yet merged [1].
Let's patch the sources in vcpkg until upstream fixes it.
Fixes #31834 .
[1] https://github.com/graeme-hill/crossguid/pull/67
* [crossguid] Bump port-version
2023-06-07 09:45:38 -07:00
autoantwort
f56752f4a8
[crossguid] fix mac build ( #22587 )
2022-01-18 13:07:55 -08:00
autoantwort
247c420905
[crossguid] no absolute paths ( #21711 )
2021-11-29 17:03:24 -08:00
JonLiu1993
018ba5ae0b
[crossguid] update to latest commit ( #20922 )
...
* [crossguid] update to latest commit
* [crossguid] update to latest commit
* update version
* add
* update version
2021-10-26 23:03:22 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. ( #19986 )
...
```
function Convert-Control {
Param($full)
.\vcpkg.exe format-manifest $full
$root = $full.Substring(0, $full.Length - 7) # CONTROL
$new = $root + 'vcpkg.json'
$content = Get-Content -Raw $new
$asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
$oldVersion = $asJson['port-version']
if ($null -eq $oldVersion) {
$oldVersionFull = $asJson['version-string']
Write-Host "Got version $oldVersionFull"
$match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
$newFullVersion = [string]$match.Groups[1].Value
$oldVersion = [int]$match.Groups[2].Value
Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
$newVersion = $oldVersion + 1
$asJson['version-string'] = $newFullVersion
Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
} else {
Write-Host "No previous version for $full -- setting 1"
$newVersion = 1
}
} else {
$newVersion = [int]$oldVersion + 1
Write-Host "New version for $full : $newVersion"
}
$asJson['port-version'] = $newVersion
$content = ConvertTo-Json $asJson -Depth 100
Set-Content -Path $new -Value $content
.\vcpkg.exe format-manifest $new
}
Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
Convert-Control $_.FullName
}
git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00