aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dict
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-12 11:05:45 +0800
committerkris <kris@FreeBSD.org>2003-01-12 11:05:45 +0800
commitc0cb81623608e9fda53f9396004483a23e16c149 (patch)
treeb0cab88bd02c60a0d53041638175cb3a9ad4130f /textproc/dict
parent1bc8a88bccaa47fcda5df114b5572f9c5db76405 (diff)
downloadfreebsd-ports-gnome-c0cb81623608e9fda53f9396004483a23e16c149.tar.gz
freebsd-ports-gnome-c0cb81623608e9fda53f9396004483a23e16c149.tar.zst
freebsd-ports-gnome-c0cb81623608e9fda53f9396004483a23e16c149.zip
Fix build on sparc64
Diffstat (limited to 'textproc/dict')
-rw-r--r--textproc/dict/files/patch-decl.h11
-rw-r--r--textproc/dict/files/patch-libmaa::configure13
-rw-r--r--textproc/dict/files/patch-libmaa::decl.h11
-rw-r--r--textproc/dict/files/patch-libmaa::getopt.c11
-rw-r--r--textproc/dict/files/patch-libmaa::memtest.c11
-rw-r--r--textproc/dict/files/patch-libmaa::strtol.c11
6 files changed, 68 insertions, 0 deletions
diff --git a/textproc/dict/files/patch-decl.h b/textproc/dict/files/patch-decl.h
new file mode 100644
index 000000000000..4e970dfaa592
--- /dev/null
+++ b/textproc/dict/files/patch-decl.h
@@ -0,0 +1,11 @@
+--- decl.h.orig Sat Jan 11 18:39:08 2003
++++ decl.h Sat Jan 11 18:38:58 2003
+@@ -28,7 +28,7 @@
+ declarations for standard library calls. We provide them here for
+ situations that we know about. */
+
+-#if defined(__sparc__) && !defined(__linux__)
++#if defined(__sparc__) && !(defined(__linux__) || defined(__FreeBSD__))
+ /* Both SunOS and Solaris */
+ extern int getrusage( int who, struct rusage * );
+ extern void bcopy( const void *, void *, int );
diff --git a/textproc/dict/files/patch-libmaa::configure b/textproc/dict/files/patch-libmaa::configure
new file mode 100644
index 000000000000..7ecd91ebd714
--- /dev/null
+++ b/textproc/dict/files/patch-libmaa::configure
@@ -0,0 +1,13 @@
+--- libmaa/configure~ Mon Jan 29 01:00:16 2001
++++ libmaa/configure Mon Jan 29 01:00:29 2001
+@@ -875,11 +875,8 @@
+ # Check whether --with-cflags or --without-cflags was given.
+ if test "${with_cflags+set}" = set; then
+ withval="$with_cflags"
+-
+-if test "x${withval}" = xyes; then
+ CFLAGS="$withval"
+-fi
+-
++
+ fi
diff --git a/textproc/dict/files/patch-libmaa::decl.h b/textproc/dict/files/patch-libmaa::decl.h
new file mode 100644
index 000000000000..af6518a57173
--- /dev/null
+++ b/textproc/dict/files/patch-libmaa::decl.h
@@ -0,0 +1,11 @@
+--- libmaa/decl.h.orig Fri Aug 2 12:43:15 2002
++++ libmaa/decl.h Sat Jan 11 18:39:01 2003
+@@ -28,7 +28,7 @@
+ declarations for standard library calls. We provide them here for
+ situations that we know about. */
+
+-#if defined(__sparc__) && !defined(linux)
++#if defined(__sparc__) && !(defined(linux) || defined(__FreeBSD__))
+ #include <sys/resource.h>
+ /* Both SunOS and Solaris */
+ extern int getrusage( int who, struct rusage * );
diff --git a/textproc/dict/files/patch-libmaa::getopt.c b/textproc/dict/files/patch-libmaa::getopt.c
new file mode 100644
index 000000000000..7db8008f368c
--- /dev/null
+++ b/textproc/dict/files/patch-libmaa::getopt.c
@@ -0,0 +1,11 @@
+--- libmaa/getopt.c.orig Sat Jan 11 18:40:00 2003
++++ libmaa/getopt.c Sat Jan 11 18:40:12 2003
+@@ -44,7 +44,7 @@
+
+ #include <stdio.h>
+
+-#ifdef __sparc__
++#if defined(__sparc__) && !defined(__FreeBSD__)
+ extern int fprintf( FILE *, const char *, ... );
+ extern int strncmp( const char *, const char *, int n );
+ #endif
diff --git a/textproc/dict/files/patch-libmaa::memtest.c b/textproc/dict/files/patch-libmaa::memtest.c
new file mode 100644
index 000000000000..7e40ee4f536c
--- /dev/null
+++ b/textproc/dict/files/patch-libmaa::memtest.c
@@ -0,0 +1,11 @@
+--- libmaa/memtest.c.orig Sat Jan 11 18:40:21 2003
++++ libmaa/memtest.c Sat Jan 11 18:40:45 2003
+@@ -24,7 +24,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+
+-#ifdef __sparc__
++#if defined(__sparc__) && !defined(__FreeBSD__)
+ extern int printf( const char *, ... );
+ #endif
+
diff --git a/textproc/dict/files/patch-libmaa::strtol.c b/textproc/dict/files/patch-libmaa::strtol.c
new file mode 100644
index 000000000000..648ed0b672d2
--- /dev/null
+++ b/textproc/dict/files/patch-libmaa::strtol.c
@@ -0,0 +1,11 @@
+--- libmaa/strtol.c.orig Sat Jan 11 18:40:34 2003
++++ libmaa/strtol.c Thu Aug 24 21:59:08 1995
+@@ -25,7 +25,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+
+-#ifdef __sparc__
++#if defined(__sparc__) && !defined(__FreeBSD__)
+ extern int errno;
+ extern int toupper(int);
+ #endif