Mailinglist Archive: opensuse-commit (1942 mails)
| < Previous | Next > |
commit gc
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 17 Nov 2008 16:49:32 +0100
- Message-id: <20081117154933.D298167815D@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package gc
checked in at Mon Nov 17 16:49:32 CET 2008.
--------
--- gc/gc.changes 2008-02-25 06:37:50.000000000 +0100
+++ /mounts/work_src_done/STABLE/gc/gc.changes 2008-11-11 09:35:34.000000000
+0100
@@ -1,0 +2,10 @@
+Tue Nov 11 09:35:00 CET 2008 - olh@xxxxxxx
+
+- use gcc built-in atomic functions, to fix w3m build
+
+-------------------------------------------------------------------
+Thu Oct 30 12:34:56 CET 2008 - olh@xxxxxxx
+
+- obsolete old -XXbit packages (bnc#437293)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
gc.atomic-locks.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gc.spec ++++++
--- /var/tmp/diff_new_pack.w31385/_old 2008-11-17 16:49:22.000000000 +0100
+++ /var/tmp/diff_new_pack.w31385/_new 2008-11-17 16:49:22.000000000 +0100
@@ -2,9 +2,16 @@
# spec file for package gc (Version 6.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -13,8 +20,16 @@
Name: gc
Version: 6.6
-Release: 96
+Release: 136
AutoReqProv: on
+# bug437293
+%ifarch ppc64
+Obsoletes: boehm-gc-64bit
+%endif
+%ifarch %ix86 ppc
+Obsoletes: boehm-gc-32bit
+%endif
+#
Group: Development/Libraries/C and C++
License: BSD 3-Clause
Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
@@ -25,6 +40,7 @@
BuildRequires: gcc-c++
Patch: gcc4.patch
Patch1: configure.patch
+Patch2: gc.atomic-locks.patch
%description
The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -42,6 +58,7 @@
Alan J. Demers
%package devel
+License: BSD 3-Clause
Summary: A garbage collector for C and C++
Group: Development/Libraries/C and C++
Provides: gc:/usr/include/gc/gc.h
@@ -67,6 +84,7 @@
%setup -n %name%version
%patch
%patch1
+%patch2 -p1
%build
#%{suse_update_config -f}
@@ -106,11 +124,15 @@
%{_includedir}/*
%changelog
+* Tue Nov 11 2008 olh@xxxxxxx
+- use gcc built-in atomic functions, to fix w3m build
+* Thu Oct 30 2008 olh@xxxxxxx
+- obsolete old -XXbit packages (bnc#437293)
* Mon Feb 25 2008 crrodriguez@xxxxxxx
- fix library-without-ldconfig-postin errors
* Wed Nov 21 2007 uli@xxxxxxx
- implicit malloc() redirection breaks some apps (bug #335123)
-* Sun May 27 2007 ro@xxxxxxx
+* Sat May 26 2007 ro@xxxxxxx
- split off devel package
* Mon Jan 30 2006 uli@xxxxxxx
- enabled malloc redirection, C++ support
++++++ gc.atomic-locks.patch ++++++
Use gcc build-in atomic functions,
the selfmade versions will not work on powerpc
---
include/private/gc_locks.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
--- a/include/private/gc_locks.h
+++ b/include/private/gc_locks.h
@@ -88,6 +88,18 @@
/* acquisition and release. We need this for correct operation of the */
/* incremental GC. */
# ifdef __GNUC__
+#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 1
+static inline int GC_test_and_set(volatile unsigned int *addr)
+{
+#define GC_TEST_AND_SET_DEFINED
+ return (int)__sync_lock_test_and_set(addr, 1);
+}
+static inline void GC_clear(volatile unsigned int *addr)
+{
+#define GC_CLEAR_DEFINED
+ __sync_lock_test_and_set(addr, 0);
+}
+#else /* ! __GNUC__ 4.1+ */
# if defined(I386)
inline static int GC_test_and_set(volatile unsigned int *addr) {
int oldval;
@@ -288,6 +300,7 @@
return ret;
}
# endif
+# endif /* !__GNUC__ 4.1+ */
# endif /* __GNUC__ */
# if (defined(ALPHA) && !defined(__GNUC__))
# ifndef OSF1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |