]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
libpjsip: fix static build failures due to name clash
authorLuca Ceresoli <luca@lucaceresoli.net>
Sat, 11 Nov 2017 23:06:31 +0000 (00:06 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 26 Nov 2017 21:35:25 +0000 (22:35 +0100)
commite3e99fb1d3ec9b218bf575d1de6cca44e7b67511
tree3c1c7d31ea299a22449e3a8f4a76cb635a331832
parent2877808ddc07b386bb1a870f4b558c24c750f762
libpjsip: fix static build failures due to name clash

Several packages have a similar md5.c file, and each has a function
named byteReverse(). This generates link errors when building
statically ("multiple definition of `byteReverse'").

Fix by applying a patch from upstream:
  https://trac.pjsip.org/repos/changeset/5688

Fixes:
  http://autobuild.buildroot.org/results/5d7/5d72e0f8517a555399978d5a0e9f7efd0a278189/
  http://autobuild.buildroot.org/results/c47/c47ccbb9b40011cf0d79c7040bed061ddefd9629/
  http://autobuild.buildroot.org/results/419/419ab2c0e034cc68991281c51caa8271b0fadbab/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8d44fb66085723b87efd8d111db50fdba7fa63ea)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpjsip/0001-Fixed-possible-function-name-clash.patch [new file with mode: 0644]