rpms/gc/devel gc-7.0-gcinit.patch,NONE,1.1 gc.spec,1.22,1.23
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Tue Jul 24 22:29:26 UTC 2007
Author: rdieter
Update of /cvs/pkgs/rpms/gc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24573
Modified Files:
gc.spec
Added Files:
gc-7.0-gcinit.patch
Log Message:
* Tue Jul 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-2
- gcinit patch, ABI compatibility (#248700)
gc-7.0-gcinit.patch:
--- NEW FILE gc-7.0-gcinit.patch ---
--- gc-7.0/malloc.c~ 2007-06-06 22:48:35.000000000 +0200
+++ gc-7.0/malloc.c 2007-07-24 12:56:29.000000000 +0200
@@ -263,6 +263,9 @@
size_t lg;
DCL_LOCK_STATE;
+ if (!GC_is_initialized)
+ GC_init();
+
if(SMALL_OBJ(lb)) {
lg = GC_size_map[lb];
opp = (void **)&(GC_objfreelist[lg]);
--- gc-7.0/thread_local_alloc.c~ 2007-06-28 07:05:00.000000000 +0200
+++ gc-7.0/thread_local_alloc.c 2007-07-24 13:01:28.000000000 +0200
@@ -141,6 +141,9 @@
void *result;
void **tiny_fl;
+ if (!GC_is_initialized)
+ GC_init();
+
# if defined(REDIRECT_MALLOC) && !defined(USE_PTHREAD_SPECIFIC)
GC_key_t k = GC_thread_key;
if (EXPECT(0 == k, 0)) {
Index: gc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gc/devel/gc.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- gc.spec 9 Jul 2007 19:26:47 -0000 1.22
+++ gc.spec 24 Jul 2007 22:28:54 -0000 1.23
@@ -3,13 +3,15 @@
Name: gc
Version: 7.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Libraries
License: BSD
Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
Source0: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch1: gc-7.0-gcinit.patch
+
# rpmforge compatibility
Obsoletes: libgc < %{version}-%{release}
Provides: libgc = %{version}-%{release}
@@ -33,6 +35,8 @@
%prep
%setup -q
+%patch1 -p1 -b .gcinit
+
%build
@@ -90,6 +94,9 @@
%changelog
+* Tue Jul 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-2
+- gcinit patch, ABI compatibility (#248700)
+
* Mon Jul 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-1
- gc-7.0
More information about the scm-commits
mailing list