From patchwork Mon May 28 07:25:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov via arch-projects X-Patchwork-Id: 544 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 6AED24655E79 for ; Mon, 28 May 2018 07:25:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED=0.1, DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Mon, 28 May 2018 07:25:42 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 2B0F1AC053F2A; Mon, 28 May 2018 07:25:18 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Mon, 28 May 2018 07:25:18 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id D4D9E2CD5E; Mon, 28 May 2018 07:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=luna2; t=1527492332; bh=o3zQaY9DqyUDr0UYkyQ+X280/56BJIKcSEvC3FW4Z1k=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc; b=nQhuMqcb08Zqtmzw/kOLs+MHAmtp7PReAb0VbQFFJc6cdHYA0ppCUSBrVlDTHerlI lC+kerRFaknZCIUSN6lKwCUr2FyfhDg8dRVeppvvvMDgdkMyg/va9zyVa+jNO28fs4 rOUL4vnRwq/2WlKrjFSFCPfqQYPX3pFQ9Zb+9xb9IbJElGB66dvgoGruAsGuMdw+/V 8mJ4UTUZ2d2L+xH+ekVlFSrHiO2wawd28aRPjiDx4HRLiXuvmyf271jkGd1anOWhs5 q1vwR/30uLzJClKmZ/JmDK4EY+o6ivwSR6lydOIiMIXPrWzMpNlBt/Id7Rlqr0AU5i DjIyevP5kLnggitiopKZx84IoSOQkJNKb3SsbOzOtrqvkxoMClYDpTus/SDuL+Wnb9 /AvvPfNIpfnYf5coIA962NYKfSOaPlbhoekb3LGUzITExVelqJhBh5PMVpieNWdWip zUKSvYnoo+6BSnh7+fuics+SmQK2FK3fn8bt2lg7nkqm7ka+EGUIRRFmuYO7wLGGRw dpx7LeBS9utkOZqrwJ/xgzWEJjSdWCkgX6OHz2Ddd1JqKRjKLe0CdhCruB8LxO0Uq7 xw7v4D21xQuXLDc8Czz50BefPf72vyPWa35sLacN5B/B1qf56mQWbCqBCOovpqkN5m 8uqjEJGcB4o30rxcEAzDL55U= Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 9FF672CE26 for ; Mon, 28 May 2018 07:25:29 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Mon, 28 May 2018 07:25:29 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 1262DAC053F27 for ; Mon, 28 May 2018 07:25:08 +0000 (UTC) Received: from mail-pl0-x235.google.com (mail-pl0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for ; Mon, 28 May 2018 07:25:07 +0000 (UTC) Received: by mail-pl0-x235.google.com with SMTP id az12-v6so6705296plb.8 for ; Mon, 28 May 2018 00:25:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=Y6PfbUpH7G5sjxzsM0e5yw3sdPnTSQ7cUYssShAlkXE=; b=FRB55EhaITHD2PMnTmE6jxBzupRvczjtMflN/oKu5Zrbpytvv5j3EFpAarOJjcvhoA t2HEKTW7s61+qHdC5eBBonRCSCyY0wxD5FG0EZDl/jJHWAq7MueaRaVmhUKpXCKOk2Ep yZBEjE+r/gEpNVCKzhEk6xX+Wz60eVZYpkzmzI5x5PruCZdrqSqCikxjPIYetgfVLM7O Sy2uwQZL7b+8Hf9yGdaWQHaECazIe941AAVA0+VS5H0GbjxenMXrtHC8dc3M1kz9q//t fby05rxtpDtymY+tjvEL97EijL796PpO+nn4IFocwJoKS7GyLN0ADRhUcPw0q5tOG4kZ icCA== X-Gm-Message-State: ALKqPweESlYECG9s9IUyXyBztp7akDyJ3cFSRmDN5GUPf6ZRLgVo/NyO VewB21lbM2s81FHudJY/4M0s7QPF3vo= X-Google-Smtp-Source: ADUXVKI9+wKou9nEK/VozkVPFnkdNEmouXNSlfrtYu35CE4IR5WO+sD3ro3ylJIQsf4XXUlDnir6Xw== X-Received: by 2002:a17:902:ba87:: with SMTP id k7-v6mr7250092pls.271.1527492320579; Mon, 28 May 2018 00:25:20 -0700 (PDT) Received: from localhost.localdomain ([2400:8902::f03c:91ff:feb3:2529]) by smtp.gmail.com with ESMTPSA id i72-v6sm58652220pfe.22.2018.05.28.00.25.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 00:25:19 -0700 (PDT) To: arch-projects@archlinux.org Date: Mon, 28 May 2018 15:25:12 +0800 Message-Id: <20180528072512.8338-1-yan12125@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [arch-projects] [pyalpm] Workaround https://bugs.python.org/issue33012 X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Chih-Hsuan Yen via arch-projects Reply-To: Arch Linux projects development discussion Cc: Chih-Hsuan Yen Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" This fixes building with GCC 8 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 887b7a1..ba3ae2a 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ os.putenv('LC_CTYPE', 'en_US.UTF-8') pyalpm_version = '0.8' cflags = ['-Wall', '-Wextra', '-Werror', - '-Wno-unused-parameter', + '-Wno-unused-parameter', '-Wno-cast-function-type', '-std=c99', '-D_FILE_OFFSET_BITS=64'] alpm = Extension('pyalpm',