Hello community, here is the log from the commit of package ElectricFence for openSUSE:Factory checked in at 2014-11-04 17:28:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ElectricFence (Old) and /work/SRC/openSUSE:Factory/.ElectricFence.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ElectricFence" Changes: -------- --- /work/SRC/openSUSE:Factory/ElectricFence/ElectricFence.changes 2011-10-06 14:57:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ElectricFence.new/ElectricFence.changes 2014-11-04 17:28:49.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Oct 31 12:16:54 UTC 2014 - [email protected] + +- ElectricFence-strerror.diff: always use strerror instead of sys_errlist + +------------------------------------------------------------------- New: ---- ElectricFence-strerror.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ElectricFence.spec ++++++ --- /var/tmp/diff_new_pack.9HKLjW/_old 2014-11-04 17:28:50.000000000 +0100 +++ /var/tmp/diff_new_pack.9HKLjW/_new 2014-11-04 17:28:50.000000000 +0100 @@ -31,6 +31,7 @@ Patch1: %{name}-%{version}-alignment.diff Patch2: %{name}-%{version}-pthread.diff Patch3: %{name}-%{version}-mmap.diff +Patch4: %{name}-strerror.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,6 +43,7 @@ %patch1 %patch2 %patch3 +%patch4 -p1 %build echo -e "#!/bin/bash\n`which %__cc` \"\$@\"" >gcc ++++++ ElectricFence-strerror.diff ++++++ Index: ElectricFence-2.2.2/page.c =================================================================== --- ElectricFence-2.2.2.orig/page.c +++ ElectricFence-2.2.2/page.c @@ -29,24 +29,10 @@ static caddr_t startAddr = (caddr_t) 0; -#if ( !defined(sgi) && !defined(_AIX) &&!defined(__USE_BSD)) -extern int sys_nerr; -extern char * sys_errlist[]; -#endif - static const char * stringErrorReport(void) { -#if ( defined(sgi) ) - return strerror(oserror()); -#elif ( defined(_AIX) ) return strerror(errno); -#else - if ( errno > 0 && errno < sys_nerr ) - return sys_errlist[errno]; - else - return "Unknown error.\n"; -#endif } /* -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
