diff options
author | is <is> | 2011-01-17 14:17:29 +0000 |
---|---|---|
committer | is <is> | 2011-01-17 14:17:29 +0000 |
commit | 5f8511bda260a17c1904b0ef0ebdbd0a0ae654a1 (patch) | |
tree | a11fb253e09dabacad3368a09c08077e55c02332 /devel/gmake | |
parent | fdd8fa764c038d7b329afad7da3b5bcee005a366 (diff) | |
download | pkgsrc-5f8511bda260a17c1904b0ef0ebdbd0a0ae654a1.tar.gz |
Declaring char *getcwd(); interfered with _USE_FORTIFY_SOURCE=N (for N>0).
(pointed out by aniou@ircnet).
The problem is avoided by not declaring in make.h if defined(HAVE_UNISTD_H).
(I wish people would actually use configure's findings after it spent several
billions(en_US) of CPU cycles computing them.)
Diffstat (limited to 'devel/gmake')
-rw-r--r-- | devel/gmake/distinfo | 4 | ||||
-rw-r--r-- | devel/gmake/patches/patch-aa | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/devel/gmake/distinfo b/devel/gmake/distinfo index 2e4ca925176..bc76bc98472 100644 --- a/devel/gmake/distinfo +++ b/devel/gmake/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.19 2010/08/31 08:23:15 taca Exp $ +$NetBSD: distinfo,v 1.20 2011/01/17 14:17:29 is Exp $ SHA1 (make-3.82.tar.bz2) = b8a8a99e4cb636a213aad3816dda827a92b9bbed RMD160 (make-3.82.tar.bz2) = e3d1f7019549553b9fc7a88884c9b85d25a60d21 Size (make-3.82.tar.bz2) = 1242186 bytes -SHA1 (patch-aa) = 978356bb287b1d6c500a05c82297a5ddd8f1f444 +SHA1 (patch-aa) = 38d14dd12346fece8489f41c327d1736544c16fd SHA1 (patch-ac) = de18956fde66fa3fc61a991bb3e6724d9c5b1eac SHA1 (patch-af) = aafc56a38b07ad6dc1bebb602beeb8c31cbb8c49 SHA1 (patch-ah) = 0805ae7b6001283d1cc04297b762322684c113a2 diff --git a/devel/gmake/patches/patch-aa b/devel/gmake/patches/patch-aa index eba7c4b48b5..9cd2f6bb1ae 100644 --- a/devel/gmake/patches/patch-aa +++ b/devel/gmake/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.11 2010/08/07 06:31:16 wiz Exp $ +$NetBSD: patch-aa,v 1.12 2011/01/17 14:17:29 is Exp $ --- make.h.orig 2010-07-20 13:12:06.000000000 +0000 +++ make.h @@ -11,3 +11,12 @@ $NetBSD: patch-aa,v 1.11 2010/08/07 06:31:16 wiz Exp $ char *alloca (); # endif # endif +@@ -472,7 +472,7 @@ long int lseek (); + #endif /* Not GNU C library or POSIX. */ + + #ifdef HAVE_GETCWD +-# if !defined(VMS) && !defined(__DECC) ++# if !defined(VMS) && !defined(__DECC) && !defined(HAVE_UNISTD_H) + char *getcwd (); + # endif + #else |