Bug 238578 - deskutils/xpostit : use dirent.h instead of deprecated dir.h
Summary: deskutils/xpostit : use dirent.h instead of deprecated dir.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Joerg Wunsch
URL:
Keywords: easy, needs-qa
Depends on:
Blocks: 21519
  Show dependency treegraph
 
Reported: 2019-06-15 13:28 UTC by Rene Ladan
Modified: 2019-06-30 08:57 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (joerg)


Attachments
use dirent.h for BSD too. (1.24 KB, patch)
2019-06-15 13:28 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer 2019-06-15 13:28:34 UTC
Created attachment 205073 [details]
use dirent.h for BSD too.

/usr/include/sys/dir.h is scheduled to be removed soonish, and this port still uses it. Switch to dirent.h to fix this.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-15 13:35:05 UTC
Note: should be sent upstream if possible
Comment 2 commit-hook freebsd_committer 2019-06-30 08:57:32 UTC
A commit references this bug:

Author: rene
Date: Sun Jun 30 08:57:01 UTC 2019
New revision: 505409
URL: https://svnweb.freebsd.org/changeset/ports/505409

Log:
  deskutils/xpostit: include dirent.h instead of sys/dir.h which is scheduled
  for removal.

  PR:		238578
  Submitted by:	rene
  Approved by:	maintainer timeout (joerg, 2 weeks)

Changes:
  head/deskutils/xpostit/files/patch-note.c