Fix build on NetBSD/sparc*.

From Jochen Kunz.
This commit is contained in:
wiz 2010-02-25 21:12:03 +00:00
parent 22fd672417
commit 97d24656b9
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.22 2010/02/12 13:45:54 drochner Exp $
$NetBSD: distinfo,v 1.23 2010/02/25 21:12:03 wiz Exp $
SHA1 (cmake-2.8.0.tar.gz) = c35cb0d787c53aee768b154f05b68d3a20eccb3d
RMD160 (cmake-2.8.0.tar.gz) = 27e80a14b4970d85b12aaf18fbe738c02dc0620f
@ -6,3 +6,4 @@ Size (cmake-2.8.0.tar.gz) = 3553247 bytes
SHA1 (patch-aa) = b093f4992a7fea099d7c26a90b150ac0d057067a
SHA1 (patch-ab) = f7372942f7e28b01c26794ce1a94914b68d1b24e
SHA1 (patch-ac) = e5127b9e28375528e977898c59cb6b5044d76ebe
SHA1 (patch-ad) = c0e75a15b2b1761286a0da21d7e92639f4897f6c

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.5 2010/02/25 21:12:03 wiz Exp $
--- Source/kwsys/SharedForward.h.in.orig 2009-11-13 18:33:01.000000000 +0000
+++ Source/kwsys/SharedForward.h.in
@@ -218,7 +218,7 @@ static const char kwsys_shared_forward_p
#endif
/* SUN */
-#if defined(__sparc) && !defined(__linux)
+#if defined(__sparc) && !defined(__linux) && !defined(__NetBSD__)
# define KWSYS_SHARED_FORWARD_LDD "ldd"
# define KWSYS_SHARED_FORWARD_LDD_N 1
# include <sys/isa_defs.h>