summaryrefslogtreecommitdiff
path: root/Ports/yasm/patches
diff options
context:
space:
mode:
authorTom Needham <06needhamt@gmail.com>2021-04-11 17:25:26 +0100
committerGitHub <noreply@github.com>2021-04-11 18:25:26 +0200
commitad4a4ba1c621c6bfe882777b0f5a2810f11834d4 (patch)
tree8bf20deb942e9e0fae34ccbff73a2c898b06cba7 /Ports/yasm/patches
parent4152f807bcb9a67cb6cf0bddcb9bdc4bd9b23a20 (diff)
downloadserenity-ad4a4ba1c621c6bfe882777b0f5a2810f11834d4.zip
Ports: Add Port for the yasm assembler (#6149)
This is a required dependency for many libraries.
Diffstat (limited to 'Ports/yasm/patches')
-rw-r--r--Ports/yasm/patches/patch-configure.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/Ports/yasm/patches/patch-configure.patch b/Ports/yasm/patches/patch-configure.patch
new file mode 100644
index 0000000000..a444ac5e56
--- /dev/null
+++ b/Ports/yasm/patches/patch-configure.patch
@@ -0,0 +1,30 @@
+diff --git a/configure b/patched-configure
+index d58618be9..ad8678a12 100755
+--- a/configure
++++ b/patched-configure
+@@ -6306,25 +6306,6 @@ IFS=$ac_save_IFS
+ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+-$as_echo_n "checking host system type... " >&6; }
+-if ${ac_cv_host+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- if test "x$host_alias" = x; then
+- ac_cv_host=$ac_cv_build
+-else
+- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+-fi
+-
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+-$as_echo "$ac_cv_host" >&6; }
+-case $ac_cv_host in
+-*-*-*) ;;
+-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+-esac
+ host=$ac_cv_host
+ ac_save_IFS=$IFS; IFS='-'
+ set x $ac_cv_host