aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-01-20 14:18:34 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-01-20 14:18:34 +0000
commit27b921ea13fddcb500751aee1a07c1a7d9c8bfd7 (patch)
tree5f7efe8997d57b353f9b09a0811754e1986eb3e7 /cad
parent694c9883f2318cde83fd388152c96047f7c86b7a (diff)
downloadports-27b921ea13fddcb500751aee1a07c1a7d9c8bfd7.tar.gz
ports-27b921ea13fddcb500751aee1a07c1a7d9c8bfd7.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/gplcver/Makefile4
-rw-r--r--cad/gplcver/files/patch-src-v.h10
-rw-r--r--cad/gplcver/files/patch-src-v_dbg2.c11
-rw-r--r--cad/gplcver/files/patch-src-v_ex2.c11
-rw-r--r--cad/gplcver/files/patch-src-v_ms.c11
-rw-r--r--cad/gplcver/files/patch-src-v_src3.c11
6 files changed, 54 insertions, 4 deletions
diff --git a/cad/gplcver/Makefile b/cad/gplcver/Makefile
index 0b05f53e364d..47074407390f 100644
--- a/cad/gplcver/Makefile
+++ b/cad/gplcver/Makefile
@@ -24,10 +24,6 @@ PLIST_FILES= bin/cver
.include <bsd.port.pre.mk>
-.if ${ARCH} == "sparc64"
-BROKEN= "Does not compile on sparc64"
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${PREFIX}/bin
diff --git a/cad/gplcver/files/patch-src-v.h b/cad/gplcver/files/patch-src-v.h
new file mode 100644
index 000000000000..3f6fb5d4c1da
--- /dev/null
+++ b/cad/gplcver/files/patch-src-v.h
@@ -0,0 +1,10 @@
+--- src/v.h.orig Fri Jan 20 15:02:16 2006
++++ src/v.h Fri Jan 20 15:02:33 2006
+@@ -119,7 +119,6 @@
+ #endif
+ } w64_u;
+ #else
+-#include <sys/isa_defs.h>
+
+ typedef union {
+ word64 w64v;
diff --git a/cad/gplcver/files/patch-src-v_dbg2.c b/cad/gplcver/files/patch-src-v_dbg2.c
new file mode 100644
index 000000000000..b37d9b2b59c6
--- /dev/null
+++ b/cad/gplcver/files/patch-src-v_dbg2.c
@@ -0,0 +1,11 @@
+--- src/v_dbg2.c.orig Fri Jan 20 09:54:37 2006
++++ src/v_dbg2.c Fri Jan 20 09:54:58 2006
+@@ -44,7 +44,7 @@
+ #endif
+
+ /* REMOVEME - no longer supporting SunOS - maybe needed for hpux? */
+-#if defined(__sparc) && !defined(__SVR4)
++#if defined(__sparc) && !defined(__SVR4) && !defined(__FreeBSD__)
+ extern int32 tolower(int32);
+ extern int32 sscanf(char *, char *, ...);
+ #endif
diff --git a/cad/gplcver/files/patch-src-v_ex2.c b/cad/gplcver/files/patch-src-v_ex2.c
new file mode 100644
index 000000000000..a35ee2956bcb
--- /dev/null
+++ b/cad/gplcver/files/patch-src-v_ex2.c
@@ -0,0 +1,11 @@
+--- src/v_ex2.c.orig Fri Jan 20 09:48:49 2006
++++ src/v_ex2.c Fri Jan 20 09:49:23 2006
+@@ -38,7 +38,7 @@
+ #endif
+
+ /* REMOVEME - no longer supporting SunOS - maybe needed for hpux? */
+-#if defined(__sparc) && !defined(__SVR4)
++#if defined(__sparc) && !defined(__SVR4) && !defined(__FreeBSD__)
+ extern int32 tolower(int32);
+ extern ungetc(int32 c, FILE *);
+ #endif
diff --git a/cad/gplcver/files/patch-src-v_ms.c b/cad/gplcver/files/patch-src-v_ms.c
new file mode 100644
index 000000000000..c4e58d53a640
--- /dev/null
+++ b/cad/gplcver/files/patch-src-v_ms.c
@@ -0,0 +1,11 @@
+--- src/v_ms.c.orig Fri Jan 20 09:56:30 2006
++++ src/v_ms.c Fri Jan 20 09:56:48 2006
+@@ -50,7 +50,7 @@
+ #endif
+
+ /* REMOVEME - no longer supporting SunOS - maybe needed for hpux? */
+-#if defined(__sparc) && !defined(__SVR4)
++#if defined(__sparc) && !defined(__SVR4) && !defined(__FreeBSD__)
+ extern int32 tolower(int32);
+ extern ungetc(int32 c, FILE *);
+ extern long time (long *);
diff --git a/cad/gplcver/files/patch-src-v_src3.c b/cad/gplcver/files/patch-src-v_src3.c
new file mode 100644
index 000000000000..c557afa3d71b
--- /dev/null
+++ b/cad/gplcver/files/patch-src-v_src3.c
@@ -0,0 +1,11 @@
+--- src/v_src3.c.orig Fri Jan 20 09:40:09 2006
++++ src/v_src3.c Fri Jan 20 09:41:23 2006
+@@ -49,7 +49,7 @@
+ #endif
+
+ /* REMOVEME - no longer supporting SunOS - maybe needed for hpux? */
+-#if defined(__sparc) && !defined(__SVR4)
++#if defined(__sparc) && !defined(__SVR4) && !defined(__FreeBSD__)
+ extern int32 tolower(int32);
+ #endif
+