summaryrefslogtreecommitdiff
path: root/devel/scmgit-base/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/scmgit-base/patches/patch-ab')
-rw-r--r--devel/scmgit-base/patches/patch-ab8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/scmgit-base/patches/patch-ab b/devel/scmgit-base/patches/patch-ab
index a6d41d86aac..863aae58099 100644
--- a/devel/scmgit-base/patches/patch-ab
+++ b/devel/scmgit-base/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.2 2008/02/06 07:53:32 bjs Exp $
+$NetBSD: patch-ab,v 1.3 2008/06/24 08:21:04 bjs Exp $
---- git-compat-util.h.orig 2008-02-01 23:09:01.000000000 -0500
+--- git-compat-util.h.orig 2008-06-18 18:49:49.000000000 -0400
+++ git-compat-util.h
@@ -39,7 +39,7 @@
/* Approximation of the length of the decimal representation of this type. */
#define decimal_length(x) ((int)(sizeof(x) * 2.56 + 0.5) + 1)
--#if !defined(__APPLE__) && !defined(__FreeBSD__)
-+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__sun)
+-#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX)
++#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX) && !defined(__sun)
#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