pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xfig Make it build on recent DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00ab9a69323c
branches:  trunk
changeset: 562054:00ab9a69323c
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Mon Jul 20 03:53:10 2009 +0000

description:
Make it build on recent DragonFly.

diffstat:

 graphics/xfig/distinfo         |   4 ++--
 graphics/xfig/patches/patch-ae |  19 ++++++++++++++-----
 2 files changed, 16 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 2c8e07f42004 -r 00ab9a69323c graphics/xfig/distinfo
--- a/graphics/xfig/distinfo    Mon Jul 20 03:47:20 2009 +0000
+++ b/graphics/xfig/distinfo    Mon Jul 20 03:53:10 2009 +0000
@@ -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-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 -r 2c8e07f42004 -r 00ab9a69323c graphics/xfig/patches/patch-ae
--- a/graphics/xfig/patches/patch-ae    Mon Jul 20 03:47:20 2009 +0000
+++ b/graphics/xfig/patches/patch-ae    Mon Jul 20 03:53:10 2009 +0000
@@ -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 @@
  #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 @@
  #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



Home | Main Index | Thread Index | Old Index