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.
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
Committed. Thanks.