Skip to content

Commit

Permalink
[baresip-libre] Fix incorrect condition in patch file (microsoft#32529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adela0814 authored Jul 13, 2023
1 parent fc5fa5f commit 78784c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/baresip-libre/use-c11.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ index b364219..fd662d4 100644
set(PROJECT_VERSION_FULL ${PROJECT_VERSION})
endif()

+if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
+if(WIN32 AND NOT MINGW)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std:c11" )
+endif()
+
Expand Down
2 changes: 1 addition & 1 deletion ports/baresip-libre/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "baresip-libre",
"version": "3.2.0",
"port-version": 1,
"port-version": 2,
"description": "Generic library for real-time communications with async IO support",
"homepage": "https://github.com/baresip/re",
"license": "BSD-3-Clause",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/baresip-libre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8eba692c2b454a491269fec62a993c0b08b24d34",
"version": "3.2.0",
"port-version": 2
},
{
"git-tree": "c32aafef7c464cd6b860327ea35759e708f96a77",
"version": "3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@
},
"baresip-libre": {
"baseline": "3.2.0",
"port-version": 1
"port-version": 2
},
"basisu": {
"baseline": "1.11",
Expand Down

0 comments on commit 78784c0

Please sign in to comment.