summaryrefslogtreecommitdiff
path: root/net/kdenetwork3/patches/patch-aa
blob: 0a4b0b6b0965c9f44acffe4e13d2c114bd9aa82b (plain)
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
$NetBSD: patch-aa,v 1.18 2011/01/20 12:19:30 markd Exp $

aligned_u64/__aligned_u64 mixup on ArchLinux

utmpx patch gets ktalkd to build on Solaris 10 but wont actually
read the file properly - needs to be fixed.

--- configure.orig	2008-08-20 15:49:39.000000000 +0000
+++ configure
@@ -43655,6 +43655,9 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#if defined(linux)
+#define aligned_u64 __aligned_u64
+#endif
 #if defined(__osf__) || defined(__svr4__)
   #define _POSIX_PII_SOCKET
   extern "C" int sethostname(char *name, int name_len);
@@ -44540,6 +44543,7 @@ else
 	/var/run/utmp \
 	/var/adm/utmp \
 	/etc/utmp     \
+	/var/adm/utmpx \
      ; \
     do
      if test -r "$ac_file"; then