This commit is contained in:
commit
c2203392a6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
20
configure.patch
Normal file
20
configure.patch
Normal file
@ -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
|
16
gc.changes
Normal file
16
gc.changes
Normal file
@ -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
|
||||||
|
|
83
gc.spec
Normal file
83
gc.spec
Normal file
@ -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
|
3
gc6.6.tar.bz2
Normal file
3
gc6.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:18bf5196a16a6cc198755f81afc8e9167c09a36b90077574e8581ff1d07d0e78
|
||||||
|
size 588635
|
11
gcc4.patch
Normal file
11
gcc4.patch
Normal file
@ -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 */
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user