summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-28 01:59:26 +0000
committerwiz <wiz@pkgsrc.org>2000-12-28 01:59:26 +0000
commit67d2041b9249b6148e93b0f4e9f6658788ac5ebf (patch)
treec47f2e2ba696c570a3ac19fa670dd97f403949c3 /misc
parent1d9e609c599a493ddc3a9719bb19a5359ddf7f30 (diff)
downloadpkgsrc-67d2041b9249b6148e93b0f4e9f6658788ac5ebf.tar.gz
Fix compilation on alpha.
Diffstat (limited to 'misc')
-rw-r--r--misc/root/files/patch-sum5
-rw-r--r--misc/root/patches/patch-aj40
-rw-r--r--misc/root/patches/patch-ak13
-rw-r--r--misc/root/patches/patch-al13
4 files changed, 70 insertions, 1 deletions
diff --git a/misc/root/files/patch-sum b/misc/root/files/patch-sum
index 9f4b07d315a..1f8f078495b 100644
--- a/misc/root/files/patch-sum
+++ b/misc/root/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1 2000/01/10 01:25:11 wiz Exp $
+$NetBSD: patch-sum,v 1.2 2000/12/28 02:16:27 wiz Exp $
MD5 (patch-aa) = 73162f9b161f7842775dcc8f285627a3
MD5 (patch-ab) = e817d5af65db142c0ebc8a3f179c5af9
@@ -9,3 +9,6 @@ MD5 (patch-af) = 354b49cfd500bae80f2b6fbe2711f9be
MD5 (patch-ag) = 48ae63ea8594ab10def667a817f4c7dc
MD5 (patch-ah) = 0a0c8c4a76db0e14712c1799a999798d
MD5 (patch-ai) = 4ad0aa943b5e97a3e53e54e51df64243
+MD5 (patch-aj) = 2c004ee9563a23ffa4b2948979321b32
+MD5 (patch-ak) = 216c42d6f5e5e015c011d4905721691f
+MD5 (patch-al) = 99285a66061f7899d5c0b2f577f36a1d
diff --git a/misc/root/patches/patch-aj b/misc/root/patches/patch-aj
new file mode 100644
index 00000000000..475135432e1
--- /dev/null
+++ b/misc/root/patches/patch-aj
@@ -0,0 +1,40 @@
+$NetBSD: patch-aj,v 1.1 2000/12/28 02:16:27 wiz Exp $
+
+--- src/UNIX_UnixSystem.cxx.orig Tue Nov 2 11:38:04 1999
++++ src/UNIX_UnixSystem.cxx
+@@ -1353,9 +1353,9 @@
+ // Get Internet Protocol (IP) address of host and port #.
+
+ struct sockaddr_in addr;
+-#if defined(R__AIX) || defined(R__FBSD)
++#if defined(R__AIX)
+ size_t len = sizeof(addr);
+-#elif defined(R__GLIBC)
++#elif defined(R__GLIBC) || defined(R__FBSD)
+ socklen_t len = sizeof(addr);
+ #else
+ int len = sizeof(addr);
+@@ -1391,9 +1391,9 @@
+ // Get Internet Protocol (IP) address of remote host and port #.
+
+ struct sockaddr_in addr;
+-#if defined(R__AIX) || defined(R__FBSD)
++#if defined(R__AIX)
+ size_t len = sizeof(addr);
+-#elif defined(R__GLIBC)
++#elif defined(R__GLIBC) || defined(R__FBSD)
+ socklen_t len = sizeof(addr);
+ #else
+ int len = sizeof(addr);
+@@ -1718,10 +1718,8 @@
+
+ if (sock < 0) return -1;
+
+-#if defined(R__GLIBC) || defined(_AIX43)
++#if defined(R__GLIBC) || defined(_AIX43) || defined(R__FBSD)
+ socklen_t optlen = sizeof(*val);
+-#elif defined(R__FBSD)
+- size_t optlen = sizeof(*val);
+ #else
+ int optlen = sizeof(*val);
+ #endif
diff --git a/misc/root/patches/patch-ak b/misc/root/patches/patch-ak
new file mode 100644
index 00000000000..1c9d0700c6d
--- /dev/null
+++ b/misc/root/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2000/12/28 02:16:27 wiz Exp $
+
+--- src/ROOTD_rootd.cxx.orig Tue Nov 2 11:45:18 1999
++++ src/ROOTD_rootd.cxx
+@@ -128,7 +128,7 @@
+ extern "C" char *crypt(const char *, const char *);
+ #endif
+
+-#ifdef __alpha
++#if defined(__alpha) && !defined(__NetBSD__)
+ extern "C" int initgroups(char *name, int basegid);
+ #endif
+
diff --git a/misc/root/patches/patch-al b/misc/root/patches/patch-al
new file mode 100644
index 00000000000..97d9eb13338
--- /dev/null
+++ b/misc/root/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2000/12/28 02:16:27 wiz Exp $
+
+--- src/PROOFD_proofd.cxx.orig Tue Nov 2 11:45:22 1999
++++ src/PROOFD_proofd.cxx
+@@ -57,7 +57,7 @@
+ extern "C" char *crypt(const char *, const char *);
+ #endif
+
+-#ifdef __alpha
++#if defined(__alpha) && !defined(__NetBSD__)
+ extern "C" int initgroups(char *name, int basegid);
+ #endif
+