openbsd-ports/net/dictd/patches/patch-libmaa_decl_h
alek aaa2632ed5 Import dict 1.9.15
The Dictionary Server Protocol (DICT) is a TCP transaction based
query/response protocol that allows a client to access dictionary
definitions from a set of natural language dictionary databases.

This package contains a client which can access DICT servers from
the command line.

From Deanna Phillips <deanna@sdf.lonestar.org>
2006-04-19 17:11:52 +00:00

13 lines
511 B
Plaintext

$OpenBSD: patch-libmaa_decl_h,v 1.1.1.1 2006/04/19 17:11:52 alek Exp $
--- libmaa/decl.h.orig Tue Apr 18 15:21:21 2006
+++ libmaa/decl.h Tue Apr 18 15:21:31 2006
@@ -28,7 +28,7 @@
declarations for standard library calls. We provide them here for
situations that we know about. */
-#if defined(__sparc__) && !defined(linux)
+#if defined(__sparc__) && !defined(linux) && !defined(__OpenBSD__)
#include <sys/resource.h>
/* Both SunOS and Solaris */
extern int getrusage( int who, struct rusage * );