Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37788405
en ru br
ALT Linux repositórios
5.0: 0-alt2
4.1: 0-alt2
4.0: 0-alt1
3.0:
+backports:0-alt0.M30.1

Group :: Sistema/Bibliotecas
RPM: openbsd-malloc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: openbsd-malloc
Version: 0
Release: alt2

Summary: Alternative malloc() implementation
License: Beerware (distributable)
Group: System/Libraries

Url: http://mr.himki.net
Source0: %url/OpenBSD_malloc_Linux.c
Source1: %url/index-alloc.html
Source2: %name
Source3: LICENSE
Packager: Michael Shigorin <mike at altlinux.org>

%description
This package contains experimental alternative to glibc
implementation of malloc() which is prone to heap fragmentation
due to use of deprecated brk() syscall; one might find it useful
to reduce e.g. Firefox memory consumption (though reportedly
won't work with e.g. Emacs).

Use openbsd-malloc some-program to run some-program this way.

NB: this package will hopefully get obsolete with glibc 2.6+

%prep

%build
%add_optflags %optflags_shared
gcc -shared %optflags %SOURCE0 -o malloc.so

%install
install -pD -m644 malloc.so %buildroot%_libdir/libmalloc.so
install -pD -m644 %SOURCE1 README.html
install -pD -m755 %SOURCE2 %buildroot%_bindir/%name
install -pD -m644 %SOURCE3 .
subst 's,/usr/lib,%_libdir,' %buildroot%_bindir/%name

%files
%_libdir/*
%_bindir/*
%doc README.html LICENSE

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009