summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1998-07-02 12:14:57 +0000
committerbouyer <bouyer@pkgsrc.org>1998-07-02 12:14:57 +0000
commit12069abe41a421db9b0099a0175193b01f84d8d4 (patch)
treeb31ee868d1fb6e41d536e98ff1ed7abe6daf7765 /sysutils
parent1909d05f26717086b8471823570b33a4c07d9889 (diff)
downloadpkgsrc-12069abe41a421db9b0099a0175193b01f84d8d4.tar.gz
Don't change the datasize limit in mkisofs. 32MB is not enouth, and NetBSD's
default (128 Mb) should be enouth. This allows the user to adjust mkisofs's datasize limit if he wants.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mkisofs/patches/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/mkisofs/patches/patch-af b/sysutils/mkisofs/patches/patch-af
new file mode 100644
index 00000000000..8f2c0830168
--- /dev/null
+++ b/sysutils/mkisofs/patches/patch-af
@@ -0,0 +1,22 @@
+--- mkisofs.c.old Thu Jul 2 13:24:42 1998
++++ mkisofs.c Thu Jul 2 14:06:03 1998
+@@ -459,19 +459,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