From patchwork Sat Oct 17 19:26:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1383768 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; 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=RShM6yQa; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CDChB5Klvz9sSf for ; Sun, 18 Oct 2020 06:27:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7A98E87EDD; Sat, 17 Oct 2020 19:27:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hk0+IyDu6oqW; Sat, 17 Oct 2020 19:27:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 548C687EB4; Sat, 17 Oct 2020 19:27:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7FD321BF4D8 for ; Sat, 17 Oct 2020 19:26:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7605887EB4 for ; Sat, 17 Oct 2020 19:26:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HTSHTJG3-Umr for ; Sat, 17 Oct 2020 19:26:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2CE3687EAE for ; Sat, 17 Oct 2020 19:26:57 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id e23so6579993wme.2 for ; Sat, 17 Oct 2020 12:26:57 -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=1w3t07D9SvARw2fhKR0QZi4kPATM2es3joamD6C49FU=; b=RShM6yQaLyQP0oGiQ6F0yCu0ygUKF9ot4pIR/9lRdERTJELkNE6ASS+xtw7acU7S4f Lz1cJ4xyZ5V22c03pFsrccF+/wJ/krd8hy9IC47MvMgyvQt0GSDHGv9rOhnBhbEcl4ws RSLDa+y1IZiW2roVIbwFK8T1LWl+8Z78NzAvz/skyLElGB0TZqYI0ly+mrwnb8+zbmYm G8zD6/6ZEai4QOOc/NgUKxIl01baq36vgUHXLUHYXS4dSdKgHpHLpKMv8/yLLpXezb6Y WBLAq53N/E7S5NbvwxiLzBncfFHRz3dgrFDalwJ436MT40EHNJiIMnMWRmV477ROwIO/ FwMQ== 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=1w3t07D9SvARw2fhKR0QZi4kPATM2es3joamD6C49FU=; b=NcBIIbLI+bIsq2lNGWLoZ8BSvFy18k25nnUlNs3PgFL56zPrtMHi8Nk6/RJVr6ZZ/v nG9Hg4x4y9OZ4ySuoQ+bOtjmbWiKhBC2Kne86rigxLz/FJAg71lEL8hN+WoroGNj2gWE OcQsK7/FnKIKLqvL4EGxsbevc/HEYZEIVIXjJZrWqh8hl8ftD8K4o1HjRmgojS1AwZBl vSjTPMaAM+aoPm+oh8BEG+UAEdlrhbaeEynlPn8LK9qKxdblH5m1ILHPgLp8XJX48ZWV tFjg1ac8vtOsoIOpnThupjQb++/+/sPQYROggryddH/1HHvyks4ueSI6AIAJqqA3XlGi aPHw== X-Gm-Message-State: AOAM53017pKTBriauTBW1G+jAXT2uap13a1M+1dIPIt8NFZXu5ZGIt7x yNmCG+vP+sYNU5xUcnznMlqY1sIoy0vi8Q== X-Google-Smtp-Source: ABdhPJwVOg41zkSfZStWmN+E0abp/gzAR4RAFc8czeWEd/iOVrzMG6fREkEhwSukuhLmM7eLUzu/Kg== X-Received: by 2002:a7b:c1d6:: with SMTP id a22mr9598532wmj.105.1602962815254; Sat, 17 Oct 2020 12:26:55 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id u15sm10102328wrm.77.2020.10.17.12.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 12:26:54 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 17 Oct 2020 21:26:51 +0200 Message-Id: <20201017192651.3739425-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/transmission: fix build with UTP X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Update first patch to fix build of transmission 3.00 with UTP Fixes: - http://autobuild.buildroot.org/results/bbfb61cf911fb29dcc02626f6eb47fff9e5e64f5 Signed-off-by: Fabrice Fontaine --- package/transmission/0001-fix-utypes.patch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/transmission/0001-fix-utypes.patch b/package/transmission/0001-fix-utypes.patch index 96403a6c36..e0bc633bd4 100644 --- a/package/transmission/0001-fix-utypes.patch +++ b/package/transmission/0001-fix-utypes.patch @@ -6,10 +6,13 @@ The corresponding upstream bug report (unfixed) can be found here: https://trac.transmissionbt.com/ticket/5232 Signed-off-by: Bernd Kuhls +[Fabrice: remove HAVE_STDBOOL_H as it is never defined since +https://github.com/transmission/transmission/commit/f27596238d37f14477cc474c62c52eb53c4dcea6] +Signed-off-by: Fabrice Fontaine --- transmission-2.82.org/third-party/libutp/utypes.h 2013-08-09 04:47:43.000000000 +0200 +++ transmission-2.82/third-party/libutp/utypes.h 2014-01-02 20:17:18.000000000 +0100 -@@ -35,8 +35,15 @@ +@@ -35,8 +35,11 @@ typedef const char * cstr; typedef char * str; @@ -20,11 +23,7 @@ Signed-off-by: Bernd Kuhls +//typedef uint8 bool; +//#endif +#ifndef __cplusplus -+#ifdef HAVE_STDBOOL_H +#include -+#else -+typedef uint8 bool; -+#endif +#endif #endif //__UTYPES_H__