Skip to content

Commit

Permalink
Try patching version 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Oct 21, 2022
1 parent 4abd072 commit f15d3e4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes/libffi/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ patches:
- patch_file: "patches/0004-3.2.1-fix-complex-type-msvc.patch"
- patch_file: "patches/0005-3.2.1-do-not-install-libraries-to-arch-dependent-directories.patch"
- patch_file: "patches/0006-3.2.1-library-no-version-suffix.patch"
- patch_file: "patches/0007-3.2.1-fix-msvc-version-check.patch"
24 changes: 24 additions & 0 deletions recipes/libffi/all/patches/0007-3.2.1-fix-msvc-version-check.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From e061243958d63080956887e121d275533570f7cc Mon Sep 17 00:00:00 2001
From: Pan7 <panter@gmx.net>
Date: Mon, 14 Sep 2015 08:25:09 +0200
Subject: [PATCH] Fix configuring msvc compiler

---
msvcc.sh | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/msvcc.sh b/msvcc.sh
index 65fbfef7e..1a6e73f1f 100755
--- a/msvcc.sh
+++ b/msvcc.sh
@@ -55,6 +55,10 @@ while [ $# -gt 0 ]
do
case $1
in
+ --version)
+ args="-help"
+ shift 1
+ ;;
-fexceptions)
# Don't enable exceptions for now.
#args="$args -EHac"

0 comments on commit f15d3e4

Please sign in to comment.