summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-16 19:41:04 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-16 19:41:04 +0000
commit7e5a3506a0b8ad15793805a1f2bf339f604969f1 (patch)
treef8c3110a37ab34ff2e82b347d079519a3fea1e3b
parent62600ce403c933d048402ff7529c78330f87c46b (diff)
downloadpkgsrc-7e5a3506a0b8ad15793805a1f2bf339f604969f1.tar.gz
Add DragonFly support. Fix errno -- it is *NEVER* an int32.
-rw-r--r--cad/gplcver/distinfo10
-rw-r--r--cad/gplcver/patches/patch-aa4
-rw-r--r--cad/gplcver/patches/patch-ab20
-rw-r--r--cad/gplcver/patches/patch-ad12
-rw-r--r--cad/gplcver/patches/patch-ae14
-rw-r--r--cad/gplcver/patches/patch-af14
-rw-r--r--cad/gplcver/patches/patch-ag14
7 files changed, 80 insertions, 8 deletions
diff --git a/cad/gplcver/distinfo b/cad/gplcver/distinfo
index c4686ec8bb1..96c242e5441 100644
--- a/cad/gplcver/distinfo
+++ b/cad/gplcver/distinfo
@@ -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 --git a/cad/gplcver/patches/patch-aa b/cad/gplcver/patches/patch-aa
index 7ae3206343b..6d3e002e9ef 100644
--- a/cad/gplcver/patches/patch-aa
+++ b/cad/gplcver/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $
# 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 --git a/cad/gplcver/patches/patch-ab b/cad/gplcver/patches/patch-ab
index 15dab6226e6..58b89801ca6 100644
--- a/cad/gplcver/patches/patch-ab
+++ b/cad/gplcver/patches/patch-ab
@@ -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 @@ $NetBSD: patch-ab,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $
+ __platform = __pv_stralloc("NetBSD");
+#endif
+
++#ifdef __DragonFly__
++ __platform = __pv_stralloc("DragonFly");
++#endif
++
#ifdef __APPLE__
__platform = __pv_stralloc("Mac OSX");
#endif
diff --git a/cad/gplcver/patches/patch-ad b/cad/gplcver/patches/patch-ad
new file mode 100644
index 00000000000..2c0590bf9af
--- /dev/null
+++ b/cad/gplcver/patches/patch-ad
@@ -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 --git a/cad/gplcver/patches/patch-ae b/cad/gplcver/patches/patch-ae
new file mode 100644
index 00000000000..79c72f0eb6a
--- /dev/null
+++ b/cad/gplcver/patches/patch-ae
@@ -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 --git a/cad/gplcver/patches/patch-af b/cad/gplcver/patches/patch-af
new file mode 100644
index 00000000000..0713f448a28
--- /dev/null
+++ b/cad/gplcver/patches/patch-af
@@ -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 --git a/cad/gplcver/patches/patch-ag b/cad/gplcver/patches/patch-ag
new file mode 100644
index 00000000000..e6af67cfa5e
--- /dev/null
+++ b/cad/gplcver/patches/patch-ag
@@ -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[];