pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/gplcver Add DragonFly support. Fix errno -- it is ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3073484c129
branches: trunk
changeset: 508250:b3073484c129
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Feb 16 19:41:04 2006 +0000
description:
Add DragonFly support. Fix errno -- it is *NEVER* an int32.
diffstat:
cad/gplcver/distinfo | 10 +++++++---
cad/gplcver/patches/patch-aa | 4 ++--
cad/gplcver/patches/patch-ab | 20 +++++++++++++++++---
cad/gplcver/patches/patch-ad | 12 ++++++++++++
cad/gplcver/patches/patch-ae | 14 ++++++++++++++
cad/gplcver/patches/patch-af | 14 ++++++++++++++
cad/gplcver/patches/patch-ag | 14 ++++++++++++++
7 files changed, 80 insertions(+), 8 deletions(-)
diffs (143 lines):
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/distinfo
--- a/cad/gplcver/distinfo Thu Feb 16 19:29:41 2006 +0000
+++ b/cad/gplcver/distinfo Thu Feb 16 19:41:04 2006 +0000
@@ -1,8 +1,12 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $
+$NetBSD: distinfo,v 1.2 2006/02/16 19:41:04 joerg Exp $
SHA1 (gplcver-2.11a.src.tar.bz2) = 5b26b70282bb7c79f5dfa9d70f3cf0972ac03b3c
RMD160 (gplcver-2.11a.src.tar.bz2) = 16bedab414af0cf4049394ea9f01ea2ebb4e3385
Size (gplcver-2.11a.src.tar.bz2) = 1189439 bytes
-SHA1 (patch-aa) = f22f3ace0a6da4476151d81b4ac35cbe7efe7c12
-SHA1 (patch-ab) = 151ea8442c604c4de810c335c50db34281797fc8
+SHA1 (patch-aa) = a1692ebb9fde64ec4573ff65b880b1c809e53d66
+SHA1 (patch-ab) = b8d44b8fed5dc8d3379d990160fa453713163e2e
SHA1 (patch-ac) = 8c82e31f81d0e787a32d6217dc7704f55e10d150
+SHA1 (patch-ad) = bfd2061aff3a7b86dce2648a489a0c3035573271
+SHA1 (patch-ae) = 56c9a8bfa3f223855efc2cb3463d39daa55d98fa
+SHA1 (patch-af) = bdbe16f718f595772917b4bc42c20b51077a5441
+SHA1 (patch-ag) = d84d230879dfe892d2961ae9f50f7e7ce5157c6f
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/patches/patch-aa
--- a/cad/gplcver/patches/patch-aa Thu Feb 16 19:29:41 2006 +0000
+++ b/cad/gplcver/patches/patch-aa Thu Feb 16 19:41:04 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2006/02/16 19:41:04 joerg Exp $
--- src/v.h.orig 2006-02-10 12:25:44.000000000 +0100
+++ src/v.h
@@ -7,7 +7,7 @@
# include <sys/param.h>
# else
-# ifdef __FreeBSD__
-+# if defined(__FreeBSD__) || defined(__NetBSD__)
++# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
# include <sys/endian.h>
# else
# include <endian.h>
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/patches/patch-ab
--- a/cad/gplcver/patches/patch-ab Thu Feb 16 19:29:41 2006 +0000
+++ b/cad/gplcver/patches/patch-ab Thu Feb 16 19:41:04 2006 +0000
@@ -1,8 +1,18 @@
-$NetBSD: patch-ab,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $
+$NetBSD: patch-ab,v 1.2 2006/02/16 19:41:04 joerg Exp $
---- src/cver.c.orig 2006-02-10 15:41:00.000000000 +0100
+--- src/cver.c.orig 2005-07-06 17:53:09.000000000 +0000
+++ src/cver.c
-@@ -1049,6 +1049,10 @@ extern int32 __dig_main(int32 argc, char
+@@ -978,9 +978,6 @@ extern void __sym_addprims(void);
+
+
+
+-/* externs for system error messages */
+-extern int32 errno;
+-
+ /* special external for setjmp environment - reset environment */
+ extern jmp_buf __reset_jmpbuf;
+ extern char __pv_ctab[];
+@@ -1049,6 +1046,14 @@ extern int32 __dig_main(int32 argc, char
__platform = __pv_stralloc("X86 FreeBSD");
#endif
@@ -10,6 +20,10 @@
+ __platform = __pv_stralloc("NetBSD");
+#endif
+
++#ifdef __DragonFly__
++ __platform = __pv_stralloc("DragonFly");
++#endif
++
#ifdef __APPLE__
__platform = __pv_stralloc("Mac OSX");
#endif
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gplcver/patches/patch-ad Thu Feb 16 19:41:04 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2006/02/16 19:41:04 joerg Exp $
+
+--- src/v_cnv.c.orig 2006-02-16 18:49:56.000000000 +0000
++++ src/v_cnv.c
+@@ -243,7 +243,6 @@ extern void __case_terr(char *, int32);
+ extern void __misc_terr(char *, int32);
+
+ extern word32 __masktab[];
+-extern int32 errno;
+ extern double __dbl_toticks_tab[];
+
+ /* LOOKATME - on mach ten and sunos fmod is drem - but maybe not same */
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gplcver/patches/patch-ae Thu Feb 16 19:41:04 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2006/02/16 19:41:04 joerg Exp $
+
+--- src/v_ex.c.orig 2006-02-16 18:51:59.000000000 +0000
++++ src/v_ex.c
+@@ -337,9 +337,6 @@ extern void __my_fprintf(FILE *, char *,
+ /* reset mechanism long jump buffer */
+ extern jmp_buf __reset_jmpbuf;
+
+-/* system stuff */
+-extern int32 errno;
+-
+ /* some general evaluation tables */
+ word32 __masktab[] = {
+ /* since 0 is the same as all used, mask must be entire word32 */
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gplcver/patches/patch-af Thu Feb 16 19:41:04 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2006/02/16 19:41:04 joerg Exp $
+
+--- src/v_ex4.c.orig 2006-02-16 18:52:57.000000000 +0000
++++ src/v_ex4.c
+@@ -42,9 +42,6 @@
+ #include "v.h"
+ #include "cvmacros.h"
+
+-/* sytem stuff */
+-extern int32 errno;
+-
+ /* local prototypes */
+ static void set_from_mpp_unopts(struct mod_t *, struct mod_pin_t *, int32);
+ static void set_from_hconn_unopts(struct mod_t *, struct inst_t *, int32,
diff -r 483c4ed5d9b4 -r b3073484c129 cad/gplcver/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gplcver/patches/patch-ag Thu Feb 16 19:41:04 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2006/02/16 19:41:04 joerg Exp $
+
+--- src/v_ms.c.orig 2006-02-16 18:53:45.000000000 +0000
++++ src/v_ms.c
+@@ -263,9 +263,6 @@ extern struct opinfo_t __opinfo[];
+ extern byte __stren_map_tab[];
+ extern word32 __masktab[];
+
+-/* system stuff */
+-extern int32 errno;
+-
+ /* jmp buf defined in v_dbg */
+ extern jmp_buf __iact_jmpbuf;
+ extern char __pv_ctab[];
Home |
Main Index |
Thread Index |
Old Index