jimjag / epm

Updated ESP Package Manager (EPM)
https://jimjag.github.io/epm/
Apache License 2.0
10 stars 8 forks source link

FreeBSD fixes for a build regression, introduced in 8475324e0836a9154… #8

Closed DamjanJovanovic closed 1 year ago

DamjanJovanovic commented 2 years ago

…63984fdbd8e9a6f090a1593.

There is no "relnumber", use "vernumber" instead. Include "epm.h" for AooMode in qprintf.c.

(This doesn't actually get epm working - the pkg-plist format changed a lot time ago, but at least it gets AOO to build, as epm is built even when using --with-package-format="installed".)

leginee commented 1 year ago

Hi @DamjanJovanovic One change looks like it is only viable in Freebsd, but the other include looks on first glance like a generic change. So what caused the include epm? - The source was building for me.

DamjanJovanovic commented 1 year ago

Hi @DamjanJovanovic One change looks like it is only viable in Freebsd, but the other include looks on first glance like a generic change. So what caused the include epm? - The source was building for me.

The "AooMode" variable is checked only in the #if defined(FreeBSD) block on line 52-56, and we need to include epm.h to have it.