From patchwork Tue Feb 4 11:25:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 316548 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 972032C0089 for ; Tue, 4 Feb 2014 22:25:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D24078BD57; Tue, 4 Feb 2014 11:25:15 +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 9ySEt1T_xqe8; Tue, 4 Feb 2014 11:25:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 44A248BD58; Tue, 4 Feb 2014 11:25:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1AB3B1BF9DB for ; Tue, 4 Feb 2014 11:25:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 140578C1A3 for ; Tue, 4 Feb 2014 11:25:14 +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 55-mSHkpzXW1 for ; Tue, 4 Feb 2014 11:25:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 85CE78C1A1 for ; Tue, 4 Feb 2014 11:25:12 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id y10so12737752wgg.10 for ; Tue, 04 Feb 2014 03:25:10 -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=dLUibvjKHl0YU+R9lXpLrJL+44KfrNphkS4fkjC2aO0=; b=MvEqSLAKaWOqSErvmnxmoZZVtBHesHSJrod2YLKbNMMgiagiR3nzcTOdb1L62XbGw9 VCn7Jd6x8i6wnzfr4hHSbA5lZ+CFk6VlgGd2t5k9U6DvJg5RYNNA5tKgvof+KZFSEQ11 WhM3ADfu679sb0zUvAdPPB7WdtqZuGGx9YKI8GVijv0E3gAGjl2h2mhXG4MCUKatIbia KFSicjq68LNl5zJlK1Ddp3Mo4gjPPA6TU9szM1bzjTyyDE4J3skR3c/ucbmU2oGOs0VM WTsFb+OkuaEInOlBPBz1h36phgAMv5fCMsSRg9E96dBwKLj9IDKR1H++9YH3oRRE6gh5 4mAg== X-Received: by 10.180.207.10 with SMTP id ls10mr12315901wic.4.1391513110900; Tue, 04 Feb 2014 03:25:10 -0800 (PST) Received: from localhost ([74.125.61.14]) by mx.google.com with ESMTPSA id bj3sm51807698wjb.14.2014.02.04.03.25.09 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Feb 2014 03:25:10 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Tue, 4 Feb 2014 12:25:05 +0100 Message-Id: <1391513105-26434-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 1.8.5.3 Subject: [Buildroot] [PATCH] libatomic_ops: Update repository and bump version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Change the download source to a Github repository which is more recent. This patch also bump libatomic_ops version and remove a patch that is now upstream. Signed-off-by: Maxime Hadjinlian --- .../libatomic_ops-nothread-build-failure-fix.patch | 41 ---------------------- package/libatomic_ops/libatomic_ops.mk | 7 ++-- 2 files changed, 4 insertions(+), 44 deletions(-) delete mode 100644 package/libatomic_ops/libatomic_ops-nothread-build-failure-fix.patch diff --git a/package/libatomic_ops/libatomic_ops-nothread-build-failure-fix.patch b/package/libatomic_ops/libatomic_ops-nothread-build-failure-fix.patch deleted file mode 100644 index cc14b1e..0000000 --- a/package/libatomic_ops/libatomic_ops-nothread-build-failure-fix.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 7e940ce34ff4de254d460344f1a1a486a14fb045 Mon Sep 17 00:00:00 2001 -From: Gilles Talis -Date: Wed, 22 May 2013 16:21:26 -0700 -Subject: [PATCH] Fix build failure seen when using toolchain without threads support - -Signed-off-by: Gilles Talis ---- - src/atomic_ops.c | 4 ++++ - 1 files changed, 4 insertions(+), 0 deletions(-) - -diff --git a/src/atomic_ops.c b/src/atomic_ops.c -index b6731a2..5769643 100644 ---- a/src/atomic_ops.c -+++ b/src/atomic_ops.c -@@ -48,7 +48,9 @@ - - #undef AO_REQUIRE_CAS - -+#if defined(AO_USE_PTHREAD_DEFS) - #include -+#endif - - #ifndef AO_USE_NO_SIGNALS - # include -@@ -72,11 +74,13 @@ - # include "atomic_ops/sysdeps/standard_ao_double_t.h" - #endif - -+#if defined(AO_USE_PTHREAD_DEFS) - /* - * Lock for pthreads-based implementation. - */ - - pthread_mutex_t AO_pt_lock = PTHREAD_MUTEX_INITIALIZER; -+#endif - - /* - * Out of line compare-and-swap emulation based on test and set. --- -1.7.4.1 - diff --git a/package/libatomic_ops/libatomic_ops.mk b/package/libatomic_ops/libatomic_ops.mk index fbe250c..3a38bb4 100644 --- a/package/libatomic_ops/libatomic_ops.mk +++ b/package/libatomic_ops/libatomic_ops.mk @@ -4,8 +4,9 @@ # ################################################################################ -LIBATOMIC_OPS_VERSION = 7.2 -LIBATOMIC_OPS_SITE = http://www.hpl.hp.com/research/linux/atomic_ops/download +LIBATOMIC_OPS_VERSION = 7_4_0 +LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,libatomic_ops-$(LIBATOMIC_OPS_VERSION)) +LIBATOMIC_OPS_AUTORECONF = YES # From doc/LICENSING.txt: "Our intent is to make it easy to use # libatomic_ops, in both free and proprietary software. Hence most @@ -14,7 +15,7 @@ LIBATOMIC_OPS_SITE = http://www.hpl.hp.com/research/linux/atomic_ops/download # by the GNU General Public License. These are put into a separate # library, libatomic_ops_gpl.a." LIBATOMIC_OPS_LICENSE = MIT (main library) / GPLv2+ (gpl extension) -LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt doc/COPYING +LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING LIBATOMIC_OPS_INSTALL_STAGING = YES