[pisa-src] switch to libconfig 1.4?

  • From: Jahn Bertsch <jahn.bertsch@xxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 30 Nov 2009 15:59:51 +0100

fyi, ticket #134:
https://plain.ds-group.info/projects/pisa/cgi-bin/trac.cgi/ticket/134


OpenWRT automatically uses the latest version of packages.

libconfig 1.4 was released recently and is now used by OpenWRT, but PISA uses libconfig 1.3.2.

This breaks OpenWRT compilation, for example the signature of this libconfig function has changed:

libconfig 1.3.2:
int config_lookup_int(const config_t *config, const char *path,
                      long *value)

libconfig 1.4:
int config_lookup_int(const config_t *config, const char *path,
                      int *value)

This leads to a incompatible pointer error on OpenWRT build.

Maybe pisa should switch to libconfig 1.4?


A temporary solution is to modify openwrt-svn/feeds/packages/libs/libconfig/Makefile and set PKG_VERSION to 1.3.2

Other related posts:

  • » [pisa-src] switch to libconfig 1.4? - Jahn Bertsch