mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
23 lines
558 B
Diff
23 lines
558 B
Diff
From: Richard Braakman <dark@dark.wapit.fi>
|
|
Date: Fri, 2 Feb 2001 17:22:53 +0200
|
|
Subject: 0009 Fix FTBFS on glibc
|
|
|
|
Fix FTBFS on glibc (Closes: #75377)
|
|
---
|
|
config.X | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/config.X b/config.X
|
|
index 18bf621..0a47cb2 100644
|
|
--- a/config.X
|
|
+++ b/config.X
|
|
@@ -531,7 +531,7 @@
|
|
#endif /* NO_MKSTEMP */
|
|
|
|
/* Aliases for some routines */
|
|
-#ifdef USG
|
|
+#if defined (USG) && !defined(__GLIBC__)
|
|
#define BCOPY(s, d, n) memcpy (d, s, n)
|
|
#define BZERO(d, n) memset (d, 0, n)
|
|
#define index strchr
|
|
--
|