File: 02-FTBFS-Alpha.patch

package info (click to toggle)
super 3.30.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,860 kB
  • sloc: ansic: 24,673; sh: 297; makefile: 296
file content (28 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Paul Slootman <paul@debian.org>
Date: Tue, 9 Jan 2001 16:07:36 +0100
Subject: 02 FTBFS Alpha.

Fix build problem on Alpha (closes: #81678).
---
 localsys.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/localsys.h b/localsys.h
index 3ac06e5..56e9216 100644
--- a/localsys.h
+++ b/localsys.h
@@ -243,12 +243,14 @@ int misc_conv(int num_msg, const struct pam_message **msgm,
 #if !(defined(BSD) && (BSD >= 199306))
 #if !(defined(SUNOS5) && SUNOS_MINOR >= 6)
 #if !(defined(_AIX) && AIX_MAJOR >= 4)
+#if !(defined(__linux__))
 extern int gethostname P__((char *, size_t size));
 #endif
 #endif
 #endif
 #endif
 #endif
+#endif
 
 #ifdef HAVE_SYS_SYSINFO_H
 #include <sys/sysinfo.h>