summarylogtreecommitdiffstats
path: root/0121-Add-return-0-to-the-test-code.patch
diff options
context:
space:
mode:
authoratomlong2021-08-28 11:19:04 +0800
committeratomlong2021-08-28 13:15:13 +0800
commit89a67c05174951d172252b1db96ff93cc4ec4bcd (patch)
treed8c39fa79b201cf9aea28c51e7446a252ed8fee4 /0121-Add-return-0-to-the-test-code.patch
parentcf8d8d8771493a2aa8370ed323d06dc733a84181 (diff)
downloadaur-89a67c05174951d172252b1db96ff93cc4ec4bcd.tar.gz
Update to 3.9.6
Diffstat (limited to '0121-Add-return-0-to-the-test-code.patch')
-rw-r--r--0121-Add-return-0-to-the-test-code.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0121-Add-return-0-to-the-test-code.patch b/0121-Add-return-0-to-the-test-code.patch
new file mode 100644
index 000000000000..662a846d461c
--- /dev/null
+++ b/0121-Add-return-0-to-the-test-code.patch
@@ -0,0 +1,25 @@
+From b63a2139c30c268fdc763abae966f527b9a7d798 Mon Sep 17 00:00:00 2001
+From: Long Nguyen <nguyen.long.908132@gmail.com>
+Date: Fri, 30 Jul 2021 10:31:55 +0700
+Subject: [PATCH 121/N] Add return 0 to the test code
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ae9b1d8..14eb4b6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5151,7 +5151,7 @@ case $host in
+ #ifndef _UCRT
+ #error no ucrt
+ #endif
+- int main(){}
++ int main(){ return 0; }
+ ]])],[linking_to_ucrt=yes],[linking_to_ucrt=no])
+ AC_MSG_RESULT($linking_to_ucrt)
+ ;;
+--
+2.32.0
+