summaryrefslogtreecommitdiff
path: root/devel/ptl2
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>2001-07-13 16:02:38 +0000
committerbad <bad@pkgsrc.org>2001-07-13 16:02:38 +0000
commitf5d28107946775245f3aef0529def3bd786b2de5 (patch)
treef5e5b70aeab5a8ed4bd1ba20720b2820b19869b2 /devel/ptl2
parent90141ff7f4d044d1a4dc6733ada07df8b48e3350 (diff)
downloadpkgsrc-f5d28107946775245f3aef0529def3bd786b2de5.tar.gz
Make sure to test for __sparc__ so that NO_SHM gets defined on NetBSD/sparc.
Diffstat (limited to 'devel/ptl2')
-rw-r--r--devel/ptl2/distinfo3
-rw-r--r--devel/ptl2/patches/patch-ad11
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/ptl2/distinfo b/devel/ptl2/distinfo
index 4c8c2ef4947..a1efc89db89 100644
--- a/devel/ptl2/distinfo
+++ b/devel/ptl2/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2001/06/12 10:40:39 tron Exp $
+$NetBSD: distinfo,v 1.4 2001/07/13 16:02:38 bad Exp $
SHA1 (PTL-2.1.7.tar.gz) = ff3b9526977a28f61cf2ced521fd79648c67948b
Size (PTL-2.1.7.tar.gz) = 678274 bytes
SHA1 (patch-aa) = 284228c992244b9465b68741b8e6ad68567c254c
SHA1 (patch-ab) = 501fa5218757f9e47cc8d9b78f33082019517dcb
SHA1 (patch-ac) = 9f72f1bfdb5b37e834de6494be10781f91d025e9
+SHA1 (patch-ad) = 93192f2f2a86fbd2b59384bd8ac1b4b2526de40a
diff --git a/devel/ptl2/patches/patch-ad b/devel/ptl2/patches/patch-ad
new file mode 100644
index 00000000000..56fb8bba2aa
--- /dev/null
+++ b/devel/ptl2/patches/patch-ad
@@ -0,0 +1,11 @@
+--- src/spec.h.orig Thu Mar 2 07:06:39 2000
++++ src/spec.h Fri Jul 13 16:44:17 2001
+@@ -201,7 +201,7 @@
+ # define NO_SHM
+ #endif
+
+-#if defined(__NetBSD__) && defined(sparc)
++#if defined(__NetBSD__) && (defined(sparc) || defined(__sparc__))
+ # define NO_SHM /* SHMLBA is not constant */
+ # undef HAVE_SHMGET
+ #endif