From patchwork Fri Oct 2 18:08:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 1376025 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=koqC/p9c; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C2ykZ4Wz0z9sSC for ; Sat, 3 Oct 2020 04:12:06 +1000 (AEST) Received: from localhost ([::1]:40858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOPXI-0005Pd-M0 for incoming@patchwork.ozlabs.org; Fri, 02 Oct 2020 14:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOPUQ-0003D6-Fu; Fri, 02 Oct 2020 14:09:06 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:45005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOPUM-0006xz-MZ; Fri, 02 Oct 2020 14:09:06 -0400 Received: by mail-pg1-x533.google.com with SMTP id 7so1276914pgm.11; Fri, 02 Oct 2020 11:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QJl7ZQW0s2HSJ0U+n722WdR4NS8GCtqaPbGBDictMWs=; b=koqC/p9cqze0nvWp1LbaQVln6mC/rXDtn0st6tD5rd3QjKpI8U0s4FQoCKsBEZKHOO dPirB94U8qPq2e15t2c+ArJThPnBjs2+s/0V4S9HJTHM7s1WOq/yc0K7OR89rLysu7r7 dedjpq3w9fucfVUHuA3beZLYYyLRPoFPNFnA4cBZ7sVqfJ1/+mR+HBurjAbUf8zsmoWj H8U07Jb6YbIWLZm9kEqBySqezMifwhP0TdK5dMdZQMKZB+ZTI0pjfJ62TDTcOUjA87mn UvVYPalvIDjMpPCio1OivX/cNhsD6Zm8lXS3/IRxbowksQ/MrDxg3JWIyCmusecPjmrd hAjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QJl7ZQW0s2HSJ0U+n722WdR4NS8GCtqaPbGBDictMWs=; b=EyBbR3YbHlUeYVQq70xsNF4gthvpKvNp3/sIGERyX/kI8z/G6wk+rpHQZQWAXyWzcE bRdySy8r4jgzN0DIfRUb23QSTbfm2vlOFVEJTUH/GBGBwX/LnZaHSyjR+3BtBW60+quh 59ijcXQEvp9yFesN4ZuGoL7FPfKH4CJbCM7ULP61SRQGauH+rU9gDq7xpHHZq834+rA1 gIhHhCBeAyv6eEZOZn+pirxKp94WNAlHtB9ZOTAxXJA1LQ72EvUfzZ+1wXtl8KYntUcM kgRZbUmw36Pg5aGhMRE1RZJ5DIGb3T+kVTk5ZJwymxzg+dVt86A22JIDhtm8TYFvWonP KRpQ== X-Gm-Message-State: AOAM531c+QAU3r6kdvzmE2VWdYEf82L2JamSSPREWpYLVL1hmSzq4/cJ 4Jad7NBSDxuQhAQT9zIzV/Ty0JuKWlbnB0uL X-Google-Smtp-Source: ABdhPJzN8WDADCwiSOz1tMnBcSV46zgnubghkmo06Pr+hHaSGFgecIqN17fB1XCGqg5V7FCMU28K2w== X-Received: by 2002:a63:1162:: with SMTP id 34mr3250828pgr.329.1601662135827; Fri, 02 Oct 2020 11:08:55 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id o23sm2166567pjw.32.2020.10.02.11.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 11:08:54 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v7 0/4] Fixes curses on msys2/mingw Date: Sat, 3 Oct 2020 02:08:37 +0800 Message-Id: <20201002180838.2047-1-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=luoyonggang@gmail.com; helo=mail-pg1-x533.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: QEMU Trivial , =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , Laurent Vivier , Yonggang Luo , Gerd Hoffmann , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" V6-V7 Update the configure script for * curses: Fixes compiler error that complain don't have langinfo.h on msys2/m= ingw V5-V6 Dropping configure: Fixes ncursesw detection under msys2/mingw by convert the= m to meson first. That need the meson 0.56 upstream to fixes the curses detection. Add * configure: fixes indent of $meson setup Yonggang Luo (4): configure: fixes indent of $meson setup curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw curses: Fixes curses compiling errors. win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE are defined on msys2/mingw configure | 47 +++++---------------------------------- include/sysemu/os-win32.h | 4 ++-- ui/curses.c | 14 ++++++------ util/oslib-win32.c | 4 ++-- 4 files changed, 16 insertions(+), 53 deletions(-) --=20 2.28.0.windows.1