pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/anjuta No O_SYNC on DragonFly and FreeBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7e769f95554
branches:  trunk
changeset: 513419:b7e769f95554
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun May 28 13:17:45 2006 +0000

description:
No O_SYNC on DragonFly and FreeBSD.

diffstat:

 devel/anjuta/Makefile         |  4 +++-
 devel/anjuta/distinfo         |  4 ++--
 devel/anjuta/patches/patch-an |  8 ++++++--
 3 files changed, 11 insertions(+), 5 deletions(-)

diffs (59 lines):

diff -r 5b2d62749ef9 -r b7e769f95554 devel/anjuta/Makefile
--- a/devel/anjuta/Makefile     Sun May 28 12:36:39 2006 +0000
+++ b/devel/anjuta/Makefile     Sun May 28 13:17:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2006/05/25 17:36:50 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2006/05/28 13:17:45 joerg Exp $
 
 DISTNAME=      anjuta-1.2.3
 PKGREVISION=   8
@@ -17,6 +17,8 @@
 DEPENDS+=      libtool>=1.5.2:../../devel/libtool
 DEPENDS+=      yelp>=2.4.2:../../misc/yelp
 
+BUILD_DEPENDS+=                p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+
 USE_DIRS+=             gnome2-1.5
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
diff -r 5b2d62749ef9 -r b7e769f95554 devel/anjuta/distinfo
--- a/devel/anjuta/distinfo     Sun May 28 12:36:39 2006 +0000
+++ b/devel/anjuta/distinfo     Sun May 28 13:17:45 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/08/01 17:17:14 drochner Exp $
+$NetBSD: distinfo,v 1.12 2006/05/28 13:17:45 joerg Exp $
 
 SHA1 (anjuta-1.2.3.tar.gz) = 6ecb773b64142a495f4da061590c24499423882c
 RMD160 (anjuta-1.2.3.tar.gz) = f8bf080b699603fb5c224340e6fd08c655d14bd4
@@ -7,5 +7,5 @@
 SHA1 (patch-ab) = 7079a915de78ea2cd7c3182c47afab6f5a78c8c7
 SHA1 (patch-ad) = 04f6eafe876060944ca7d0ccc36fe47d926cf637
 SHA1 (patch-al) = a4958c02654da6a6277ee74559083a1de46048d7
-SHA1 (patch-an) = 7b9a40356ebb3b5df7536fb1427e2074ce5fb892
+SHA1 (patch-an) = 8779b330815f872c5cf5b643c31ec2680fdaae53
 SHA1 (patch-aq) = 24a55f3504d74905a42fb74a482e31047173db0b
diff -r 5b2d62749ef9 -r b7e769f95554 devel/anjuta/patches/patch-an
--- a/devel/anjuta/patches/patch-an     Sun May 28 12:36:39 2006 +0000
+++ b/devel/anjuta/patches/patch-an     Sun May 28 13:17:45 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-an,v 1.4 2005/08/01 17:17:14 drochner Exp $
+$NetBSD: patch-an,v 1.5 2006/05/28 13:17:45 joerg Exp $
 
 --- src/launcher.c.orig        2005-04-06 11:05:44.000000000 +0200
 +++ src/launcher.c
-@@ -37,6 +37,10 @@
+@@ -37,6 +37,14 @@
  #include "anjuta-marshalers.h"
  #include "anjuta.h"
  
@@ -10,6 +10,10 @@
 +#define B460800 460800
 +#endif
 +
++#if (defined(__DragonFly__) || defined(__FreeBSD__)) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
  #define FILE_BUFFER_SIZE 1024
  /*
  static gboolean



Home | Main Index | Thread Index | Old Index