1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/x11/fbpanel/files/patch-plugin.c
Thierry Thomas 1dc45df688 Integrate patch written by Andreas Wiese <bzimage (at) gmx.net> from
BSD Crew Dresden, which ports the previously linux-only CPU plugin
to FreeBSD.

PR:		ports/97575
Submitted by:	Tobias Roth <ports (at) fsck.ch> (maintainer)
2006-05-26 12:37:08 +00:00

16 lines
310 B
C

--- plugin.c~ Tue May 16 19:22:41 2006
+++ plugin.c Tue May 16 19:16:29 2006
@@ -98,7 +98,11 @@
#ifdef STATIC_DESKNO
REGISTER_PLUGIN_CLASS(deskno_plugin_class, 0);
#endif
-
+
+#if defined(STATIC_CPU) && defined(PLUGIN_CPU)
+ REGISTER_PLUGIN_CLASS(cpu_plugin_class, 0);
+#endif
+
RET();
}