summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1997-09-17 23:30:48 +0000
committerimp <imp@FreeBSD.org>1997-09-17 23:30:48 +0000
commit9bb3843257671e86103c5384a34d6d40e4a8bc4a (patch)
tree9e21377a4d9ad78e43b5e1c4b866c1eb27ffb4c1 /x11
parent34c9cd2294ff49352403ed29229ee310e84e6a89 (diff)
downloadFreeBSD-ports-9bb3843257671e86103c5384a34d6d40e4a8bc4a.zip
FreeBSD-ports-9bb3843257671e86103c5384a34d6d40e4a8bc4a.tar.gz
Make this port work on OpenBSD, and still work on FreeBSD. Fix a warning
for using value.h. Submitted by: Todd T Fries <toddf@acm.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/libdnd/files/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/libdnd/files/patch-aa b/x11/libdnd/files/patch-aa
index aec629d..c5fb62a 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 <X11/Xmu/WinUtil.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
++#include <limits.h>
++#define MAXINT INT_MAX
++#else
+ #include <values.h>
++#endif
+
+ /* Local variables */
+ static Display *dpy; /* current display */
OpenPOWER on IntegriCloud