Take advantage of FreeBSD `system info' code
This commit is contained in:
parent
2a3aa7035d
commit
4a98616c06
11
x11/kdebase/patches/patch-ak
Normal file
11
x11/kdebase/patches/patch-ak
Normal file
@ -0,0 +1,11 @@
|
||||
--- kcontrol/info/info.cpp.orig Sun Jun 20 19:40:46 1999
|
||||
+++ kcontrol/info/info.cpp Sun Jun 20 19:41:18 1999
|
||||
@@ -112,7 +112,7 @@
|
||||
#include "info_linux.cpp"
|
||||
#elif sgi || sun
|
||||
#include "info_sgi.cpp"
|
||||
-#elif __FreeBSD__
|
||||
+#elif __FreeBSD__ || __OpenBSD__
|
||||
#include "info_fbsd.cpp"
|
||||
#elif hpux
|
||||
#include "info_hpux.cpp"
|
10
x11/kdebase/patches/patch-al
Normal file
10
x11/kdebase/patches/patch-al
Normal file
@ -0,0 +1,10 @@
|
||||
--- kcontrol/info/info_fbsd.cpp.orig Sun Jun 20 19:43:01 1999
|
||||
+++ kcontrol/info/info_fbsd.cpp Sun Jun 20 19:43:13 1999
|
||||
@@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
+#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <fstab.h>
|
11
x11/kdebase/patches/patch-am
Normal file
11
x11/kdebase/patches/patch-am
Normal file
@ -0,0 +1,11 @@
|
||||
--- kcontrol/info/memory.cpp.orig Sun Jun 20 19:40:56 1999
|
||||
+++ kcontrol/info/memory.cpp Sun Jun 20 19:41:26 1999
|
||||
@@ -86,7 +86,7 @@
|
||||
#include "memory_linux.cpp"
|
||||
#elif sgi
|
||||
#include "memory_sgi.cpp"
|
||||
-#elif __FreeBSD__
|
||||
+#elif __FreeBSD__ || __OpenBSD__
|
||||
#include "memory_fbsd.cpp"
|
||||
#elif hpux
|
||||
#include "memory_hpux.cpp"
|
10
x11/kdebase/patches/patch-an
Normal file
10
x11/kdebase/patches/patch-an
Normal file
@ -0,0 +1,10 @@
|
||||
--- kcontrol/info/memory_fbsd.cpp.orig Sun Jun 20 19:43:22 1999
|
||||
+++ kcontrol/info/memory_fbsd.cpp Sun Jun 20 19:43:36 1999
|
||||
@@ -1,6 +1,7 @@
|
||||
// $Id: patch-an,v 1.1 1999/06/20 18:21:55 espie Exp $
|
||||
|
||||
#include <sys/types.h>
|
||||
+#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <stdlib.h> // For atoi()
|
||||
|
Loading…
Reference in New Issue
Block a user