From patchwork Tue Jun 6 21:08:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waldemar Brodkorb X-Patchwork-Id: 772049 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3wj46j4KNNz9s82 for ; Wed, 7 Jun 2017 07:08:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 207C98704D; Tue, 6 Jun 2017 21:08:43 +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 ALCcyhfQGcc6; Tue, 6 Jun 2017 21:08:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3BE018759A; Tue, 6 Jun 2017 21:08:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2B27D1C07B7 for ; Tue, 6 Jun 2017 21:08:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 27248871B9 for ; Tue, 6 Jun 2017 21:08:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fclHA7tnlsru for ; Tue, 6 Jun 2017 21:08:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from helium.openadk.org (helium.openadk.org [89.238.66.15]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 8815E871DD for ; Tue, 6 Jun 2017 21:08:34 +0000 (UTC) Received: by helium.openadk.org (Postfix, from userid 1000) id D8876100CB; Tue, 6 Jun 2017 23:08:31 +0200 (CEST) Date: Tue, 6 Jun 2017 23:08:31 +0200 From: Waldemar Brodkorb To: buildroot@buildroot.org Message-ID: <20170606210831.GA15694@waldemar-brodkorb.de> MIME-Version: 1.0 Content-Disposition: inline X-Operating-System: Linux 3.16.0-4-amd64 x86_64 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Bernd Kuhls Subject: [Buildroot] [PATCH] uclibc: add upstream patch to fix gdbm compile issue X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patches fixes gdbmopen.c:35:40: error: unknown type name 'blksize_t' compute_directory_size (GDBM_FILE dbf, blksize_t block_size, Fixes http://autobuild.buildroot.net/results/592/59278fb8681d474883e6551df5173edd806b16fa/ Signed-off-by: Waldemar Brodkorb --- .../0002-sys-types.h-sync-with-GNU-C-library.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/uclibc/0002-sys-types.h-sync-with-GNU-C-library.patch diff --git a/package/uclibc/0002-sys-types.h-sync-with-GNU-C-library.patch b/package/uclibc/0002-sys-types.h-sync-with-GNU-C-library.patch new file mode 100644 index 0000000..ea940f1 --- /dev/null +++ b/package/uclibc/0002-sys-types.h-sync-with-GNU-C-library.patch @@ -0,0 +1,30 @@ +From 5244b9db8f17190413a4c6b10166cec7969178f5 Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb +Date: Tue, 6 Jun 2017 21:41:55 +0200 +Subject: [PATCH] sys/types.h: sync with GNU C library + +Fixed in glibc commit f9cfa295ae3f2556bd8808f0ff693cfe44f4ac25. +Found via Buildroot autobuilder and gdbm package cross-compile. + +Signed-off-by: Waldemar Brodkorb +--- + include/sys/types.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/include/sys/types.h b/include/sys/types.h +index 2b45d03..078a29c 100644 +--- a/include/sys/types.h ++++ b/include/sys/types.h +@@ -223,7 +223,8 @@ typedef int register_t __attribute__ ((__mode__ (__word__))); + #endif /* Use BSD. */ + + +-#if defined __USE_UNIX98 && !defined __blksize_t_defined ++#if (defined __USE_UNIX98 || defined __USE_XOPEN2K8) \ ++ && !defined __blksize_t_defined + typedef __blksize_t blksize_t; + # define __blksize_t_defined + #endif +-- +2.1.4 +