diff options
author | ross <ross> | 1999-05-13 12:38:28 +0000 |
---|---|---|
committer | ross <ross> | 1999-05-13 12:38:28 +0000 |
commit | 1bcd2feea6012c24cd08047ca2d90df1d58323e1 (patch) | |
tree | 965e822bd7eb630dd50c77eb2054fc6ac5141698 /sysutils | |
parent | 028a3103a004699b1d9f30b4e617b3fa5efd1425 (diff) | |
download | pkgsrc-1bcd2feea6012c24cd08047ca2d90df1d58323e1.tar.gz |
Delete insane code inside #ifdef __NetBSD__ (what?!) that setrlimit()'s us
to 32MB (what?!).
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mkhybrid/patches/patch-af | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/mkhybrid/patches/patch-af b/sysutils/mkhybrid/patches/patch-af new file mode 100644 index 00000000000..548dbb424a0 --- /dev/null +++ b/sysutils/mkhybrid/patches/patch-af @@ -0,0 +1,34 @@ +--- mkisofs.c.orig Mon Feb 2 06:01:40 1998 ++++ mkisofs.c Thu May 13 05:30:27 1999 +@@ -57,11 +57,6 @@ + + #include "exclude.h" + +-#ifdef __NetBSD__ +-#include <sys/time.h> +-#include <sys/resource.h> +-#endif +- + struct directory * root = NULL; + + static char version_string[] = "mkhybrid v1.11.1"; +@@ -521,19 +516,6 @@ + usage(); + exit(1); + } +-#ifdef __NetBSD__ +- { +- int resource; +- struct rlimit rlp; +- if (getrlimit(RLIMIT_DATA,&rlp) == -1) +- perror("Warning: getrlimit"); +- else { +- rlp.rlim_cur=33554432; +- if (setrlimit(RLIMIT_DATA,&rlp) == -1) +- perror("Warning: setrlimit"); +- } +- } +-#endif + #ifdef HAVE_SBRK + mem_start = (unsigned long) sbrk(0); + #endif |