summaryrefslogtreecommitdiffstats
path: root/x11/kde4-workspace/files/patch-ksysguard-ksysguardd-FreeBSD.apm.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-workspace/files/patch-ksysguard-ksysguardd-FreeBSD.apm.c')
-rw-r--r--x11/kde4-workspace/files/patch-ksysguard-ksysguardd-FreeBSD.apm.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/kde4-workspace/files/patch-ksysguard-ksysguardd-FreeBSD.apm.c b/x11/kde4-workspace/files/patch-ksysguard-ksysguardd-FreeBSD.apm.c
new file mode 100644
index 0000000..aa62396
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-ksysguard-ksysguardd-FreeBSD.apm.c
@@ -0,0 +1,16 @@
+--- ksysguard/ksysguardd/FreeBSD/apm.c.orig Sat May 4 16:53:10 2002
++++ ksysguard/ksysguardd/FreeBSD/apm.c Sat May 4 16:53:42 2002
+@@ -18,7 +18,7 @@
+
+ $Id: apm.c,v 1.2 2001/09/18 14:03:53 tokoe Exp $
+ */
+-
++#ifdef __i386__
+ #include <fcntl.h>
+ #include <machine/apm_bios.h>
+ #include <stdio.h>
+@@ -96,3 +96,4 @@
+ {
+ fprintf(CurrentClient, "Remaining battery time\t0\t0\tmin\n");
+ }
++#endif /* __i386__ */
OpenPOWER on IntegriCloud