openbsd-ports/graphics/xfig/patches/patch-w_snap_h
sthen 8d58512de6 update to 3.2.5; fixes LP64 problems making fonts unusable on amd64.
Thanks oga@ and Jonathan Armani for testing.

Add (previously missing) license comment; the license for 3.2.5 has
reverted to MIT-like.

patches/patch-w_intersect_c includes a reimplementation of some
complex math functions, not yet in our libm.
2008-08-26 14:32:20 +00:00

15 lines
361 B
Plaintext

$OpenBSD: patch-w_snap_h,v 1.1 2008/08/26 14:32:20 sthen Exp $
--- w_snap.h.pat.orig Tue Nov 9 21:14:42 2004
+++ w_snap.h Wed Aug 20 11:30:02 2008
@@ -63,8 +63,10 @@ extern Boolean snap_found;
extern Widget snap_indicator_panel;
extern Widget snap_indicator_label;
+#ifndef signbit
# define signbit(x) \
((0.0 > (x)) ? 1 : 0)
+#endif
#endif