pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/tvision Fixed build with sunpro.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e0999619216e
branches: trunk
changeset: 538018:e0999619216e
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jan 24 19:27:10 2008 +0000
description:
Fixed build with sunpro.
diffstat:
devel/tvision/distinfo | 4 +++-
devel/tvision/patches/patch-ad | 16 ++++++++++++++++
devel/tvision/patches/patch-ae | 24 ++++++++++++++++++++++++
3 files changed, 43 insertions(+), 1 deletions(-)
diffs (63 lines):
diff -r ece5c72ed767 -r e0999619216e devel/tvision/distinfo
--- a/devel/tvision/distinfo Thu Jan 24 18:34:56 2008 +0000
+++ b/devel/tvision/distinfo Thu Jan 24 19:27:10 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/01/03 09:45:57 joerg Exp $
+$NetBSD: distinfo,v 1.5 2008/01/24 19:27:10 rillig Exp $
SHA1 (tvision-0.8.tar.gz) = c3a9948052289f77534de7a05a5d90d3ce770fff
RMD160 (tvision-0.8.tar.gz) = d6bc5b690d95eb50dea167d30de66daeb267baf3
@@ -9,3 +9,5 @@
SHA1 (patch-aa) = 318be94b3dc3ba4fabc08e1cd156d0008761cd3f
SHA1 (patch-ab) = f446c55ca44d5fe96d93d608652a422adee18194
SHA1 (patch-ac) = 9dc8d56ae0784b1a2faac07844f80a457e040ddc
+SHA1 (patch-ad) = 70136b49b41c34e21c3e58464d200f294071b658
+SHA1 (patch-ae) = b8fd0d96db80a20e78adaeb3e01368810bafbfd8
diff -r ece5c72ed767 -r e0999619216e devel/tvision/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tvision/patches/patch-ad Thu Jan 24 19:27:10 2008 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2008/01/24 19:27:10 rillig Exp $
+
+sunpro says:
+cannot assign "const char *" to "char *".
+
+--- lib/system.cc.orig 2008-01-24 15:17:51.000000000 +0100
++++ lib/system.cc 2008-01-24 15:51:10.273636000 +0100
+@@ -2335,7 +2335,7 @@ filelength(istream &s)
+
+ void expandPath(const char *path, char *dir, char *file)
+ {
+- char *tag = strrchr(path, '/');
++ const char *tag = strrchr(path, '/');
+
+ /* the path is in the form /dir1/dir2/file ? */
+
diff -r ece5c72ed767 -r e0999619216e devel/tvision/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tvision/patches/patch-ae Thu Jan 24 19:27:10 2008 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.1 2008/01/24 19:27:10 rillig Exp $
+
+The typeof keyword is not specified by ISO C99.
+
+--- tvhc/tvhc.cc.orig 2008-01-24 15:17:52.000000000 +0100
++++ tvhc/tvhc.cc 2008-01-24 15:58:02.268189000 +0100
+@@ -355,7 +355,7 @@ void recordReference( char *topic, opstr
+ fixUp->pos = s.tellp();
+ i = -1;
+ // s << i;
+- s << (typeof(ref->val.value))i; // SC
++ s << i; // typeof(ref->val.value) == int
+ fixUp->next = ref->val.fixUpList;
+ ref->val.fixUpList = fixUp;
+ }
+@@ -371,7 +371,7 @@ void doFixUps( TFixUp *p, ushort value,
+ s.seekp(p->pos);
+ // s << value;
+ TReference *ref; // SC
+- s << (typeof(ref->val.value))value; //
++ s << (int)value;
+ }
+ s.seekp(pos);
+ }
Home |
Main Index |
Thread Index |
Old Index