FreeBSD Bugzilla – Attachment 145745 Details for
Bug 192630
[patch] databases/rrdtool: rrdupdate crash on amd64 systems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch rrdupdate.c to fix the problem
rrdtool_basename.txt (text/plain), 970 bytes, created by
Henry Hu
on 2014-08-13 01:30:03 UTC
(
hide
)
Description:
patch rrdupdate.c to fix the problem
Filename:
MIME Type:
Creator:
Henry Hu
Created:
2014-08-13 01:30:03 UTC
Size:
970 bytes
patch
obsolete
>diff -ruN /usr/ports/databases/rrdtool/Makefile ./Makefile >--- /usr/ports/databases/rrdtool/Makefile 2014-08-09 19:05:10.000000000 -0400 >+++ ./Makefile 2014-08-12 20:21:18.000000000 -0400 >@@ -3,7 +3,7 @@ > > PORTNAME= rrdtool > PORTVERSION= 1.4.8 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= databases graphics > MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/ > >diff -ruN /usr/ports/databases/rrdtool/files/patch-src__rrdupdate.c ./files/patch-src__rrdupdate.c >--- /usr/ports/databases/rrdtool/files/patch-src__rrdupdate.c 1969-12-31 19:00:00.000000000 -0500 >+++ ./files/patch-src__rrdupdate.c 2014-08-12 20:20:35.000000000 -0400 >@@ -0,0 +1,16 @@ >+--- src/rrdupdate.c.orig 2014-08-12 20:19:23.000000000 -0400 >++++ src/rrdupdate.c 2014-08-12 20:19:50.000000000 -0400 >+@@ -15,7 +15,12 @@ >+ #endif >+ >+ #include "rrd.h" >+-#include "plbasename.h" >++ >++#ifdef HAVE_LIBGEN_H >++# include <libgen.h> >++#else >++# include "plbasename.h" >++#endif >+ >+ int main( >+ int argc,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 192630
: 145745