FreeBSD Bugzilla – Attachment 247478 Details for
Bug 276143
multimedia/gpac-libgpac: fix build with clang 18
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
multimedia/gpac-libgpac: fix build with clang 18
multimedia__gpac-libgpac-fix-clang18-build-1.diff (text/plain), 1.04 KB, created by
Dimitry Andric
on 2024-01-06 11:40:51 UTC
(
hide
)
Description:
multimedia/gpac-libgpac: fix build with clang 18
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2024-01-06 11:40:51 UTC
Size:
1.04 KB
patch
obsolete
>commit 93309b0f6e12100e76a214d673cc84ba933cf49a >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2024-01-06T09:43:34+01:00 > > multimedia/gpac-libgpac: fix build with clang 18 > > Clang 18 no longer accepts -export-dynamic, which is a linker option, > resulting in an error building multimedia/gpac-libgpac: > > cc: error: unknown argument: '-export-dynamic' > > Fix this by using the correct spelling, -Wl,--export-dynamic. > > PR: 276143 > MFH: 2024Q1 > >diff --git a/multimedia/gpac-libgpac/Makefile b/multimedia/gpac-libgpac/Makefile >index 6a2b24831498..d0199ceeb9a2 100644 >--- a/multimedia/gpac-libgpac/Makefile >+++ b/multimedia/gpac-libgpac/Makefile >@@ -56,7 +56,8 @@ PNG_CONFIGURE_OFF= --use-png=no > > post-patch: > ${REINPLACE_CMD} -e 's|s/\.\*\\(\[0-9\]\\)\\+\$$/\\1/|s/^[^0-9]*//| ;\ >- /CFLAGS=/s/-O3//' ${WRKSRC}/configure >+ /CFLAGS=/s/-O3// ; s/-export-dynamic/-Wl,--export-dynamic/' \ >+ ${WRKSRC}/configure > > post-install: > ${INSTALL_DATA} ${WRKSRC}/gpac.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276143
: 247478