diff options
author | obache <obache> | 2010-04-04 08:12:02 +0000 |
---|---|---|
committer | obache <obache> | 2010-04-04 08:12:02 +0000 |
commit | 64676c0c37e6ac8599bffcb5b4ea04b6695171bc (patch) | |
tree | 898d81840bbbb319acc8db7680ba33cc622ed157 /devel | |
parent | 74d71fbf8d513c2434ce7ca795a87184a6da56c7 (diff) | |
download | pkgsrc-64676c0c37e6ac8599bffcb5b4ea04b6695171bc.tar.gz |
Fix _XOPEN_SOURCE problem on DragonFly.
Patch provided by YONETANI Tomokazu in PR#43020,
and it had been accepted by upstream.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/scmgit-base/distinfo | 3 | ||||
-rw-r--r-- | devel/scmgit-base/patches/patch-al | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/scmgit-base/distinfo b/devel/scmgit-base/distinfo index c84fa9a90f4..ba1b47bab97 100644 --- a/devel/scmgit-base/distinfo +++ b/devel/scmgit-base/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.24 2010/03/31 00:44:40 gdt Exp $ +$NetBSD: distinfo,v 1.25 2010/04/04 08:12:02 obache Exp $ SHA1 (git-1.6.6.2.tar.gz) = 13b339a55982162753d414731ff1b28791800209 RMD160 (git-1.6.6.2.tar.gz) = f0b465000a5b5deee156dda6c87ef3e2c744b226 @@ -11,3 +11,4 @@ SHA1 (patch-af) = ea0ac503103429f32d26bd42c37a9ed563ff17b8 SHA1 (patch-ag) = 048d9449048e417fab01c3e0e8e6e81d9df3bfac SHA1 (patch-ah) = d60b5304109f64f70146a222f6eb1deeb58dd6ac SHA1 (patch-ai) = 56b63d4790a11f5eb128186ad5efdd1bcf102f2e +SHA1 (patch-al) = a4850307f1d8eb49887011dd17429ad1d3b457fe diff --git a/devel/scmgit-base/patches/patch-al b/devel/scmgit-base/patches/patch-al new file mode 100644 index 00000000000..33025b94c3a --- /dev/null +++ b/devel/scmgit-base/patches/patch-al @@ -0,0 +1,17 @@ +$NetBSD: patch-al,v 1.1 2010/04/04 08:12:03 obache Exp $ + +Fix _XOPEN_SOURCE problem on DragonFly +http://repo.or.cz/w/git.git/commit/6555b196f00128f13ab8f719ee1e156238f16bb3 + +--- git-compat-util.h.orig 2010-02-10 23:12:51.000000000 +0000 ++++ git-compat-util.h +@@ -55,7 +55,8 @@ + # else + # define _XOPEN_SOURCE 500 + # endif +-#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX) && !defined(sgi) ++#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && \ ++ !defined(_M_UNIX) && !defined(sgi) && !defined(__DragonFly__) + #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */ + #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */ + #endif |