Bug 245836 - sysutils/runwhen: Add support for skalibs 2.9.2.1
Summary: sysutils/runwhen: Add support for skalibs 2.9.2.1
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: Tobias C. Berner
URL:
Keywords:
Depends on: 245686
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-22 22:06 UTC by crest
Modified: 2020-04-24 18:41 UTC (History)
2 users (show)

See Also:


Attachments
Patch allowing runwhen to build against skalibs 2.9.2.1 (9.01 KB, patch)
2020-04-22 22:06 UTC, crest
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description crest 2020-04-22 22:06:20 UTC
Created attachment 213707 [details]
Patch allowing runwhen to build against skalibs 2.9.2.1

Five years after its latest release runwhen 2015.02.24 is no longer compatible the latest skalibs version (2.9.2.1 from 16 days ago).

The attached patch allows the old runwhen code to build against the latest skalibs version.

It converts the enum values in rw-match.c from lower to upper case to avoid a name collision on "div", deals with the renaming of tainnow.lib to to sysclock.lib and replaces a call to the deprecated env_get() function with getenv(). This gets rid of all compiler warnings and errors.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-04-24 18:40:13 UTC
A commit references this bug:

Author: tcberner
Date: Fri Apr 24 18:39:57 UTC 2020
New revision: 532885
URL: https://svnweb.freebsd.org/changeset/ports/532885

Log:
  sysutils/runwhen: Add support for skalibs 2.9.2.1

  Five years after its latest release runwhen 2015.02.24 is no longer compatible
  the latest skalibs version (2.9.2.1 from 16 days ago).

  The attached patch allows the old runwhen code to build against the latest
  skalibs version.

  It converts the enum values in rw-match.c from lower to upper case to avoid a
  name collision on "div", deals with the renaming of tainnow.lib to to
  sysclock.lib and replaces a call to the deprecated env_get() function with
  getenv(). This gets rid of all compiler warnings and errors.

  PR:		245836
  Submitted by:	crest@rlwinm.de

Changes:
  head/sysutils/runwhen/files/
  head/sysutils/runwhen/files/patch-package_compile
  head/sysutils/runwhen/files/patch-src_rw-match.c
  head/sysutils/runwhen/files/patch-src_rw__scan.c
  head/sysutils/runwhen/files/patch-src_tainnow=contents
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2020-04-24 18:41:39 UTC
Committed. Thanks.