depot/third_party/nixpkgs/pkgs/tools/text/ispell/patches/0009-Fix-FTBFS-on-glibc.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

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
--