Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 21 years ago
parent
commit
c2b67620f5
3 changed files with 2 additions and 82 deletions
  1. +2
    -3
      package/base/electricfence/electricfence.desc
  2. +0
    -46
      package/base/electricfence/sigsetjmp.patch
  3. +0
    -33
      package/base/electricfence/sys-defs.patch

+ 2
- 3
package/base/electricfence/electricfence.desc

@ -39,8 +39,7 @@
[L] GPL
[S] Stable
[V] 2.1
[V] 2.1.13-0.1
[P] X -?---5---9 105.000
[D] 3643245533 ElectricFence-2.1.tar.gz ftp://ftp.perens.com/pub/ElectricFence/
[D] 1627656208 electric-fence_2.1.13-0.1.tar.gz http://perens.com/FreeSoftware/ElectricFence/

+ 0
- 46
package/base/electricfence/sigsetjmp.patch

@ -1,46 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/electricfence/sigsetjmp.patch
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./eftest.c.orig 2004-09-07 15:43:00.320833176 +0200
+++ ./eftest.c 2004-09-07 15:44:44.374014688 +0200
@@ -24,7 +24,7 @@
extern int EF_PROTECT_BELOW;
extern int EF_ALIGNMENT;
-static jmp_buf env;
+static sigjmp_buf env;
/*
* There is still too little standardization of the arguments and return
@@ -40,13 +40,13 @@
)
{
signal(PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
- longjmp(env, 1);
+ siglongjmp(env, 1);
}
static int
gotSegmentationFault(int (*test)(void))
{
- if ( setjmp(env) == 0 ) {
+ if ( sigsetjmp(env, 1) == 0 ) {
int status;
signal(PAGE_PROTECTION_VIOLATED_SIGNAL

+ 0
- 33
package/base/electricfence/sys-defs.patch

@ -1,33 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/electricfence/sys-defs.patch
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./page.c~ Fri Jan 20 06:01:06 1995
+++ ./page.c Wed Apr 21 13:27:30 1999
@@ -29,11 +29,6 @@
static caddr_t startAddr = (caddr_t) 0;
-#if ( !defined(sgi) && !defined(_AIX) )
-extern int sys_nerr;
-extern char * sys_errlist[];
-#endif
-
static const char *
stringErrorReport(void)
{

Loading…
Cancel
Save