1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

net/mediatomb: Unbreak build with GCC 10 (-fno-common default)

/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-gena_device.o):(.bss+0x20): multiple definition of `gUserHTTPHeaders'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xc80): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-gena_device.o):(.bss+0x0): multiple definition of `gMaxHTTPTimeoutRetries'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xc70): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-gena_device.o):(.bss+0x4): multiple definition of `gUpnpSdkShutdown'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xc74): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-gena_device.o):(.bss+0x40): multiple definition of `pUserHTTPHeaderList'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xca0): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-gena_device.o):(.bss+0x48): multiple definition of `pVirtualDirList'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xca8): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-miniserver.o):(.bss+0x4): multiple definition of `gMaxHTTPTimeoutRetries'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xc70): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-miniserver.o):(.bss+0x8): multiple definition of `gUpnpSdkShutdown'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xc74): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-miniserver.o):(.bss+0x20): multiple definition of `gUserHTTPHeaders'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xc80): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-miniserver.o):(.bss+0x40): multiple definition of `pUserHTTPHeaderList'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xca0): first defined here
/usr/local/bin/ld: ../tombupnp/build/libtombupnp.a(libtombupnp_a-miniserver.o):(.bss+0x48): multiple definition of `pVirtualDirList'; ../tombupnp/build/libtombupnp.a(libtombupnp_a-upnpapi.o):(.bss+0xca8): first defined here

http://package22.nyi.freebsd.org/data/113amd64-default-PR244008/2020-06-10_18h05m01s/logs/errors/mediatomb-0.12.1_26.log

PR:		246700
This commit is contained in:
Tobias Kortkamp 2020-07-26 18:28:30 +00:00
parent 14b4e1198d
commit 8d464eff76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543490

View File

@ -28,6 +28,7 @@ USE_RC_SUBR= mediatomb
# linking fails when a dependency (such as taglib) is built with clang and
# lacking the overload. FreeBSD >= 11 is fine.
USE_CXXSTD= gnu++11
CFLAGS+= -fcommon
USERS= mediatomb
GROUPS= ${USERS}