summaryrefslogtreecommitdiff
path: root/devel/glui/files/patch-ab
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-17 18:27:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-17 18:27:14 +0000
commit92283681b2590bce6943a3a61d400178d7f2d692 (patch)
tree7d66276fe21c2f26b3f69f0ed0f8d7502e491020 /devel/glui/files/patch-ab
parentadd hope (diff)
add glui
GLUT-based C++ user interface library PR: 30822 Submitted by: Matthew West <mwest@uct.ac.za>
Notes
Notes: svn path=/head/; revision=48877
Diffstat (limited to 'devel/glui/files/patch-ab')
-rw-r--r--devel/glui/files/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/glui/files/patch-ab b/devel/glui/files/patch-ab
new file mode 100644
index 000000000000..bd4eff66c02c
--- /dev/null
+++ b/devel/glui/files/patch-ab
@@ -0,0 +1,12 @@
+--- stdinc.h.orig Fri Jul 9 22:38:46 1999
++++ stdinc.h Tue Sep 25 21:50:32 2001
+@@ -99,8 +99,7 @@
+
+ /************ check if a 2D point lies within a 2D box ***************/
+ #ifndef PT_IN_BOX
+-#define PT_IN_BOX( x, y, lo_x, hi_x, lo_y, hi_y ) \
+-( IN_BOUNDS(x,lo_x,hi_x) AND IN_BOUNDS(y,lo_y,hi_y) )
++#define PT_IN_BOX( x, y, lo_x, hi_x, lo_y, hi_y ) ( IN_BOUNDS(x,lo_x,hi_x) AND IN_BOUNDS(y,lo_y,hi_y) )
+ #endif
+
+ /****** check if value lies on proper side of another value *****/