diff options
author | ross <ross@pkgsrc.org> | 1999-05-13 12:38:28 +0000 |
---|---|---|
committer | ross <ross@pkgsrc.org> | 1999-05-13 12:38:28 +0000 |
commit | a1e244341a98e76ed957bdf80b7ebe17cf1a5d41 (patch) | |
tree | 965e822bd7eb630dd50c77eb2054fc6ac5141698 /sysutils | |
parent | aca570d958a477fd915fcf98cf9ea6b4a3b89276 (diff) | |
download | pkgsrc-a1e244341a98e76ed957bdf80b7ebe17cf1a5d41.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 |