Edit

IABSD.fr/ports/sysutils/conky/patches/patch-src_openbsd_h

Branch :

  • Show log

    Commit

  • Author : dcoppa
    Date : 2011-04-27 12:55:10
    Hash : 584e1a26
    Message : Update to conky-1.8.1. Added audacious, imlib2 and xmms2 flavors. USE_GROFF and manpage patching during post-install are no more needed. Joint work with Pascal Stumpf (thanks!) OK jasper@, benoit@ (maintainer)

  • sysutils/conky/patches/patch-src_openbsd_h
  • $OpenBSD: patch-src_openbsd_h,v 1.4 2011/04/27 12:55:11 dcoppa Exp $
    --- 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_*/