summary refs log tree commit diff
path: root/pkgs/tools/text/ispell/patches/0009-Fix-FTBFS-on-glibc.patch
blob: dbe0db9a05332578d810ddb7a03fb97d06d54694 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
--