Note that this now uses cairo for graphics generation and pango/fontconfig for text rendering; if you are using this in a chroot jail (for cgi/php scripts, etc) you will need to take additional steps to install the relevant files. A script is provided to copy the relevant libraries and support files; see /usr/local/share/doc/pkg-readmes/rrdtool-1.4.8 for more details.
20 lines
395 B
Plaintext
20 lines
395 B
Plaintext
$OpenBSD: patch-src_rrdupdate_c,v 1.1 2013/11/05 17:49:01 sthen Exp $
|
|
|
|
https://github.com/oetiker/rrdtool-1.x/pull/401
|
|
|
|
--- src/rrdupdate.c.orig Sat Jun 15 10:07:57 2013
|
|
+++ src/rrdupdate.c Sat Jun 15 10:08:13 2013
|
|
@@ -15,7 +15,12 @@
|
|
#endif
|
|
|
|
#include "rrd.h"
|
|
+/* for basename */
|
|
+#ifdef HAVE_LIBGEN_H
|
|
+# include <libgen.h>
|
|
+#else
|
|
#include "plbasename.h"
|
|
+#endif
|
|
|
|
int main(
|
|
int argc,
|