diff options
author | atomlong | 2021-10-23 17:55:22 +0800 |
---|---|---|
committer | atomlong | 2021-10-23 18:06:15 +0800 |
commit | 80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch) | |
tree | b48dd1e73de9ea35a4709fb6b93deb16331ec514 /0107-squash-fix-srcdir-builddir.patch | |
parent | 89a67c05174951d172252b1db96ff93cc4ec4bcd (diff) | |
download | aur-mingw-w64-python.tar.gz |
update to 3.9.7
Diffstat (limited to '0107-squash-fix-srcdir-builddir.patch')
-rw-r--r-- | 0107-squash-fix-srcdir-builddir.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/0107-squash-fix-srcdir-builddir.patch b/0107-squash-fix-srcdir-builddir.patch deleted file mode 100644 index 5494f6db5502..000000000000 --- a/0107-squash-fix-srcdir-builddir.patch +++ /dev/null @@ -1,41 +0,0 @@ -From b38e504287a07e713de6facb001b2b9e069e5f74 Mon Sep 17 00:00:00 2001 -From: Christoph Reiter <reiter.christoph@gmail.com> -Date: Sat, 3 Jul 2021 09:34:29 +0200 -Subject: [PATCH 107/N] [squash] fix srcdir!=builddir - -merge into "Fixup .rc handling" ---- - configure.ac | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index bf21222..14e4c8c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -5944,9 +5944,12 @@ case $host in - *-*-mingw*) - LIBS="$LIBS -lversion -lshlwapi" - -+ AC_MSG_CHECKING([FIELD3]) -+ SAVE_CFLAGS=$CFLAGS -+ CFLAGS="-I $srcdir/Include" - AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <stdio.h> -- #include "Include/patchlevel.h" -+ #include "patchlevel.h" - int main() { - fprintf ( - fopen ("conftest.out","w"), -@@ -5955,7 +5958,8 @@ case $host in - return 0; - } - ]])], [FIELD3=`cat conftest.out`]) -- -+ CFLAGS=$SAVE_CFLAGS -+ AC_MSG_RESULT([${FIELD3}]) - RCFLAGS="$RCFLAGS -DFIELD3=$FIELD3 -O COFF" - - case $host in --- -2.32.0 - |