libgd: fix version in generated pkg-config .pc file
authorMichael Heimpold <mhei@heimpold.de>
Tue, 3 Dec 2019 20:35:43 +0000 (21:35 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Tue, 3 Dec 2019 20:39:33 +0000 (21:39 +0100)
commit2065eb81471ccd7f3485177345170eff97a398b8
treeb1092dd8c2e0ae446e794c9df48f3bb7a69ab13d
parent87b21390ba4f72ae6b70b75904bb352d7fe4fa03
libgd: fix version in generated pkg-config .pc file

With the previous change to cmake, the generated pkg-config .pc
file does not contain the library version anymore. This breaks
programs which checks for a specific version, e.g. upcoming PHP 7.4.

The version is not filled because of a variable misnaming,
which was not covered by the imported upstream patch.

To not mangle the upstream patch, add an additional patch to
fix things up.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
libs/libgd/Makefile
libs/libgd/patches/300-gdlib.pc-cmake.patch [new file with mode: 0644]