From patchwork Fri Feb 19 22:28:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 585471 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D51C1140326 for ; Sat, 20 Feb 2016 09:28:24 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=X8DpKbCH; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 08135A611D; Fri, 19 Feb 2016 22:28:24 +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 ubybyH4r2GrA; Fri, 19 Feb 2016 22:28:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DE917A6106; Fri, 19 Feb 2016 22:28:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id CED691C1750 for ; Fri, 19 Feb 2016 22:28:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C994D2E4E8 for ; Fri, 19 Feb 2016 22:28:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8vwADfaZKHsj for ; Fri, 19 Feb 2016 22:28:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by silver.osuosl.org (Postfix) with ESMTPS id 017FF25371 for ; Fri, 19 Feb 2016 22:28:15 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id g62so86934705wme.0 for ; Fri, 19 Feb 2016 14:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=kW35rc7RO+Vs3/+v3bfwUa5nTN/X7gMogX3p2I6pLlU=; b=X8DpKbCH3zgG+mT/l5mSvW8kq/Ds6cHZsfMXgsexIw2htPiCT5oCW9ThkspkOJl79K 1Ihk2Sfy8nHCw3Xv8EBZI3jspO4az0S7fQd1rjnCxVOW5TDtX73sCSyJJav04oA5QIaE 9o/OaffojysfTD0ZgjfdhQq4TFcRZBVCMCxaQG/Avii0vLdhpQb+atiIbzZv+n4PA9cV hk5p2Tes0YwaBBTAtJofeKYeYwZL+B+D9QhVMs7G+2+SI6Y45KCije1Ci8XqGOWtV+is 7/7qDnljkPT2edsKqCWtdf2dM93w3oKOWcn2CL4lij1zZUqVKFTpc7s3cttOymalJq92 oL5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kW35rc7RO+Vs3/+v3bfwUa5nTN/X7gMogX3p2I6pLlU=; b=R90KPYjk61PdZtP+x593t2BhAGNC5mGa9Z9v0II+w8He3SHa0dC9cQku8TSr7GvE2/ Fd3Glq7DTf4rZ0xOhPj+3AXkLwqz/FBWEd1CMzI1WcNtP8vWsEbJv05X6MwnrXtakIrF Sg8223zhu7SG1e6+B9qGyjmsv035aNfUALOsT1DJOxYf0NczqlHdWh9XljPCdL8qnHD7 LeRo/25nIGCTtQJlNVtkE3xuQN97jkLw2tVr+Xwpn5cib/Sr8qOObgZtqQyWUo39amXv 2w7LEapvK8kih9lwwwVFdePbpcRq15mVv53pk0cG5sjeiXiKk+R2uWKuLAbWDN5uCfnN 8lag== X-Gm-Message-State: AG10YOTwtB1/hK2TXcNji0xapecxHWextOgN1FUDz7MwHuVgQWdEjs9Rq08irpr1mwInnQ== X-Received: by 10.28.92.195 with SMTP id q186mr213199wmb.37.1455920894650; Fri, 19 Feb 2016 14:28:14 -0800 (PST) Received: from adeos.localdomain (gam75-1-81-57-22-125.fbx.proxad.net. [81.57.22.125]) by smtp.gmail.com with ESMTPSA id r10sm13047099wjz.24.2016.02.19.14.28.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2016 14:28:13 -0800 (PST) From: Romain Naour To: buildroot@buildroot.org Date: Fri, 19 Feb 2016 23:28:09 +0100 Message-Id: <1455920889-14777-1-git-send-email-romain.naour@gmail.com> X-Mailer: git-send-email 2.5.0 Cc: Romain Naour Subject: [Buildroot] [PATCH] package/util-linux: remove patch for uClibc support 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch is not needed anymore since the uClibc support has been removed from Buildroot. This patch was needed for uClibc <= 0.9.33 support. Signed-off-by: Romain Naour --- Build tested with 2014R1 bfin toolchain. The arc-1015.12 toolchain shouldn't trigger the build issue since it's based on uClibc-snapshot (upstream HEAD) --- ...fine-mkostemp-for-older-version-of-uClibc.patch | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 package/util-linux/0003-c.h-define-mkostemp-for-older-version-of-uClibc.patch diff --git a/package/util-linux/0003-c.h-define-mkostemp-for-older-version-of-uClibc.patch b/package/util-linux/0003-c.h-define-mkostemp-for-older-version-of-uClibc.patch deleted file mode 100644 index 0dfe7be..0000000 --- a/package/util-linux/0003-c.h-define-mkostemp-for-older-version-of-uClibc.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 42a84250fc78bae3e885ecd1379e713663fe6487 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sun, 6 Apr 2014 12:12:41 +0200 -Subject: [PATCH 1/1] c.h: define mkostemp for older version of uClibc - -Signed-off-by: Romain Naour ---- - configure.ac | 2 ++ - include/c.h | 14 ++++++++++++++ - 2 files changed, 16 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 35a1f26..a9b8d34 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -321,6 +321,8 @@ AC_CHECK_FUNCS([ \ - ]) - AC_FUNC_FSEEKO - -+AC_CHECK_FUNCS([mkostemp]) -+ - AC_CHECK_FUNCS([openat fstatat unlinkat], [have_openat=yes], [have_openat=no]) - AC_CHECK_FUNCS([ioperm iopl], [have_io=yes]) - -diff --git a/include/c.h b/include/c.h -index 4a9bf3d..1b880ed 100644 ---- a/include/c.h -+++ b/include/c.h -@@ -300,4 +300,18 @@ static inline int usleep(useconds_t usec) - # define SEEK_HOLE 4 - #endif - -+/* -+ * mkostemp() may be missing with older version of uClibc -+ */ -+#ifndef HAVE_MKOSTEMP -+static inline int mkostemp(char *template, int flags) -+{ -+ int fd; -+ fd = mkstemp(template); -+ if (flags & O_CLOEXEC && fd >= 0) -+ fcntl(fd, F_SETFD, FD_CLOEXEC); -+ return fd; -+} -+#endif -+ - #endif /* UTIL_LINUX_C_H */ --- -1.9.0 -