summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorexplorer <explorer>1999-11-05 17:36:44 +0000
committerexplorer <explorer>1999-11-05 17:36:44 +0000
commit399902ae6d1d336152a28cc83ae6c4fb9f2b3da3 (patch)
tree70a35957ab6ff8479cab71884ae0813440b4b67a /devel
parent3ceaf99c7711d8c704da64dceddcab8f517eaf3a (diff)
downloadpkgsrc-399902ae6d1d336152a28cc83ae6c4fb9f2b3da3.tar.gz
Make the endian.h thing work on 1.4.1 as well as 1.4L. I don't know exactly when the file
sys/endian.h was created, but I don't really care as I know it wasn't in 1.4.x and it is in the latest -current.
Diffstat (limited to 'devel')
-rw-r--r--devel/mit-pthreads/files/patch-sum4
-rw-r--r--devel/mit-pthreads/patches/patch-br12
2 files changed, 10 insertions, 6 deletions
diff --git a/devel/mit-pthreads/files/patch-sum b/devel/mit-pthreads/files/patch-sum
index 804b04e474b..96a3ade42ab 100644
--- a/devel/mit-pthreads/files/patch-sum
+++ b/devel/mit-pthreads/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.7 1999/11/05 17:17:07 explorer Exp $
+$NetBSD: patch-sum,v 1.8 1999/11/05 17:36:45 explorer Exp $
MD5 (patch-aa) = 5af930f67e251f5eb89b5414426d2396
MD5 (patch-ab) = 9bb4e83bd91f0159a522d8bfbba89362
@@ -42,7 +42,7 @@ MD5 (patch-bn) = 9c448c7cb64e38b5691d1ad82a323a07
MD5 (patch-bo) = 56589eee6da387750ebfd528cff72774
MD5 (patch-bp) = 2c7675d7a66f4c1d74839cc29c04765b
MD5 (patch-bq) = d8a87b5cae5719c5b1bae421f92f95b5
-MD5 (patch-br) = 081109fbf12e3753cd71409fce7ac77d
+MD5 (patch-br) = a65f87ebe629c328c0b789ab23f1a45c
MD5 (patch-bs) = f385b0298e92c1d8d5e40a92dc189123
MD5 (patch-bt) = f443a571be99e31532d1e3f00c56b55c
MD5 (patch-bu) = b15af40413216738310d91d323ff8bb5
diff --git a/devel/mit-pthreads/patches/patch-br b/devel/mit-pthreads/patches/patch-br
index 4ec4f0732b1..041d678210d 100644
--- a/devel/mit-pthreads/patches/patch-br
+++ b/devel/mit-pthreads/patches/patch-br
@@ -1,12 +1,16 @@
-diff -ur stdlib/strtod.c stdlib/strtod.c
---- stdlib/strtod.c Wed Nov 3 12:03:37 1999
-+++ stdlib/strtod.c Wed Nov 3 12:01:09 1999
-@@ -94,7 +94,7 @@
+--- stdlib/strtod.c.orig Fri Nov 5 09:21:45 1999
++++ stdlib/strtod.c Fri Nov 5 09:33:24 1999
+@@ -94,7 +94,12 @@
#endif /* LIBC_SCCS and not lint */
#ifndef __arm32__
-#include <endian.h>
++#if __NetBSD_Version__ > 104010000
+#include <sys/endian.h>
++#else
++#include <sys/types.h>
++#include <machine/endian.h>
++#endif
#if BYTE_ORDER == BIG_ENDIAN
#define IEEE_BIG_ENDIAN 1
#else