pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/prcs Fix build on DragonFly and with GCC 3.4+.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3b2d784d38e
branches: trunk
changeset: 513779:b3b2d784d38e
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Jun 03 01:13:40 2006 +0000
description:
Fix build on DragonFly and with GCC 3.4+.
diffstat:
devel/prcs/distinfo | 4 +++-
devel/prcs/patches/patch-aa | 14 ++++++++++++++
devel/prcs/patches/patch-ab | 13 +++++++++++++
3 files changed, 30 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r 154a559cb5e4 -r b3b2d784d38e devel/prcs/distinfo
--- a/devel/prcs/distinfo Sat Jun 03 00:46:43 2006 +0000
+++ b/devel/prcs/distinfo Sat Jun 03 01:13:40 2006 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 22:24:31 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/06/03 01:13:40 joerg Exp $
SHA1 (prcs-1.3.3.tar.gz) = 0f1770289ee4e9e8028c1aee9e19fd4fae8d2da6
RMD160 (prcs-1.3.3.tar.gz) = 85d90b12eb7e00585f1fd880939ee01642293b4e
Size (prcs-1.3.3.tar.gz) = 907482 bytes
+SHA1 (patch-aa) = 46cfb535d79cce8b337dc28d1c421db8676e3d69
+SHA1 (patch-ab) = d13c14c776fc4abab32b50f1fca82469e9dfd855
diff -r 154a559cb5e4 -r b3b2d784d38e devel/prcs/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/prcs/patches/patch-aa Sat Jun 03 01:13:40 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.6 2006/06/03 01:13:40 joerg Exp $
+
+--- src/rebuild.cc.orig 2006-06-03 00:54:52.000000000 +0000
++++ src/rebuild.cc
+@@ -1001,6 +1001,9 @@ void RebuildFile::init_stream()
+ #elif __GNUG__ == 3 and __GNUC_MINOR__ < 2
+ buf = new filebuf(fdopen(dup(seg->fd()), "a+"), ios::out);
+ buf->pubseekoff(0, ios::end, ios::out);
++#elif __GNUG__ > 3 || (__GNUG__ == 3 && __GNUC_MINOR__ >= 4)
++ buf = new __gnu_cxx::stdio_filebuf<char> (seg->fd(), ios::out, default_segment_size);
++ buf->pubseekoff(0, ios::end, ios::out);
+ #else
+ buf = new __gnu_cxx::stdio_filebuf<char> (seg->fd(), ios::out,
+ false /* close */, default_segment_size);
diff -r 154a559cb5e4 -r b3b2d784d38e devel/prcs/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/prcs/patches/patch-ab Sat Jun 03 01:13:40 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.4 2006/06/03 01:13:40 joerg Exp $
+
+--- src/regex.c.orig 2006-06-03 01:04:53.000000000 +0000
++++ src/regex.c
+@@ -297,7 +297,7 @@ init_syntax_once ()
+ # endif /* emacs */
+
+ /* Integer type for pointers. */
+-# if !defined _LIBC
++# if !defined _LIBC && !defined(__DragonFly__)
+ typedef unsigned long int uintptr_t;
+ # endif
+
Home |
Main Index |
Thread Index |
Old Index