Hello community, here is the log from the commit of package ElectricFence checked in at Thu Apr 19 21:29:12 CEST 2007. -------- --- ElectricFence/ElectricFence.changes 2006-01-25 21:31:11.000000000 +0100 +++ /mounts/work_src_done/STABLE/ElectricFence/ElectricFence.changes 2007-04-19 12:07:59.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 19 12:07:38 CEST 2007 - prusnak@suse.cz + +- fixed call to mmap functions (mmap.diff) [#265836] + +------------------------------------------------------------------- New: ---- ElectricFence-2.2.2-mmap.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ElectricFence.spec ++++++ --- /var/tmp/diff_new_pack.i21946/_old 2007-04-19 21:16:05.000000000 +0200 +++ /var/tmp/diff_new_pack.i21946/_new 2007-04-19 21:16:05.000000000 +0200 @@ -1,33 +1,34 @@ # # spec file for package ElectricFence (Version 2.2.2) # -# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany. +# Copyright (c) 2007 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://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ElectricFence -License: LGPL +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Tools/Debuggers Provides: efence Obsoletes: efence Autoreqprov: on Version: 2.2.2 -Release: 529 +Release: 572 Summary: Malloc Debugger URL: http://perens.com/FreeSoftware -Source: ElectricFence-2.2.2.tar.bz2 -Patch0: ElectricFence-2.2.2.diff -Patch1: ElectricFence-2.2.2-alignment.diff -Patch2: ElectricFence-2.2.2-pthread.diff +Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}.diff +Patch1: %{name}-%{version}-alignment.diff +Patch2: %{name}-%{version}-pthread.diff +Patch3: %{name}-%{version}-mmap.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Tool for debugging your C-programs (malloc debugger). +Tool for debugging your C programs (malloc debugger). @@ -40,12 +41,12 @@ %patch0 %patch1 %patch2 +%patch3 %build make CFLAGS="$RPM_OPT_FLAGS -g -DUSE_SEMAPHORE -fPIC" %install -rm -rf $RPM_BUILD_ROOT install -D -d -m755 $RPM_BUILD_ROOT%{_bindir} install -D -d -m755 $RPM_BUILD_ROOT%{_libdir} install -D -d -m755 $RPM_BUILD_ROOT%{_mandir}/man3 @@ -70,7 +71,9 @@ %{_libdir}/lib* %{_bindir}/* -%changelog -n ElectricFence +%changelog +* Thu Apr 19 2007 - prusnak@suse.cz +- fixed call to mmap functions (mmap.diff) [#265836] * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Nov 18 2004 - ro@suse.de @@ -87,7 +90,7 @@ __libc_malloc_pthread_startup(false) (#83111) * only use semaphore locking if application or its dependencies are linked against -lpthread, don't link libefence.so against --lpthread + -lpthread * Thu Jan 10 2002 - nadvornik@suse.cz - used macros %%{_lib} and %%{_libdir} * Thu Oct 04 2001 - nadvornik@suse.cz ++++++ ElectricFence-2.2.2-mmap.diff ++++++ --- page.c +++ page.c @@ -70,7 +70,7 @@ */ allocation = (caddr_t) mmap( startAddr - ,(int)size + ,size ,PROT_READ|PROT_WRITE ,MAP_PRIVATE|MAP_ANONYMOUS ,-1 @@ -122,7 +122,7 @@ */ allocation = (caddr_t) mmap( startAddr - ,(int)size + ,size ,PROT_READ|PROT_WRITE ,MAP_PRIVATE ,devZeroFd ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org