gupnp-av: fix static library linking with gupnp
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 31 Oct 2017 08:39:32 +0000 (09:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Nov 2017 21:10:37 +0000 (22:10 +0100)
commitd682569f5dca884a23d5810a89388e6174687bfd
treec598b99bd4728db244893c2680ae1657dd3711b6
parent3587d29eae6086c1006526c054df2d0fce6fe687
gupnp-av: fix static library linking with gupnp

gupnp and gupnp-av defines two internal functions with the same name:
xml_util_get_element and xml_util_get_child_element_content, as a result
an application such as rygel can't be build statically.
To fix this issue, rename both functions as
xml_util_get_element2 and xml_util_get_child_element_content2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gupnp-av/0001-Fix-static-library-linking-with-gupnp.patch [new file with mode: 0644]