From patchwork Mon Oct 5 15:55:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 1377033 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=m3hbgO3l; 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 4C4w2v4hPxz9sTm for ; Tue, 6 Oct 2020 09:17:59 +1100 (AEDT) Received: from localhost ([::1]:37540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPT9Y-00046t-L5 for incoming@patchwork.ozlabs.org; Mon, 05 Oct 2020 12:15:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPSq3-00042K-L7; Mon, 05 Oct 2020 11:55:48 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:41858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPSq0-0001VG-Bt; Mon, 05 Oct 2020 11:55:46 -0400 Received: by mail-pf1-x443.google.com with SMTP id g10so3953334pfc.8; Mon, 05 Oct 2020 08:55:43 -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=S9CFILtwnTNoYWDU+gcG8nfY+MVQ931Y5dt22FE9Gcs=; b=m3hbgO3loBDK0JnQ0Qd7lKDWnEJIeQsIcCGGE0oO9kQrtImkPxkqligfc4FNAYrFMX XMBBrH8GJkj9MrgPETfGqEDAx9g559ZxwXdWVBThY1E15xxF2PZPo3xDdr2bszyOm9Kw hzvb0L0W1RNGIh21GsPSJX42yelhHctRGapfufFvppPyj5mcRhLoqwnHqDCBh8xe3502 LZRMdYi/iisuCHHlpIV6FKP0QyUiI5yxJIgg3AagPzO6RXQo2aD06N3lfsok6kvxBfaH 0I6nBUdwCHIhBlLZ/hHVqZUguNdNmD2RezUjg3orXCzcyDr7lgMzQHm1UywLSn+2sy51 WjTw== 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=S9CFILtwnTNoYWDU+gcG8nfY+MVQ931Y5dt22FE9Gcs=; b=ZCVgGK/hLZVZxHhMVqpTPwpX1qfN3xQ1FtE6fWqMy7w66xTE+iAehsqXI5eOwhee7X iK3pYAFHzd4TzHeOAu0p/SUyYN1UbpY//8uu03GwU1/ZZyoZ6BMlDCGOQ/A2CnLNu8xj L+l+lBVIirIPuGIbpx7oWklrq88p3+qFgESeid5CHe3+dbfvuJ5hEM6GJtepi0EunO1B x4HRx0xghnQrfvTHgK7wqfgXHUhbv1LA6T7ivpU2IAMbthpPmJEqz1ipvaf+vv4imQf2 teUpoJq6Ce97rMtcP3t+OI+e7k2kWKOP1Gnjc/P6zRu1O6ZflHhDfifjwqdBeY081wNR s/fA== X-Gm-Message-State: AOAM531pzJ4syFtidC4iXjromyAOO7P5SmKJ8lErPln5Q3EDNx1agt5F cWUspbC1CLgAyIiftkAj/VXr0oGly3jQEQ== X-Google-Smtp-Source: ABdhPJzDxzX87LZmCkuXLdnxeVc8LlTXn+CleH2NOpm5/QLi+CqR8ow29LVfIZjKQNRQ4z14/FSlZA== X-Received: by 2002:a65:6091:: with SMTP id t17mr83503pgu.429.1601913341404; Mon, 05 Oct 2020 08:55:41 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id u22sm34803pgi.85.2020.10.05.08.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 08:55:40 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org, =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= Subject: [PATCH v8 0/4] Fixes curses on msys2/mingw Date: Mon, 5 Oct 2020 23:55:20 +0800 Message-Id: <20201005155524.442-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::443; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x443.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" V7-V8 Rebase to master and resolve conflict of *configure: fixes indent of $meson setup 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 | 53 ++++++--------------------------------- include/sysemu/os-win32.h | 4 +-- ui/curses.c | 14 +++++------ util/oslib-win32.c | 4 +-- 4 files changed, 19 insertions(+), 56 deletions(-) --=20 2.28.0.windows.1