openbsd-ports/net/dictd/patches/patch-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
522 B
Plaintext

$OpenBSD: patch-decl_h,v 1.1.1.1 2006/04/19 17:11:52 alek Exp $
--- decl.h.orig Tue Apr 18 15:20:35 2006
+++ decl.h Tue Apr 18 15:20:45 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__)
/* Both SunOS and Solaris */
extern int getrusage( int who, struct rusage * );
extern void bcopy( const void *, void *, int );