openbsd-ports/x11/kde/base3/patches/patch-nsplugins_viewer_viewer_cpp
espie a0d85fda46 update a large subset of kde 3 to 3.5.7.
Simplify the infrastructure a bit, and let it compile with libfam, now...
2007-05-25 09:49:53 +00:00

14 lines
415 B
Plaintext

$OpenBSD: patch-nsplugins_viewer_viewer_cpp,v 1.3 2007/05/25 09:49:54 espie Exp $
--- nsplugins/viewer/viewer.cpp.orig Thu Jan 19 18:01:49 2006
+++ nsplugins/viewer/viewer.cpp Mon May 14 19:06:24 2007
@@ -212,6 +212,9 @@ bool qt_set_socket_handler( int sockfd, int type, QObj
}
#endif
+#if defined(__OpenBSD__) && !defined(RLIMIT_AS)
+#define RLIMIT_AS RLIMIT_DATA
+#endif
int main(int argc, char** argv)
{