Bug 206156 - databases/pecl-rrd: Fix build when rrdtool option GRAPH is off
Summary: databases/pecl-rrd: Fix build when rrdtool option GRAPH is off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-01-12 13:06 UTC by Renato Botelho
Modified: 2016-02-01 09:38 UTC (History)
0 users

See Also:
garga: maintainer-feedback+
koobs: merge-quarterly?


Attachments
Build without graph (4.29 KB, patch)
2016-01-12 13:06 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho freebsd_committer freebsd_triage 2016-01-12 13:06:18 UTC
Created attachment 165432 [details]
Build without graph

Today pecl-rrd will fail to build if rrdtool was built without GRAPH option. This patch fixes it isolating rrd_graph() and rrd_xport() when graph is not detected

I plan to submit a similar patch upstream for 2.0.0 but unfortunately this version only builds with php 7

Sponsored by: Rubicon Communications (Netgate)
Obtained-from: pfSense
Comment 1 Florian Smeets freebsd_committer freebsd_triage 2016-01-12 17:50:00 UTC
Approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-01-12 18:23:04 UTC
A commit references this bug:

Author: garga
Date: Tue Jan 12 18:22:27 UTC 2016
New revision: 405901
URL: https://svnweb.freebsd.org/changeset/ports/405901

Log:
  Make databases/pecl-rrd to build when rrdtool has no GRAPH support enabled

  PR:		206156
  Approved by:	flo (maintainer)
  Obtained from:	pfSense
  Sponsored by:	Rubicon Communications (Netgate)

Changes:
  head/databases/pecl-rrd/Makefile
  head/databases/pecl-rrd/files/
  head/databases/pecl-rrd/files/patch-config.m4
  head/databases/pecl-rrd/files/patch-rrd.c