openbsd-ports/sysutils/conky/patches/patch-src_text_object_h
dcoppa 237c8f2f08 - Reenable $addr and $if_up
- Enable the new SMP code (allowing the user to actually see multiple
  cores)
- Enable RES and VSIZE display in $top

From Pascal Stumpf: thanks!

ok benoit@, jasper@
2011-09-11 18:53:28 +00:00

22 lines
756 B
Plaintext

$OpenBSD: patch-src_text_object_h,v 1.2 2011/09/11 18:53:28 dcoppa Exp $
--- src/text_object.h.orig Tue Oct 5 23:29:36 2010
+++ src/text_object.h Mon Jul 18 14:05:17 2011
@@ -166,7 +166,7 @@ enum text_object_type {
OBJ_wireless_link_qual_perc,
OBJ_wireless_link_bar,
#endif /* __linux__ */
-#if defined(__FreeBSD__) || defined(__linux__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__)
OBJ_if_up,
#endif
OBJ_if_empty,
@@ -311,7 +311,7 @@ enum text_object_type {
OBJ_pop3_unseen,
OBJ_pop3_used,
#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \
- || defined(__OpenBSD__)) && (defined(i386) || defined(__i386__))
+ || defined(__OpenBSD__))
OBJ_apm_adapter,
OBJ_apm_battery_time,
OBJ_apm_battery_life,