summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authorhasso <hasso>2009-07-20 03:53:10 +0000
committerhasso <hasso>2009-07-20 03:53:10 +0000
commit29246aa4bf0e633a11547d0b50dfdfcaf667246e (patch)
tree5abccacd69fb179872b98d4e28f8dbf3e46db6a0 /graphics/xfig
parentc86915e4965cd245b71d0548c9ebf09865aaf550 (diff)
downloadpkgsrc-29246aa4bf0e633a11547d0b50dfdfcaf667246e.tar.gz
Make it build on recent DragonFly.
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/distinfo4
-rw-r--r--graphics/xfig/patches/patch-ae19
2 files changed, 16 insertions, 7 deletions
diff --git a/graphics/xfig/distinfo b/graphics/xfig/distinfo
index ceb2c0ebc3e..bc8bcc8d8d7 100644
--- a/graphics/xfig/distinfo
+++ b/graphics/xfig/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2009/06/22 18:29:33 drochner Exp $
+$NetBSD: distinfo,v 1.20 2009/07/20 03:53:10 hasso Exp $
SHA1 (xfig.3.2.5b.full.tar.gz) = 0730d7e6bc217c0de02682efb0078821512bb542
RMD160 (xfig.3.2.5b.full.tar.gz) = aad4cfd808c116d34218e9890a898652e4f52ab6
@@ -7,7 +7,7 @@ SHA1 (patch-aa) = c931f4735f7502cc9d7c116378dcd3b420a40c6f
SHA1 (patch-ab) = c68a3ce1c1efbeab6e0f2dac9f91bf87c1515ce4
SHA1 (patch-ac) = b43b811dce9aa3cdb5d18dc7c403a4a2e503fd44
SHA1 (patch-ad) = b75238284164fe1e8365c21fab1a5e9102c467d0
-SHA1 (patch-ae) = df29d2536cd9f53f331f983ccc0c99a547267561
+SHA1 (patch-ae) = 7f0ac058b20cb5267ce41dea4e9e04b0e30b8307
SHA1 (patch-ag) = 021f15be1fd36adc80c638bbb485e2f3753ac11b
SHA1 (patch-ai) = bd3f0c40e542aae1cfd739dbe0c0f096ddfdefcf
SHA1 (patch-ak) = fcc358a595590ea3136d71bd9f61449d54914c46
diff --git a/graphics/xfig/patches/patch-ae b/graphics/xfig/patches/patch-ae
index 1c71778a381..b5516ccc80f 100644
--- a/graphics/xfig/patches/patch-ae
+++ b/graphics/xfig/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.4 2009/06/22 18:29:33 drochner Exp $
+$NetBSD: patch-ae,v 1.5 2009/07/20 03:53:10 hasso Exp $
---- fig.h.orig 2006-02-24 21:15:16.000000000 +0100
-+++ fig.h
-@@ -356,7 +356,11 @@ extern char *getenv();
+--- fig.h.orig 2008-05-27 20:39:00 +0300
++++ fig.h 2009-07-19 22:14:08 +0300
+@@ -347,7 +347,11 @@ extern char *getenv();
#define signof(a) (((a) < 0) ? -1 : 1)
#ifdef USE_INLINE
@@ -14,7 +14,7 @@ $NetBSD: patch-ae,v 1.4 2009/06/22 18:29:33 drochner Exp $
#else
#define INLINE
#endif /* USE_INLINE */
-@@ -374,7 +378,7 @@ extern double drand48();
+@@ -365,7 +369,7 @@ extern double drand48();
#define random() lrand48()
#define frandom() drand48()
@@ -23,3 +23,12 @@ $NetBSD: patch-ae,v 1.4 2009/06/22 18:29:33 drochner Exp $
#define srandom(seed) srand48((long)(seed))
#define random() lrand48()
#define frandom() drand48()
+@@ -374,7 +378,7 @@ extern double drand48();
+ extern long random();
+ 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__)
+ extern void srandom(int);
+
+ #endif