Bug 234763 - ports-mgmt/pkg_rmleaves: unchanged line format
Summary: ports-mgmt/pkg_rmleaves: unchanged line format
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: Kurt Jaeger
Depends on:
Reported: 2019-01-08 18:23 UTC by Lapo Luchini
Modified: 2019-01-09 20:41 UTC (History)
2 users (show)

See Also:
alexander: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2019-01-08 18:23:59 UTC
I think it happened during 11.2-RELEASE → 12.0-RELEASE, but now after removing a package it gives:

% sudo pkg_rmleaves
diff: unrecognized option `--unchanged-line-format='
Comment 1 alexander 2019-01-08 19:53:49 UTC
Ha, so there are still some people using this port :)
This seems to be due to the switch from GNU diff to BSD diff in FBSD 12. I changed the code to use the comm utility instead. See bug #234769 with the port update.
Comment 2 Kurt Jaeger freebsd_committer 2019-01-09 20:41:23 UTC
Fixed by r489827
Comment 3 commit-hook freebsd_committer 2019-01-09 20:41:52 UTC
A commit references this bug:

Author: pi
Date: Wed Jan  9 20:41:05 UTC 2019
New revision: 489827
URL: https://svnweb.freebsd.org/changeset/ports/489827

  ports-mgmt/pkg_rmleaves: update 20140222 -> 20190108 to support FBSD 12

  - switch from GNU diff to BSD diff needs to be handled

  PR:		234769, 234763
  Reported by:	Lapo Luchini <lapo@lapo.it>
  Submitted by:	alexander@wittig.name (maintainer)