diff options
author | Nicola Murino | 2017-01-16 22:55:20 +0100 |
---|---|---|
committer | Nicola Murino | 2017-01-16 22:55:20 +0100 |
commit | eaa2439ae3ae4791a93b458ec236fadc12c1124d (patch) | |
tree | e2b2e6620f6dfa1364892becc47c8876832d99b9 /0003-Add-long-long-check-for-win64.patch | |
download | aur-eaa2439ae3ae4791a93b458ec236fadc12c1124d.tar.gz |
Initial version
Diffstat (limited to '0003-Add-long-long-check-for-win64.patch')
-rw-r--r-- | 0003-Add-long-long-check-for-win64.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/0003-Add-long-long-check-for-win64.patch b/0003-Add-long-long-check-for-win64.patch new file mode 100644 index 000000000000..c5b914063aba --- /dev/null +++ b/0003-Add-long-long-check-for-win64.patch @@ -0,0 +1,43 @@ +From 328509681f4a506b830f0de032d788c68e2ee685 Mon Sep 17 00:00:00 2001 +From: Andoni Morales Alastruey <ylatuya@gmail.com> +Date: Tue, 6 Mar 2012 17:36:59 +0100 +Subject: [PATCH 03/16] Add long long check for win64 + +--- + configure.ac | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index cd944f8..e21483a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -330,6 +330,7 @@ AC_SUBST(LV_THREAD_CFLAGS) + AC_CHECK_SIZEOF(short) + AC_CHECK_SIZEOF(int) + AC_CHECK_SIZEOF(long) ++AC_CHECK_SIZEOF(long long) + AC_CHECK_SIZEOF(size_t) + + dnl Try to figure out whether visual_size should be long or int +@@ -345,6 +346,9 @@ $ac_cv_sizeof_int) + $ac_cv_sizeof_long) + visual_size_type=long + ;; ++$ac_cv_sizeof_long_long) ++ visual_size_type='long long' ++ ;; + *) AC_MSG_ERROR([No type matching size_t in size]) + ;; + esac +@@ -801,7 +805,7 @@ echo >>$outfile + lv_have_threads=$have_threads + lv_enable_threads=$enable_threads + +-case $visual_size_type in ++case "$visual_size_type" in + short) + visual_size_format='"hu"' + ;; +-- +2.1.4 + |