openbsd-ports/graphics/xfig/patches/patch-fig_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

13 lines
447 B
Plaintext

$OpenBSD: patch-fig_h,v 1.1 2008/08/26 14:32:20 sthen Exp $
--- fig.h.pat.orig Fri Feb 24 20:15:16 2006
+++ fig.h Wed Aug 20 11:30:02 2008
@@ -383,7 +383,7 @@ extern double drand48();
extern long random();
extern void srandom(unsigned int);
-#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux)
+#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__OpenBSD__)
extern void srandom(int);
#endif