summaryrefslogtreecommitdiff
path: root/sysutils/libgtop2/patches/patch-aa
blob: 223ada9a227aaf0c2ac2a7251fd37448dfd8ab28 (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
28
29
$NetBSD: patch-aa,v 1.2 2004/05/04 23:36:16 minskim Exp $

--- configure.orig	2004-04-07 05:19:43.000000000 -0500
+++ configure
@@ -20463,13 +20463,13 @@ echo $ECHO_N "checking for libgtop sysde
 	  libgtop_sysdeps_dir=freebsd
 	  libgtop_use_machine_h=yes
 	  libgtop_need_server=yes
-	  libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
+	  libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server'
 	  ;;
 	solaris*)
 	  libgtop_sysdeps_dir=solaris
 	  libgtop_use_machine_h=yes
 	  libgtop_need_server=yes
-	  libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
+	  libgtop_postinstall='chgrp sys $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server'
 	  ;;
         aix*)
 	  libgtop_sysdeps_dir=aix
@@ -30110,7 +30110,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "f_type;" >/dev/null 2>&1; then
+  $EGREP "f_type;|struct statvfs" >/dev/null 2>&1; then
   ok=yes
 fi
 rm -f conftest*