aboutsummaryrefslogtreecommitdiff
path: root/x11/libdnd/files/patch-aa
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-09-17 23:30:48 +0000
committerWarner Losh <imp@FreeBSD.org>1997-09-17 23:30:48 +0000
commit9b38c89bc6e110e1be5414326c3c154dfb6b2a7d (patch)
tree95be00c61ba4cc22ba660d9dff025c324c682b4d /x11/libdnd/files/patch-aa
parent9f2f980a36dcab0131e3728a337cc2a9eeca48cc (diff)
downloadports-9b38c89bc6e110e1be5414326c3c154dfb6b2a7d.tar.gz
ports-9b38c89bc6e110e1be5414326c3c154dfb6b2a7d.zip
Notes
Diffstat (limited to 'x11/libdnd/files/patch-aa')
-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 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 <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 */