[csw-devel] SF.net SVN: gar:[19755] csw/mgar/pkg/libatomic_ops/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Nov 28 15:03:41 CET 2012


Revision: 19755
          http://gar.svn.sourceforge.net/gar/?rev=19755&view=rev
Author:   dmichelsen
Date:     2012-11-28 14:03:40 +0000 (Wed, 28 Nov 2012)
Log Message:
-----------
libatomic_ops/trunk: Update to 7.2d

Modified Paths:
--------------
    csw/mgar/pkg/libatomic_ops/trunk/Makefile
    csw/mgar/pkg/libatomic_ops/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/libatomic_ops/trunk/files/solaris-1.2.patch

Modified: csw/mgar/pkg/libatomic_ops/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libatomic_ops/trunk/Makefile	2012-11-27 21:04:23 UTC (rev 19754)
+++ csw/mgar/pkg/libatomic_ops/trunk/Makefile	2012-11-28 14:03:40 UTC (rev 19755)
@@ -2,19 +2,25 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-NAME = libatomic-ops
-VERSION = 1.2
-GARTYPE = v2
+NAME = libatomic_ops
+MAJOR = 7.2
+MINOR = d
+VERSION = $(MAJOR)$(MINOR)
+DISTNAME = $(NAME)-$(MAJOR)
+
 DESCRIPTION = Portable library for atomic operations
-define BLURB
-endef
-SPKG_SOURCEURL = http://www.hpl.hp.com/research/linux/atomic_ops/
-MASTER_SITES = http://ftp.de.debian.org/debian/pool/main/liba/libatomic-ops/
-PATCHFILES = solaris-$(VERSION).patch
-DISTFILES  = $(NAME)_$(VERSION).orig.tar.gz $(PATCHFILES)
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-CATALOGNAME = libatomic_ops
-TEST_SCRIPTS =
-WORKSRC = $(WORKDIR)/$(CATALOGNAME)-$(VERSION)
-CONFIGURE_ARGS = $(DIRPATHS)
+
+VENDOR_URL = http://www.hpl.hp.com/research/linux/atomic_ops/
+
+MASTER_SITES += http://www.hpl.hp.com/research/linux/atomic_ops/download/
+DISTFILES += $(DISTNAME).tar.gz
+
+PACKAGES += CSWlibatomic-ops
+SPKG_DESC_CSWlibatomic-ops = Portable library for atomic operations
+# PKGFILES is catchall
+
+GARCOMPILER = GCC4
+
+# BUILD64 = 1
+
 include gar/category.mk

Modified: csw/mgar/pkg/libatomic_ops/trunk/checksums
===================================================================
--- csw/mgar/pkg/libatomic_ops/trunk/checksums	2012-11-27 21:04:23 UTC (rev 19754)
+++ csw/mgar/pkg/libatomic_ops/trunk/checksums	2012-11-28 14:03:40 UTC (rev 19755)
@@ -1,3 +1 @@
-1b65e48271c81e3fa2d7a9a69bab7504  download/libatomic-ops_1.2.orig.tar.gz
-fca04d6cd324073bc97a57480aa80d12  download/solaris-1.2.patch
-
+890acdc83a7cd10e2e9536062d3741c8  libatomic_ops-7.2.tar.gz

Deleted: csw/mgar/pkg/libatomic_ops/trunk/files/solaris-1.2.patch
===================================================================
--- csw/mgar/pkg/libatomic_ops/trunk/files/solaris-1.2.patch	2012-11-27 21:04:23 UTC (rev 19754)
+++ csw/mgar/pkg/libatomic_ops/trunk/files/solaris-1.2.patch	2012-11-28 14:03:40 UTC (rev 19755)
@@ -1,61 +0,0 @@
-diff --git a/src/atomic_ops.h b/src/atomic_ops.h
-index c23f30b..084ce91 100755
---- a/src/atomic_ops.h
-+++ b/src/atomic_ops.h
-@@ -245,6 +245,12 @@
- #   define AO_CAN_EMUL_CAS
- #endif
- 
-+#if !defined(__GNUC__) && defined(__sun) && !defined(sparc) \
-+    && !defined(__sparc)
-+#   include "atomic_ops/sysdeps/sunc/x86.h"
-+#   define AO_CAN_EMUL_CAS
-+#endif
-+
- #if defined(_MSC_VER)
- # if _M_IX86 >= 400
- #   include "atomic_ops/sysdeps/msftc/x86.h"
-diff --git a/src/atomic_ops/sysdeps/sunc/x86.h b/src/atomic_ops/sysdeps/sunc/x86.h
-new file mode 100644
-index 0000000..3578722
---- /dev/null
-+++ b/src/atomic_ops/sysdeps/sunc/x86.h
-@@ -0,0 +1,38 @@
-+/*
-+ * Copyright (c) 2004 Hewlett-Packard Development Company, L.P.
-+ * 
-+ * Permission is hereby granted, free of charge, to any person obtaining a copy
-+ * of this software and associated documentation files (the "Software"), to deal
-+ * in the Software without restriction, including without limitation the rights
-+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-+ * copies of the Software, and to permit persons to whom the Software is
-+ * furnished to do so, subject to the following conditions:
-+ * 
-+ * The above copyright notice and this permission notice shall be included in
-+ * all copies or substantial portions of the Software.
-+ * 
-+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-+ * SOFTWARE. 
-+ */
-+
-+#include "../all_atomic_load_store.h"
-+
-+/* Real SPARC code uses TSO:                            */
-+#include "../ordered_except_wr.h"
-+
-+/* Test_and_set location is just a byte.		*/
-+#include "../test_and_set_t_is_char.h"
-+
-+extern AO_TS_VAL_t
-+AO_test_and_set_full(volatile AO_TS_t *addr);
-+/* Implemented in separate .S file, for now.	*/
-+
-+#define AO_HAVE_test_and_set_full
-+
-+/* FIXME: Like the gcc version, this needs to be extended for V8 	*/
-+/* and V9.								*/

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list