commit c2203392a69ac0c48e469b8452b39f231ec09c30b893ed9e85121d4099ff3943 Author: OBS User unknown Date: Mon Jan 15 23:13:31 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gc?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/configure.patch b/configure.patch new file mode 100644 index 0000000..7aefc56 --- /dev/null +++ b/configure.patch @@ -0,0 +1,20 @@ +--- configure ++++ configure +@@ -4814,7 +4814,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + case $host_cpu in + alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) + lt_cv_deplibs_check_method=pass_all ;; +@@ -7801,7 +7801,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + version_type=linux + need_lib_prefix=no + need_version=no diff --git a/gc.changes b/gc.changes new file mode 100644 index 0000000..cb40088 --- /dev/null +++ b/gc.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Mon Jan 30 15:45:19 CET 2006 - uli@suse.de + +- enabled malloc redirection, C++ support +- fixed shared libs + +------------------------------------------------------------------- +Wed Jan 25 21:36:07 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 11 13:42:27 CET 2006 - uli@suse.de + +- initial package + diff --git a/gc.spec b/gc.spec new file mode 100644 index 0000000..235ede9 --- /dev/null +++ b/gc.spec @@ -0,0 +1,83 @@ +# +# spec file for package gc (Version 6.6) +# +# Copyright (c) 2006 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. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org +# + +# norootforbuild + +Name: gc +Version: 6.6 +Release: 2 +Autoreqprov: on +Group: Development/Libraries/C and C++ +License: BSD +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ +Patch: gcc4.patch +Patch1: configure.patch + +%description +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. + + + +Authors: +-------- + Hans-J. Boehm + Alan J. Demers + +%prep +%setup -n %name%version +%patch +%patch1 + +%build +#%{suse_update_config -f} +#autoreconf -fi +#%{__libtoolize} -f +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ + ./configure \ + --prefix=%{_prefix} \ + --sysconfdir=%{_sysconfdir} \ + --libdir=%{_libdir} \ + --infodir=%{_infodir} \ + --mandir=%{_mandir} \ + --enable-redirect-malloc \ + --enable-cplusplus +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm -fr $RPM_BUILD_ROOT/usr/share/gc # docs + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc README.QUICK doc/README* doc/[a-z]* +%{_libdir}/lib* +%{_includedir}/* + +%changelog -n gc +* Mon Jan 30 2006 - uli@suse.de +- enabled malloc redirection, C++ support +- fixed shared libs +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Jan 11 2006 - uli@suse.de +- initial package diff --git a/gc6.6.tar.bz2 b/gc6.6.tar.bz2 new file mode 100644 index 0000000..bfeb493 --- /dev/null +++ b/gc6.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18bf5196a16a6cc198755f81afc8e9167c09a36b90077574e8581ff1d07d0e78 +size 588635 diff --git a/gcc4.patch b/gcc4.patch new file mode 100644 index 0000000..fa970f7 --- /dev/null +++ b/gcc4.patch @@ -0,0 +1,11 @@ +--- include/gc_cpp.h ++++ include/gc_cpp.h +@@ -180,7 +180,7 @@ + inline void* operator new[]( size_t size, void *p ); + inline void operator delete[]( void* obj ); + # ifdef GC_PLACEMENT_DELETE +- inline void gc::operator delete[]( void*, void* ); ++ inline void operator delete[]( void*, void* ); + # endif + #endif /* GC_OPERATOR_NEW_ARRAY */ + }; diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4