From patchwork Sun Jun 10 18:05:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 927394 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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.b="n6b3Iua2"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413kbh08Cjz9s55 for ; Mon, 11 Jun 2018 04:06:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A163B86CE2; Sun, 10 Jun 2018 18:06:05 +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 4QCRxoxpPT8G; Sun, 10 Jun 2018 18:06:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 31D1B86CC0; Sun, 10 Jun 2018 18:06:04 +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 6ABE31CF175 for ; Sun, 10 Jun 2018 18:06:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 66FAE86CBD for ; Sun, 10 Jun 2018 18:06: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 qkiAMPS7nyfu for ; Sun, 10 Jun 2018 18:06:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8C80286B74 for ; Sun, 10 Jun 2018 18:06:01 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id l15-v6so8333017wmc.1 for ; Sun, 10 Jun 2018 11:06:01 -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; bh=AEK6+OBX4g1vOxeZtkf/xRXV8lJ7+oHaDOU4HQ/TlVg=; b=n6b3Iua2ExCmVv+MaqRGXUWG1qPNKG5e1nfzVCdCQvDm7Etd0VnO3mGdTm5pXEBADI QjmxKZRYHe4LO55n3CbeeXmJoyNhk47HpotviUZ/trawN4tfia0gDH58zLVDv/DGvlNC WlEXaY7obtTt0TMWoYlIBLhm1MP/yxZ4ONenOgeE6Z0G2LnVlg8fnObJ/eGXjF3P0drV nQKSJ/yG1HYqCILml7zPOAb08G7TUekTCBsK7fs5U19M8FgXRIqHYU8aamMVjB+6xGkp Enxwwmn77dx/8QqkkY/fEQXffJfYZn89pMD0ObsXmfr40Nw49oSQYZ7LZF86jT/dFQEK SScA== 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; bh=AEK6+OBX4g1vOxeZtkf/xRXV8lJ7+oHaDOU4HQ/TlVg=; b=Pi10zCb5mWKozEOYaog0gc61n0Q1LFP+bKvuFI3zTxLsPB9IYYhlBZYYX5l4Fe5Csn IsybvqKphYBcYkmRHEa5kmrZdVSqxuhITsCoBl/XB0dvZfE22MoSnz7zvPRJK0JiJKkT XdJJVtQXcFsXd5Lez6hb/BmIpL2NtMRMiCUcmuAs6J5hBTsVeuoPUGmNgBJWlv5VwYk2 Oj5e5f5x4GlS+HG/3g/HzJkANEcP9XuVB+cvcIm7GODchGeMbLybHgo58i5ZVsfonmse IEbBA+Myv6ewMXKt96jI8LfRYQrk3c7Y2+xh4StTHLp5jRWzaVXdBtFpgiuyZdQEPF4R CT6Q== X-Gm-Message-State: APt69E3xpe3Yx3jsQc1ds9hNwKJNNyj8GlhaQLo9SeIlomTk2UkYZi0W hYQPbY/v45l+MmLsQPPjSA4uqg== X-Google-Smtp-Source: ADUXVKJihMhO00RgR09DNjqL981Ac7TNEFq3dCMtBnqE4U7ACj/RC628GlI0+yFuGNol461fs7+3Pg== X-Received: by 2002:a1c:ae94:: with SMTP id x142-v6mr2057560wme.22.1528653959732; Sun, 10 Jun 2018 11:05:59 -0700 (PDT) Received: from fabrice-VirtualBox.home (ARennes-656-1-414-230.w92-135.abo.wanadoo.fr. [92.135.190.230]) by smtp.gmail.com with ESMTPSA id c201-v6sm12667016wmh.18.2018.06.10.11.05.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 11:05:58 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 20:05:32 +0200 Message-Id: <20180610180532.19164-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] libtirpc: fix musl build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Don't redefine existing typedef (u_char, u_long, ...) on musl Fixes: - http://autobuild.buildroot.net/results/dbc07e383605a84eb19a2fd1899668612212518a Signed-off-by: Fabrice Fontaine --- .../libtirpc/0006-rpc-types.h-fix-musl-build.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/libtirpc/0006-rpc-types.h-fix-musl-build.patch diff --git a/package/libtirpc/0006-rpc-types.h-fix-musl-build.patch b/package/libtirpc/0006-rpc-types.h-fix-musl-build.patch new file mode 100644 index 0000000000..d4bcd80991 --- /dev/null +++ b/package/libtirpc/0006-rpc-types.h-fix-musl-build.patch @@ -0,0 +1,31 @@ +From 238f0a870f577e8fffd92820e1c1a88d4fc6d35f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 10 Jun 2018 19:48:21 +0200 +Subject: [PATCH] rpc/types.h: fix musl build + +Don't redefine existing typedef (u_char, u_long, ...) on musl + +Fixes: + - http://autobuild.buildroot.net/results/dbc07e383605a84eb19a2fd1899668612212518a + +Signed-off-by: Fabrice Fontaine +--- + tirpc/rpc/types.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tirpc/rpc/types.h b/tirpc/rpc/types.h +index f069efa..0153a5c 100644 +--- a/tirpc/rpc/types.h ++++ b/tirpc/rpc/types.h +@@ -66,7 +66,7 @@ typedef int32_t rpc_inline_t; + #define mem_free(ptr, bsize) free(ptr) + + +-#if defined __APPLE_CC__ || defined __FreeBSD__ ++#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined (__GLIBC__) + # define __u_char_defined + # define __daddr_t_defined + #endif +-- +2.14.1 +