aboutsummaryrefslogtreecommitdiffstats
path: root/devel/nspr/files
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-02-02 04:20:37 +0800
committermarcel <marcel@FreeBSD.org>2004-02-02 04:20:37 +0800
commitbff8442c7ca57c561351f57ca2d25abfe3e34760 (patch)
tree5d170fc21698ba90f4a8c0f630118f28c3def855 /devel/nspr/files
parentf6b2050147018697b0cf17c3d7ca99c4d4d0487a (diff)
downloadfreebsd-ports-gnome-bff8442c7ca57c561351f57ca2d25abfe3e34760.tar.gz
freebsd-ports-gnome-bff8442c7ca57c561351f57ca2d25abfe3e34760.tar.zst
freebsd-ports-gnome-bff8442c7ca57c561351f57ca2d25abfe3e34760.zip
Fix build on ia64. The configuration was missing HAVE_LONG_LONG,
HAVE_ALIGNED_DOUBLES and HAVE_ALIGNED_LONGLONGS for ia64.
Diffstat (limited to 'devel/nspr/files')
-rw-r--r--devel/nspr/files/patch-..::pr::include::md::_freebsd.cfg15
1 files changed, 11 insertions, 4 deletions
diff --git a/devel/nspr/files/patch-..::pr::include::md::_freebsd.cfg b/devel/nspr/files/patch-..::pr::include::md::_freebsd.cfg
index 1b8da59f11b3..08f4f007997c 100644
--- a/devel/nspr/files/patch-..::pr::include::md::_freebsd.cfg
+++ b/devel/nspr/files/patch-..::pr::include::md::_freebsd.cfg
@@ -1,13 +1,16 @@
---- ../pr/include/md/_freebsd.cfg Wed Jan 2 13:06:24 2002
-+++ ../pr/include/md/_freebsd.cfg Sat Dec 13 13:22:20 2003
-@@ -92,5 +92,5 @@
+--- ../pr/include/md/_freebsd.cfg.orig Wed Jan 2 13:06:24 2002
++++ ../pr/include/md/_freebsd.cfg Sun Feb 1 12:05:13 2004
+@@ -91,7 +91,7 @@
+ #define PR_ALIGN_OF_DOUBLE 4
#define PR_ALIGN_OF_POINTER 4
-#elif defined(__alpha)
+#elif defined(__alpha__)
#define IS_LITTLE_ENDIAN 1
-@@ -139,4 +139,144 @@
+ #undef IS_BIG_ENDIAN
+@@ -138,6 +138,149 @@
+ #define PR_ALIGN_OF_DOUBLE 8
#define PR_ALIGN_OF_POINTER 8
+#elif defined(__sparc64__)
@@ -60,6 +63,9 @@
+#elif defined(__ia64__)
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
++#define HAVE_LONG_LONG
++#define HAVE_ALIGNED_DOUBLES
++#define HAVE_ALIGNED_LONGLONGS
+#define IS_64
+
+#define PR_BYTES_PER_BYTE 1
@@ -152,3 +158,4 @@
+#define HAVE_ALIGNED_LONGLONGS
#else
+ #error "Unknown CPU architecture"