Bug 197841 - sysutils/diskcheckd: [maintainer] fix build problem on 11-current
Summary: sysutils/diskcheckd: [maintainer] fix build problem on 11-current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-20 06:51 UTC by Perry Hutchison
Modified: 2015-03-01 20:10 UTC (History)
1 user (show)

See Also:


Attachments
patch (9.04 KB, patch)
2015-02-20 06:51 UTC, Perry Hutchison
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Perry Hutchison 2015-02-20 06:51:25 UTC
Created attachment 153199 [details]
patch

sysutils/diskcheckd builds have been failing on 11-current since DIOCGDINFO was removed.  Reimplement that part to use geom facilities instead.  Also fix printf format warnings involving %qd on LP64.

New code, and build in both configurations (with/without DIOCGDINFO) tested on 8.x -- I don't run -current.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2015-02-28 07:53:13 UTC
buildtest worked on 10.1a, 9.3a, 8.4i.

As the patch does not provide a new version number, would the submitter/maintainer mind if we use 20150220 as the new version number ?
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-03-01 20:09:40 UTC
A commit references this bug:

Author: pi
Date: Sun Mar  1 20:08:58 UTC 2015
New revision: 380226
URL: https://svnweb.freebsd.org/changeset/ports/380226

Log:
  sysutils/diskcheckd: 20110729 -> 20150220

  adapt to missing DIOCGDINFO on 11-current and fix some printf warnings

  PR:		197841
  Submitted by:	Perry Hutchison <perryh_bsd_bugs@pluto.rain.com> (maintainer)

Changes:
  head/sysutils/diskcheckd/Makefile
  head/sysutils/diskcheckd/files/diskcheckd.8
  head/sysutils/diskcheckd/files/diskcheckd.c
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2015-03-01 20:10:28 UTC
Committed, thanks.
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2015-03-01 20:10:48 UTC
P.S.: My 11-current box died, so not tested on 11-current.