commit gc for openSUSE:Factory

2019-07-13 Thread root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2019-07-13 13:36:28

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new.4615 (New)


Package is "gc"

Sat Jul 13 13:36:28 2019 rev:35 rq:685311 version:8.0.4

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2018-02-03 15:41:31.076130409 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new.4615/gc.changes  2019-07-13 
13:36:29.471302454 +0200
@@ -1,0 +2,39 @@
+Fri Mar 15 09:35:41 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 8.0.4
+  * Avoid a full GC when growing finalizer tables if in
+incremental mode.
+  * Avoid potential race in hb_sz access between realloc and
+reclaim_block.
+  * Ensure result of every variant of MS_TIME_DIFF has unsigned
+long type.
+  * Fix 'unexpected mark stack overflow' abort in push_all_stack.
+
+---
+Tue Jan  8 13:51:13 UTC 2019 - Jan Engelhardt 
+
+- Add libatomic_ops-devel as a package require, since it shows up
+  in bdw-gc.pc.
+
+---
+Tue Jan  8 02:37:16 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 8.0.2
+  * Explicitly unblock GC signals on GC initialization.
+  * Add initial RISC-V support.
+  * Never return null by C++ GC allocators and gc_cpp
+operator new.
+  * Add AO primitives implementation to GC based on C11 atomic
+intrinsic.
+  * Change pointer arguments of push_all[_eager]/conditional API
+to void * type.
+  * Change type of hb_sz field (of hblkhdr) from size_t to word.
+  * Decide between memory unmapping and mprotect-based dirty bits
+at runtime.
+  * New API function (GC_dump_named) to produce named dumps.
+  * New API function (get_size_map_at) to get content of size_map
+table.
+  * New API to stop and start the GC world externally.
+  * New API to turn on manual VDB at runtime.
+
+---

Old:

  gc-7.6.4.tar.gz

New:

  gc-8.0.4.tar.gz



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.FIMlpE/_old  2019-07-13 13:36:30.823302095 +0200
+++ /var/tmp/diff_new_pack.FIMlpE/_new  2019-07-13 13:36:30.863302084 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,20 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   gc
-Version:7.6.4
+Version:8.0.4
 Release:0
 Summary:A garbage collector for C and C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://www.hboehm.info/gc/
+URL:http://www.hboehm.info/gc/
 
 #Git-Clone:git://github.com/ivmai/bdwgc
-Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Source: 
https://github.com/ivmai/bdwgc/releases/download/v%version/%name-%version.tar.gz
 BuildRequires:  autoconf >= 2.64
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -43,12 +42,11 @@
 
 %package -n libgc1
 Summary:A garbage collector for C and C++
-# bug437293
 Group:  System/Libraries
 %ifarch ppc64
+# bug437293
 Obsoletes:  boehm-gc-64bit
 %endif
-#
 
 %description -n libgc1
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -63,6 +61,7 @@
 Group:  Development/Libraries/C and C++
 Provides:   gc:/usr/include/gc/gc.h
 Requires:   glibc-devel
+Requires:   libatomic_ops-devel
 Requires:   libgc1 = %version
 
 %description devel
@@ -77,14 +76,11 @@
 %setup -q
 
 %build
-# refresh auto*/libtool to purge rpaths
-rm -f libtool libtool.m4
 autoreconf -fi
 
 # see bugzilla.redhat.com/689877
-CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
-CXXFLAGS="%optflags -std=gnu++98"; export CXXFLAGS
-
+export CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"
+export CXXFLAGS="%optflags -std=gnu++98"
 %configure --disable-static --docdir="%_docdir/%name" \
 --with-gnu-ld  \
 --enable-cplusplus \
@@ -107,7 +103,6 @@
 %endif
 
 %post -n libgc1 -p /sbin/ldconfig
-
 %postun -n libgc1 -p /sbin/ldconfig
 
 %files -n libgc1
@@ -121,6 +116,7 @@
 

commit gc for openSUSE:Factory

2018-02-03 Thread root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2018-02-03 15:41:29

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is "gc"

Sat Feb  3 15:41:29 2018 rev:34 rq:571365 version:7.6.4

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2016-02-16 09:26:52.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2018-02-03 
15:41:31.076130409 +0100
@@ -1,0 +2,13 @@
+Tue Jan 30 00:23:41 UTC 2018 - jeng...@inai.de
+
+- Update to new upstream release 7.6.4
+  * Also enable the TSX workaround for i386 (Linux)
+  * Relax mark_mutex attribute needed to disable elision (Linux/x64)
+  * Process all PT_LOAD segments before PT_GNU_RELRO segments (Glibc)
+  * Add API function to calculate total memory in use by all GC blocks
+  * Add API function to set/modify GC log file descriptor (Unix)
+  * Add alt-stack registration support
+  * Implement the finalization extension API
+  * Implement thread suspend/resume API (Linux threads only)
+
+---

Old:

  gc-7.4.2.tar.gz

New:

  gc-7.6.4.tar.gz



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.W6QEEl/_old  2018-02-03 15:41:31.788097155 +0100
+++ /var/tmp/diff_new_pack.W6QEEl/_new  2018-02-03 15:41:31.792096969 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   gc
-Version:7.4.2
+Version:7.6.4
 Release:0
 Summary:A garbage collector for C and C++
 License:BSD-3-Clause
@@ -43,8 +43,8 @@
 
 %package -n libgc1
 Summary:A garbage collector for C and C++
-Group:  System/Libraries
 # bug437293
+Group:  System/Libraries
 %ifarch ppc64
 Obsoletes:  boehm-gc-64bit
 %endif
@@ -83,10 +83,9 @@
 
 # see bugzilla.redhat.com/689877
 CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
-CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98"; export CXXFLAGS
+CXXFLAGS="%optflags -std=gnu++98"; export CXXFLAGS
 
-%configure --disable-static \
---with-pic \
+%configure --disable-static --docdir="%_docdir/%name" \
 --with-gnu-ld  \
 --enable-cplusplus \
 --enable-large-config   \
@@ -100,6 +99,7 @@
 %install
 %make_install
 rm -Rf "%buildroot/%_datadir/gc" "%buildroot/%_libdir"/*.la
+rm -f "%buildroot/%_docdir/%name"/README.{Mac,OS2,win32}
 
 %check
 %if !0%{?qemu_user_space_build}
@@ -112,13 +112,12 @@
 
 %files -n libgc1
 %defattr(-, root, root)
-%doc README.QUICK doc/README.*
 %_libdir/libcord.so.1*
 %_libdir/libgc*.so.1*
 
 %files devel
 %defattr(-, root, root)
-%doc doc/[a-z]*
+%_docdir/%name/
 %_libdir/libcord.so
 %_libdir/libgc*.so
 %_libdir/pkgconfig/bdw-gc.pc

++ gc-7.4.2.tar.gz -> gc-7.6.4.tar.gz ++
 34924 lines of diff (skipped)




commit gc for openSUSE:Factory

2016-02-16 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2016-02-16 09:26:51

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is "gc"

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2015-03-16 09:40:58.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2016-02-16 
09:26:52.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb  1 10:03:41 UTC 2016 - rguent...@suse.com
+
+- Force -std=gnu++98 for C++ testcases.
+
+---



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.miLPIQ/_old  2016-02-16 09:26:53.0 +0100
+++ /var/tmp/diff_new_pack.miLPIQ/_new  2016-02-16 09:26:53.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -83,6 +83,7 @@
 
 # see bugzilla.redhat.com/689877
 CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
+CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98"; export CXXFLAGS
 
 %configure --disable-static \
 --with-pic \




commit gc for openSUSE:Factory

2015-03-16 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2015-03-16 09:40:56

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2015-01-08 23:04:23.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2015-03-16 
09:40:58.0 +0100
@@ -1,0 +2,5 @@
+Thu Mar  5 09:42:40 UTC 2015 - jeng...@inai.de
+
+- Update homepage URLs
+
+---



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.PDVTBn/_old  2015-03-16 09:40:59.0 +0100
+++ /var/tmp/diff_new_pack.PDVTBn/_new  2015-03-16 09:40:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,12 @@
 Name:   gc
 Version:7.4.2
 Release:0
-Url:http://www.hboehm.info/gc/
 Summary:A garbage collector for C and C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
+Url:http://www.hboehm.info/gc/
 
+#Git-Clone:git://github.com/ivmai/bdwgc
 Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf = 2.64
@@ -96,7 +97,7 @@
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%buildroot
+%make_install
 rm -Rf %buildroot/%_datadir/gc %buildroot/%_libdir/*.la
 
 %check

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2015-01-08 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2015-01-08 23:04:22

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2013-06-05 11:51:43.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2015-01-08 
23:04:23.0 +0100
@@ -1,0 +2,20 @@
+Mon Dec 29 17:51:02 UTC 2014 - p.drou...@gmail.com
+
+- Update to version 7.4.2
+* Add config option to use STGRTMIN-based signals for thread
+  suspend/resume.
+* Allow parallel mark to be enabled on powerpc-linux systems.
+* Fix 'Array subscript is above array bounds' GCC warning in
+  GC_new_kind/proc.
+* Fix 'attribute declaration must precede definition' warning.
+* Fix GC_finalized_malloc failure on disclaim_test.
+* Fix GC_sig_suspend initialization when non-constant SIGRTMIN used.
+* Fix data roots registration for Android/x86 and NDK ARM 'gold'
+  linker.
+* Fix find stackbottom on BlueGene P/Q systems.
+* Fix machdep .lo files path in configure (SPARC, IA-64).
+* Fix ok_init assignment (missing cast) in GC_new_kind_inner.
+- Remove aarch64-support.patch; merged on upstream release
+- gc project has a new home; update URL tag and download source URL
+
+---

Old:

  aarch64-support.patch
  gc-7.2d.tar.gz

New:

  gc-7.4.2.tar.gz



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.zvgoi9/_old  2015-01-08 23:04:24.0 +0100
+++ /var/tmp/diff_new_pack.zvgoi9/_new  2015-01-08 23:04:24.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,14 @@
 
 
 Name:   gc
-Version:7.2d
+Version:7.4.2
 Release:0
-Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
+Url:http://www.hboehm.info/gc/
 Summary:A garbage collector for C and C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
 
-Source: 
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%name-%version.tar.gz
-Patch1: aarch64-support.patch
+Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf = 2.64
 BuildRequires:  gcc-c++
@@ -74,8 +73,7 @@
 be otherwise accessed.
 
 %prep
-%setup -q -n %{name}-7.2
-%patch1 -p1
+%setup -q
 
 %build
 # refresh auto*/libtool to purge rpaths

++ gc-7.2d.tar.gz - gc-7.4.2.tar.gz ++
 131712 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2013-06-05 11:51:41

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2013-04-02 11:43:25.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2013-06-05 
11:51:43.0 +0200
@@ -1,0 +2,22 @@
+Sun May 26 20:09:26 UTC 2013 - jeng...@inai.de
+
+- Make use of external libatomic_ops --
+  openSUSE has it in a separate source package
+- Fix version: 7.2d is not a prerelease, so there is no need to
+  call it 7.1*
+- More portable make install call; more robust file list
+
+---
+Sat May 25 19:16:48 UTC 2013 - root@localhost
+
+- libatomic_ops-aarch64.patch: update makefile to install missing headers,
+  don't use AO_EXPECT_FALSE.
+
+---
+Sat May 18 08:10:09 UTC 2013 - sch...@suse.de
+
+- aarch64-support.patch: aarch64 support for gc from upstream
+- libatomic_ops-aarch64.patch: aarch64 support for libatomic_ops from
+  upstream add-aarch64-support branch
+
+---

New:

  aarch64-support.patch



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.3kFZmf/_old  2013-06-05 11:51:43.0 +0200
+++ /var/tmp/diff_new_pack.3kFZmf/_new  2013-06-05 11:51:43.0 +0200
@@ -17,19 +17,21 @@
 
 
 Name:   gc
-Version:7.1.9.6
+Version:7.2d
 Release:0
-%define src_ver 7.2d
 Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Source: 
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%{name}-%{src_ver}.tar.gz
+
+Source: 
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%name-%version.tar.gz
+Patch1: aarch64-support.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf = 2.64
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(atomic_ops)
 
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -71,22 +73,9 @@
 automatically recycles memory when it determines that it can no longer
 be otherwise accessed.
 
-%package -n libatomic_ops-devel
-Summary:Atomic memory update operations
-Group:  Development/Libraries/C and C++
-Provides:   libatomic_ops-static = %{version}-%{release}
-Obsoletes:  libatomic-ops-devel = 1.2
-Provides:   libatomic-ops-devel = %{version}
-
-%description -n libatomic_ops-devel 
-Provides implementations for atomic memory update operations on a
-number of architectures. This allows direct use of these in reasonably
-portable code. Unlike earlier similar packages, this one explicitly
-considers memory barrier semantics, and allows the construction of code
-that involves minimum overhead across a variety of architectures.
-
 %prep
 %setup -q -n %{name}-7.2
+%patch1 -p1
 
 %build
 # refresh auto*/libtool to purge rpaths
@@ -103,25 +92,18 @@
 --enable-large-config   \
 --enable-threads=posix  \
 --enable-parallel-mark \
---with-libatomic-ops=no
+--with-libatomic-ops=yes
+# --with-libatomic-ops=yes means to use the system library
 
 make %{?_smp_mflags}
-make %{?_smp_mflags} -C libatomic_ops
 
 %install
-
-%makeinstall
-%makeinstall -C libatomic_ops
-
-rm -rf $RPM_BUILD_ROOT/usr/share/gc# docs
-rm -rf %{buildroot}%{_datadir}/libatomic_ops/{COPYING,*.txt}
-rm -f %{buildroot}%{_libdir}/*.la
+make install DESTDIR=%buildroot
+rm -Rf %buildroot/%_datadir/gc %buildroot/%_libdir/*.la
 
 %check
-%if ! 0%{?qemu_user_space_build}
+%if !0%{?qemu_user_space_build}
 make check
-# fails on i586
-make check -C libatomic_ops ||:
 %endif
 
 %post -n libgc1 -p /sbin/ldconfig
@@ -131,27 +113,17 @@
 %files -n libgc1
 %defattr(-, root, root)
 %doc README.QUICK doc/README.*
-%{_libdir}/lib*.so.*
+%_libdir/libcord.so.1*
+%_libdir/libgc*.so.1*
 
 %files devel
 %defattr(-, root, root)
 %doc doc/[a-z]*
-%{_libdir}/lib*.so
-%{_libdir}/pkgconfig/bdw-gc.pc
-%{_includedir}/gc.h
-%{_includedir}/gc_cpp.h
-%{_includedir}/gc
-
-%files -n libatomic_ops-devel
-%defattr(-,root,root,-)
-%doc libatomic_ops/AUTHORS libatomic_ops/ChangeLog libatomic_ops/COPYING 
libatomic_ops/NEWS libatomic_ops/README
-%doc libatomic_ops/doc/*.txt
-%{_libdir}/pkgconfig/atomic_ops.pc
-%{_includedir}/atomic_ops.h
-%{_includedir}/atomic_ops_malloc.h
-%{_includedir}/atomic_ops_stack.h

commit gc for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2013-04-02 11:43:24

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc, Maintainer is u...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2013-03-07 07:20:03.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2013-04-02 
11:43:25.0 +0200
@@ -1,0 +2,9 @@
+Mon Mar 25 14:50:51 UTC 2013 - dmuel...@suse.com
+
+- update to 7.2d
+  + no upstream changelog available, but bring it two years
+further up to date
+- remove all patches. All upstream meanwhile
+- fix packaging of atomic_ops.pc 
+
+---

Old:

  0001-Fix-allocation-size-overflows-due-to-rounding.patch
  0001-Fix-calloc-overflow.patch
  0001-Fix-calloc-related-code-to-prevent-SIZE_MAX-redefini.patch
  0001-Speedup-calloc-size-overflow-check-by-preventing-div.patch
  gc-7.2alpha6.tar.bz2
  gc-build.patch

New:

  gc-7.2d.tar.gz



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.u0oltE/_old  2013-04-02 11:43:27.0 +0200
+++ /var/tmp/diff_new_pack.u0oltE/_new  2013-04-02 11:43:27.0 +0200
@@ -19,18 +19,12 @@
 Name:   gc
 Version:7.1.9.6
 Release:0
-%define src_ver 7.2alpha6
+%define src_ver 7.2d
 Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Source: %{name}-%{src_ver}.tar.bz2
-Patch0: %{name}-build.patch
-Patch1: 0001-Fix-allocation-size-overflows-due-to-rounding.patch
-Patch2: 0001-Fix-calloc-overflow.patch
-Patch3: 0001-Fix-calloc-related-code-to-prevent-SIZE_MAX-redefini.patch
-Patch4: 0001-Speedup-calloc-size-overflow-check-by-preventing-div.patch
-
+Source: 
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%{name}-%{src_ver}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf = 2.64
 BuildRequires:  gcc-c++
@@ -92,12 +86,7 @@
 that involves minimum overhead across a variety of architectures.
 
 %prep
-%setup -q -n %{name}-%{src_ver}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%setup -q -n %{name}-7.2
 
 %build
 # refresh auto*/libtool to purge rpaths
@@ -148,7 +137,7 @@
 %defattr(-, root, root)
 %doc doc/[a-z]*
 %{_libdir}/lib*.so
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/bdw-gc.pc
 %{_includedir}/gc.h
 %{_includedir}/gc_cpp.h
 %{_includedir}/gc
@@ -157,6 +146,7 @@
 %defattr(-,root,root,-)
 %doc libatomic_ops/AUTHORS libatomic_ops/ChangeLog libatomic_ops/COPYING 
libatomic_ops/NEWS libatomic_ops/README
 %doc libatomic_ops/doc/*.txt
+%{_libdir}/pkgconfig/atomic_ops.pc
 %{_includedir}/atomic_ops.h
 %{_includedir}/atomic_ops_malloc.h
 %{_includedir}/atomic_ops_stack.h

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2013-03-06 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2013-03-07 07:20:02

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc, Maintainer is u...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2012-08-12 15:25:11.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2013-03-07 
07:20:03.0 +0100
@@ -1,0 +2,5 @@
+Sun Mar  3 20:42:59 UTC 2013 - jeng...@inai.de
+
+- Record autoconf requirements in spec file
+
+---



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.suINSw/_old  2013-03-07 07:20:04.0 +0100
+++ /var/tmp/diff_new_pack.suINSw/_new  2013-03-07 07:20:04.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@
 Patch4: 0001-Speedup-calloc-size-overflow-check-by-preventing-div.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf = 2.64
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2012-08-12 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2012-08-12 15:25:10

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc, Maintainer is u...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2012-02-14 13:05:52.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2012-08-12 
15:25:11.0 +0200
@@ -1,0 +2,5 @@
+Tue Aug  7 15:23:30 UTC 2012 - u...@suse.com
+
+- fix for malloc()/calloc() overflows (CVE-2012-2673, bnc#765444)
+
+---

New:

  0001-Fix-allocation-size-overflows-due-to-rounding.patch
  0001-Fix-calloc-overflow.patch
  0001-Fix-calloc-related-code-to-prevent-SIZE_MAX-redefini.patch
  0001-Speedup-calloc-size-overflow-check-by-preventing-div.patch



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.ORZj4N/_old  2012-08-12 15:25:30.0 +0200
+++ /var/tmp/diff_new_pack.ORZj4N/_new  2012-08-12 15:25:30.0 +0200
@@ -26,6 +26,11 @@
 Group:  Development/Libraries/C and C++
 Source: %{name}-%{src_ver}.tar.bz2
 Patch0: %{name}-build.patch
+Patch1: 0001-Fix-allocation-size-overflows-due-to-rounding.patch
+Patch2: 0001-Fix-calloc-overflow.patch
+Patch3: 0001-Fix-calloc-related-code-to-prevent-SIZE_MAX-redefini.patch
+Patch4: 0001-Speedup-calloc-size-overflow-check-by-preventing-div.patch
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -60,7 +65,8 @@
 Summary:A garbage collector for C and C++
 Group:  Development/Libraries/C and C++
 Provides:   gc:/usr/include/gc/gc.h
-Requires:   libgc1 = %version, glibc-devel
+Requires:   glibc-devel
+Requires:   libgc1 = %version
 
 %description devel
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -87,6 +93,10 @@
 %prep
 %setup -q -n %{name}-%{src_ver}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 # refresh auto*/libtool to purge rpaths

++ 0001-Fix-allocation-size-overflows-due-to-rounding.patch ++
From be9df82919960214ee4b9d3313523bff44fd99e1 Mon Sep 17 00:00:00 2001
From: Xi Wang xi.w...@gmail.com
Date: Thu, 15 Mar 2012 04:55:08 +0800
Subject: [PATCH] Fix allocation size overflows due to rounding.

* malloc.c (GC_generic_malloc): Check if the allocation size is
rounded to a smaller value.
* mallocx.c (GC_generic_malloc_ignore_off_page): Likewise.
---
 malloc.c  |2 ++
 mallocx.c |2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/malloc.c b/malloc.c
index cc0cc00..899d6ff 100644
--- a/malloc.c
+++ b/malloc.c
@@ -169,6 +169,8 @@ GC_API void * GC_CALL GC_generic_malloc(size_t lb, int k)
 GC_bool init;
 lg = ROUNDED_UP_GRANULES(lb);
 lb_rounded = GRANULES_TO_BYTES(lg);
+if (lb_rounded  lb)
+return((*GC_get_oom_fn())(lb));
 n_blocks = OBJ_SZ_TO_BLOCKS(lb_rounded);
 init = GC_obj_kinds[k].ok_init;
 LOCK();
diff --git a/mallocx.c b/mallocx.c
index 2c79f41..0d9c0a6 100644
--- a/mallocx.c
+++ b/mallocx.c
@@ -183,4 +183,6 @@ GC_INNER void * GC_generic_malloc_ignore_off_page(size_t 
lb, int k)
 lg = ROUNDED_UP_GRANULES(lb);
 lb_rounded = GRANULES_TO_BYTES(lg);
+if (lb_rounded  lb)
+return((*GC_get_oom_fn())(lb));
 n_blocks = OBJ_SZ_TO_BLOCKS(lb_rounded);
 init = GC_obj_kinds[k].ok_init;
-- 
1.7.7

++ 0001-Fix-calloc-overflow.patch ++
From e10c1eb9908c2774c16b3148b30d2f3823d66a9a Mon Sep 17 00:00:00 2001
From: Xi Wang xi.w...@gmail.com
Date: Thu, 15 Mar 2012 04:46:49 +0800
Subject: [PATCH] Fix calloc() overflow

* malloc.c (calloc): Check multiplication overflow in calloc(),
assuming REDIRECT_MALLOC.
---
 malloc.c |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/malloc.c b/malloc.c
index da68f13..cc0cc00 100644
--- a/malloc.c
+++ b/malloc.c
@@ -372,8 +372,13 @@ void * malloc(size_t lb)
   }
 #endif /* GC_LINUX_THREADS */
 
+#ifndef SIZE_MAX
+#define SIZE_MAX (~(size_t)0)
+#endif
 void * calloc(size_t n, size_t lb)
 {
+if (lb  n  SIZE_MAX / lb)
+  return NULL;
 #   if defined(GC_LINUX_THREADS) /*  !defined(USE_PROC_FOR_LIBRARIES) */
 /* libpthread allocated some memory that is only pointed to by  */
 /* mmapped thread stacks.  Make sure it's not collectable.  */
-- 
1.7.7

++ 0001-Fix-calloc-related-code-to-prevent-SIZE_MAX-redefini.patch ++
From 6a93f8e5bcad22137f41b6c60a1c7384baaec2b3 Mon Sep 17 00:00:00 2001
From: Ivan Maidanski iv...@mail.ru
Date: Thu, 15 Mar 2012 20:30:11 +0400

commit gc for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2012-02-14 13:05:50

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc, Maintainer is u...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2011-12-27 18:35:30.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2012-02-14 
13:05:52.0 +0100
@@ -1,0 +2,6 @@
+Sat Feb 11 08:55:11 UTC 2012 - co...@suse.com
+
+- put the provides for libatomic-ops-devel in a package actually
+  in existance
+
+---



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.02sUq5/_old  2012-02-14 13:05:52.0 +0100
+++ /var/tmp/diff_new_pack.02sUq5/_new  2012-02-14 13:05:52.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   gc
 Version:7.1.9.6
 Release:0
@@ -29,8 +30,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-Conflicts:  libatomic-ops-devel = %{src_ver}
-Provides:   libatomic-ops-devel = %{src_ver}
 
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -75,6 +74,8 @@
 Summary:Atomic memory update operations
 Group:  Development/Libraries/C and C++
 Provides:   libatomic_ops-static = %{version}-%{release}
+Obsoletes:  libatomic-ops-devel = 1.2
+Provides:   libatomic-ops-devel = %{version}
 
 %description -n libatomic_ops-devel 
 Provides implementations for atomic memory update operations on a

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2011-12-27 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2011-12-27 18:35:28

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc, Maintainer is u...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gc/gc.changes2011-10-03 09:19:09.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gc.new/gc.changes   2011-12-27 
18:35:30.0 +0100
@@ -1,0 +2,12 @@
+Sun Dec 25 16:02:21 UTC 2011 - idon...@suse.com
+
+- Provide libatomic-ops-devel package too 
+
+---
+Tue Dec 13 09:55:10 UTC 2011 - wer...@suse.de
+
+- To use this with asymptote from TeX Live large config is required.
+  Also fast garbage collection iby using pthread-based parallel mark
+  implementation will help a lot.
+
+---



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.8EdDwZ/_old  2011-12-27 18:35:33.0 +0100
+++ /var/tmp/diff_new_pack.8EdDwZ/_new  2011-12-27 18:35:33.0 +0100
@@ -15,21 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   gc
 Version:7.1.9.6
-Release:1
+Release:0
 %define src_ver 7.2alpha6
-Group:  Development/Libraries/C and C++
-License:BSD-3-Clause
 Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
+License:BSD-3-Clause
+Group:  Development/Libraries/C and C++
 Source: %{name}-%{src_ver}.tar.bz2
 Patch0: %{name}-build.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  gcc-c++ pkg-config
+BuildRequires:  gcc-c++
 BuildRequires:  libtool
+BuildRequires:  pkg-config
+Conflicts:  libatomic-ops-devel = %{src_ver}
+Provides:   libatomic-ops-devel = %{src_ver}
 
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -70,25 +71,56 @@
 automatically recycles memory when it determines that it can no longer
 be otherwise accessed.
 
+%package -n libatomic_ops-devel
+Summary:Atomic memory update operations
+Group:  Development/Libraries/C and C++
+Provides:   libatomic_ops-static = %{version}-%{release}
+
+%description -n libatomic_ops-devel 
+Provides implementations for atomic memory update operations on a
+number of architectures. This allows direct use of these in reasonably
+portable code. Unlike earlier similar packages, this one explicitly
+considers memory barrier semantics, and allows the construction of code
+that involves minimum overhead across a variety of architectures.
+
 %prep
 %setup -q -n %{name}-%{src_ver}
 %patch0 -p1
 
 %build
-%{suse_update_config -f}
+# refresh auto*/libtool to purge rpaths
+rm -f libtool libtool.m4
 autoreconf -fi
-%{__libtoolize} -f
-%configure --disable-static --with-pic --enable-cplusplus
+
+# see bugzilla.redhat.com/689877
+CPPFLAGS=-DUSE_GET_STACKBASE_FOR_MAIN; export CPPFLAGS
+
+%configure --disable-static \
+--with-pic \
+--with-gnu-ld  \
+--enable-cplusplus \
+--enable-large-config   \
+--enable-threads=posix  \
+--enable-parallel-mark \
+--with-libatomic-ops=no
+
 make %{?_smp_mflags}
+make %{?_smp_mflags} -C libatomic_ops
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-rm -fr $RPM_BUILD_ROOT/usr/share/gc# docs
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+
+%makeinstall
+%makeinstall -C libatomic_ops
+
+rm -rf $RPM_BUILD_ROOT/usr/share/gc# docs
+rm -rf %{buildroot}%{_datadir}/libatomic_ops/{COPYING,*.txt}
+rm -f %{buildroot}%{_libdir}/*.la
 
 %check
 %if ! 0%{?qemu_user_space_build}
 make check
+# fails on i586
+make check -C libatomic_ops ||:
 %endif
 
 %post -n libgc1 -p /sbin/ldconfig
@@ -97,7 +129,7 @@
 
 %files -n libgc1
 %defattr(-, root, root)
-%doc README.QUICK doc/README*
+%doc README.QUICK doc/README.*
 %{_libdir}/lib*.so.*
 
 %files devel
@@ -105,6 +137,19 @@
 %doc doc/[a-z]*
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
-%{_includedir}/*
+%{_includedir}/gc.h
+%{_includedir}/gc_cpp.h
+%{_includedir}/gc
+
+%files -n libatomic_ops-devel
+%defattr(-,root,root,-)
+%doc libatomic_ops/AUTHORS libatomic_ops/ChangeLog libatomic_ops/COPYING 
libatomic_ops/NEWS libatomic_ops/README
+%doc libatomic_ops/doc/*.txt
+%{_includedir}/atomic_ops.h
+%{_includedir}/atomic_ops_malloc.h
+%{_includedir}/atomic_ops_stack.h
+%{_includedir}/atomic_ops/
+%{_libdir}/libatomic_ops.a
+%{_libdir}/libatomic_ops_gpl.a
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package gc for openSUSE:Factory checked in 
at 2011-12-06 18:11:04

Comparing /work/SRC/openSUSE:Factory/gc (Old)
 and  /work/SRC/openSUSE:Factory/.gc.new (New)


Package is gc, Maintainer is u...@suse.com

Changes:




Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.sAQTFS/_old  2011-12-06 18:16:17.0 +0100
+++ /var/tmp/diff_new_pack.sAQTFS/_new  2011-12-06 18:16:17.0 +0100
@@ -22,7 +22,7 @@
 Release:1
 %define src_ver 7.2alpha6
 Group:  Development/Libraries/C and C++
-License:BSD 3-Clause
+License:BSD-3-Clause
 Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
 Source: %{name}-%{src_ver}.tar.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2011-10-03 Thread h_root

Hello community,

here is the log from the commit of package gc for openSUSE:Factory
checked in at Mon Oct 3 09:19:10 CEST 2011.




--- openSUSE:Factory/gc/gc.changes  2011-10-02 10:01:58.0 +0200
+++ gc/gc.changes   2011-10-01 07:40:49.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct  1 05:39:10 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+---

calling whatdependson for head-i586




Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.zlp9DO/_old  2011-10-03 09:19:06.0 +0200
+++ /var/tmp/diff_new_pack.zlp9DO/_new  2011-10-03 09:19:06.0 +0200
@@ -29,6 +29,7 @@
 Patch0: %{name}-build.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++ pkg-config
+BuildRequires:  libtool
 
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2011-10-02 Thread h_root

Hello community,

here is the log from the commit of package gc for openSUSE:Factory
checked in at Sun Oct 2 10:01:59 CEST 2011.




--- openSUSE:Factory/gc/gc.changes  2011-09-26 10:05:10.0 +0200
+++ /mounts/work_src_done/STABLE/gc/gc.changes  2011-09-30 21:21:37.0 
+0200
@@ -1,0 +2,5 @@
+Fri Sep 30 19:06:55 UTC 2011 - crrodrig...@opensuse.org
+
+- Workaround qemu-arm bugs. 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.TbXvj1/_old  2011-10-02 10:01:56.0 +0200
+++ /var/tmp/diff_new_pack.TbXvj1/_new  2011-10-02 10:01:56.0 +0200
@@ -23,7 +23,7 @@
 %define src_ver 7.2alpha6
 Group:  Development/Libraries/C and C++
 License:BSD 3-Clause
-URL:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
+Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
 Source: %{name}-%{src_ver}.tar.bz2
 Patch0: %{name}-build.patch
@@ -86,7 +86,9 @@
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
 %check
+%if ! 0%{?qemu_user_space_build}
 make check
+%endif
 
 %post -n libgc1 -p /sbin/ldconfig
 

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2011-09-26 Thread h_root

Hello community,

here is the log from the commit of package gc for openSUSE:Factory
checked in at Mon Sep 26 10:05:12 CEST 2011.




--- gc/gc.changes   2011-06-23 10:14:44.0 +0200
+++ /mounts/work_src_done/STABLE/gc/gc.changes  2011-09-22 17:45:54.0 
+0200
@@ -1,0 +2,8 @@
+Thu Sep 22 11:26:47 UTC 2011 - jeng...@medozas.de
+
+- Implement shlib policy
+- Resolve rpmlint warning no-pkg-config-provides
+- Remove redundant/obsolete tags (cf. specfile guidelines;
+  License field is inherited from (main) subpackage)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.KsAHUm/_old  2011-09-26 10:05:09.0 +0200
+++ /var/tmp/diff_new_pack.KsAHUm/_new  2011-09-26 10:05:09.0 +0200
@@ -15,27 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   gc
 Version:7.1.9.6
 Release:1
 %define src_ver 7.2alpha6
-AutoReqProv:on
-# bug437293
-%ifarch ppc64
-Obsoletes:  boehm-gc-64bit
-%endif
-#
 Group:  Development/Libraries/C and C++
 License:BSD 3-Clause
-Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
+URL:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
 Source: %{name}-%{src_ver}.tar.bz2
 Patch0: %{name}-build.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  gcc-c++
+BuildRequires:  gcc-c++ pkg-config
 
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -45,20 +38,28 @@
 automatically recycles memory when it determines that it can no longer
 be otherwise accessed.
 
+%package -n libgc1
+Summary:A garbage collector for C and C++
+Group:  System/Libraries
+# bug437293
+%ifarch ppc64
+Obsoletes:  boehm-gc-64bit
+%endif
+#
 
-
-Authors:
-
-Hans-J. Boehm
-Alan J. Demers
+%description -n libgc1
+The Boehm-Demers-Weiser conservative garbage collector can be used as a
+garbage collecting replacement for C malloc or C++ new. It allows you
+to allocate memory basically as you normally would, without explicitly
+deallocating memory that is no longer useful. The collector
+automatically recycles memory when it determines that it can no longer
+be otherwise accessed.
 
 %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
-Requires:   gc = %{version} glibc-devel
-AutoReqProv:on
+Requires:   libgc1 = %version, glibc-devel
 
 %description devel
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -68,13 +69,6 @@
 automatically recycles memory when it determines that it can no longer
 be otherwise accessed.
 
-
-
-Authors:
-
-Hans-J. Boehm
-Alan J. Demers
-
 %prep
 %setup -q -n %{name}-%{src_ver}
 %patch0 -p1
@@ -84,7 +78,7 @@
 autoreconf -fi
 %{__libtoolize} -f
 %configure --disable-static --with-pic --enable-cplusplus
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -94,14 +88,11 @@
 %check
 make check
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post -p /sbin/ldconfig
+%post -n libgc1 -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n libgc1 -p /sbin/ldconfig
 
-%files
+%files -n libgc1
 %defattr(-, root, root)
 %doc README.QUICK doc/README*
 %{_libdir}/lib*.so.*






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gc for openSUSE:Factory

2011-07-13 Thread h_root

Hello community,

here is the log from the commit of package gc for openSUSE:Factory
checked in at Wed Jul 13 09:00:10 CEST 2011.




--- gc/gc.changes   2009-04-02 15:46:15.0 +0200
+++ /mounts/work_src_done/STABLE/gc/gc.changes  2011-06-23 10:14:44.0 
+0200
@@ -1,0 +2,7 @@
+Mon Jun 20 15:08:02 UTC 2011 - pgaj...@novell.com
+
+- updated to 7.2alpha6
+  * many bug fixes and new features from 6.6, see doc/README.changes
+for older changes and ChangeLog for recent changes
+
+---

calling whatdependson for head-i586


Old:

  configure.patch
  gc.atomic-locks.patch
  gc6.6.tar.bz2
  gcc4.patch

New:

  gc-7.2alpha6.tar.bz2
  gc-build.patch



Other differences:
--
++ gc.spec ++
--- /var/tmp/diff_new_pack.8uLObP/_old  2011-07-13 08:53:48.0 +0200
+++ /var/tmp/diff_new_pack.8uLObP/_new  2011-07-13 08:53:48.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package gc (Version 6.6)
+# spec file for package gc
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,8 +19,9 @@
 
 
 Name:   gc
-Version:6.6
-Release:138
+Version:7.1.9.6
+Release:1
+%define src_ver 7.2alpha6
 AutoReqProv:on
 # bug437293
 %ifarch ppc64
@@ -31,13 +32,10 @@
 License:BSD 3-Clause
 Url:http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Summary:A garbage collector for C and C++
-Source: %{name}%{version}.tar.bz2
-#Patch:%{name}-%{version}-shared.diff
+Source: %{name}-%{src_ver}.tar.bz2
+Patch0: %{name}-build.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 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
@@ -78,15 +76,13 @@
 Alan J. Demers
 
 %prep
-%setup -q -n %name%version
-%patch
-%patch1
-%patch2 -p1
+%setup -q -n %{name}-%{src_ver}
+%patch0 -p1
 
 %build
-#%{suse_update_config -f}
-#autoreconf -fi
-#%{__libtoolize} -f
+%{suse_update_config -f}
+autoreconf -fi
+%{__libtoolize} -f
 %configure --disable-static --with-pic --enable-cplusplus
 %{__make} %{?jobs:-j%jobs}
 
@@ -114,6 +110,7 @@
 %defattr(-, root, root)
 %doc doc/[a-z]*
 %{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
 %{_includedir}/*
 
 %changelog

++ gc-build.patch ++
Index: gc-7.2alpha6/Makefile.am
===
--- gc-7.2alpha6.orig/Makefile.am
+++ gc-7.2alpha6/Makefile.am
@@ -104,7 +104,6 @@ EXTRA_libgc_la_SOURCES = alpha_mach_dep.
 
 if CPLUSPLUS
 lib_LTLIBRARIES += libgccpp.la
-pkginclude_HEADERS += include/gc_cpp.h include/gc_allocator.h
 libgccpp_la_SOURCES = gc_cpp.cc
 libgccpp_la_LIBADD = ./libgc.la
 libgccpp_la_LDFLAGS = -version-info 1:3:0 -no-undefined





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org