aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files/patch-nsplugins_viewer-viewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4-runtime/files/patch-nsplugins_viewer-viewer.cpp')
-rw-r--r--x11/kdebase4-runtime/files/patch-nsplugins_viewer-viewer.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/files/patch-nsplugins_viewer-viewer.cpp b/x11/kdebase4-runtime/files/patch-nsplugins_viewer-viewer.cpp
new file mode 100644
index 000000000000..4f51bfc6bab8
--- /dev/null
+++ b/x11/kdebase4-runtime/files/patch-nsplugins_viewer-viewer.cpp
@@ -0,0 +1,17 @@
+--- nsplugins/viewer/viewer.cpp.orig Mon Dec 19 00:30:44 2005
++++ nsplugins/viewer/viewer.cpp Mon Dec 19 00:43:33 2005
+@@ -54,7 +54,14 @@
+ #include "qxteventloop.h"
+ #endif
+
++/**
++ * Use RLIMIT_DATA on systems that don't define RLIMIT_AS,
++ * such as FreeBSD 4.
++ */
+
++#ifndef RLIMIT_AS
++#define RLIMIT_AS RLIMIT_DATA
++#endif
+
+ /**
+ * The error handler catches all X errors, writes the error