From 9b38c89bc6e110e1be5414326c3c154dfb6b2a7d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 17 Sep 1997 23:30:48 +0000 Subject: Make this port work on OpenBSD, and still work on FreeBSD. Fix a warning for using value.h. Submitted by: Todd T Fries --- x11/libdnd/files/patch-aa | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'x11/libdnd') diff --git a/x11/libdnd/files/patch-aa b/x11/libdnd/files/patch-aa index aec629d77530..c5fb62abf52b 100644 --- a/x11/libdnd/files/patch-aa +++ b/x11/libdnd/files/patch-aa @@ -12,3 +12,18 @@ libC: libDnd.a +--- DragAndDrop.c.orig Mon Sep 15 21:02:20 1997 ++++ DragAndDrop.c Mon Sep 15 21:03:53 1997 +@@ -22,7 +22,12 @@ + #include + #include + #include ++#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) ++#include ++#define MAXINT INT_MAX ++#else + #include ++#endif + + /* Local variables */ + static Display *dpy; /* current display */ -- cgit v1.2.3