summaryrefslogtreecommitdiff
path: root/graphics/xfig/patches
diff options
context:
space:
mode:
authorgdt <gdt>2009-11-04 15:34:08 +0000
committergdt <gdt>2009-11-04 15:34:08 +0000
commit51cfe42a2860063423905a5dbcf094d4f32267fb (patch)
treebb3afb71732900cb80b8710603b471ff6fb88769 /graphics/xfig/patches
parent8a0a399ba6eee5236474ae7a15df324195df4b0b (diff)
downloadpkgsrc-51cfe42a2860063423905a5dbcf094d4f32267fb.tar.gz
Extend patch to not declare srandom also for Darwin. From Liz Libby
in private mail.
Diffstat (limited to 'graphics/xfig/patches')
-rw-r--r--graphics/xfig/patches/patch-ae8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/xfig/patches/patch-ae b/graphics/xfig/patches/patch-ae
index b5516ccc80f..cf40a3dcc01 100644
--- a/graphics/xfig/patches/patch-ae
+++ b/graphics/xfig/patches/patch-ae
@@ -1,7 +1,7 @@
-$NetBSD: patch-ae,v 1.5 2009/07/20 03:53:10 hasso Exp $
+$NetBSD: patch-ae,v 1.6 2009/11/04 15:34:08 gdt Exp $
---- fig.h.orig 2008-05-27 20:39:00 +0300
-+++ fig.h 2009-07-19 22:14:08 +0300
+--- fig.h.orig 2008-05-27 13:39:00.000000000 -0400
++++ fig.h
@@ -347,7 +347,11 @@ extern char *getenv();
#define signof(a) (((a) < 0) ? -1 : 1)
@@ -28,7 +28,7 @@ $NetBSD: patch-ae,v 1.5 2009/07/20 03:53:10 hasso Exp $
extern void srandom(unsigned int);
-#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__)
-+#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__) && !defined(__DragonFly__)
++#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__) && !defined(__DragonFly__) && !defined(__DARWIN__)
extern void srandom(int);
#endif