SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
sysutils/conky/patches/patch-src_openbsd_h
Normal file
29
sysutils/conky/patches/patch-src_openbsd_h
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- src/openbsd.h.orig Tue Oct 5 23:29:36 2010
|
||||
+++ src/openbsd.h Tue Apr 19 18:44:53 2011
|
||||
@@ -3,7 +3,12 @@
|
||||
#ifndef OPENBSD_H_
|
||||
#define OPENBSD_H_
|
||||
|
||||
+#ifndef MAXSENSORDEVICES
|
||||
+#define MAXSENSORDEVICES 1024
|
||||
+#endif
|
||||
+
|
||||
#include "common.h"
|
||||
+#include "temphelper.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/sensors.h>
|
||||
@@ -16,11 +21,11 @@ void print_obsd_sensors_volt(struct text_object *, cha
|
||||
void get_obsd_vendor(char *buf, size_t client_buffer_size);
|
||||
void get_obsd_product(char *buf, size_t client_buffer_size);
|
||||
|
||||
-#if defined(i386) || defined(__i386__)
|
||||
typedef struct apm_power_info *apm_info_t;
|
||||
-#endif
|
||||
|
||||
int get_entropy_avail(unsigned int *);
|
||||
int get_entropy_poolsize(unsigned int *);
|
||||
+
|
||||
+static int sensor_device;
|
||||
|
||||
#endif /*OPENBSD_H_*/
|
Loading…
Add table
Add a link
Reference in a new issue