FreeBSD Bugzilla – Attachment 199850 Details for
Bug 233800
security/clamav: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
clamav.patch (text/plain), 1.07 KB, created by
Piotr Kubaj
on 2018-12-05 14:01:45 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-12-05 14:01:45 UTC
Size:
1.07 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 486665) >+++ Makefile (working copy) >@@ -141,6 +141,8 @@ > -e 's|^\#?(MilterSocket) */tmp.*$$|\1 ${CLAMAV_MILTER_SOCKET}|' \ > -e 's|^\#?(ClamdSocket).*$$|\1 unix:${CLAMAV_CLAMD_SOCKET}|' > >+.include <bsd.port.pre.mk> >+ > post-patch: > @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lthr|g' \ > -e 's|LC_REVISION=22|LC_REVISION=24|' \ >@@ -149,6 +151,13 @@ > ${WRKSRC}/etc/clamd.conf.sample \ > ${WRKSRC}/etc/freshclam.conf.sample \ > ${WRKSRC}/etc/clamav-milter.conf.sample >+.if exists(/usr/lib/libstdc++.so) >+ @${REINPLACE_CMD} -e 's|-Wno-logical-op-parentheses||' \ >+ -e 's|-Wno-dangling-else||' \ >+ ${WRKSRC}/libclamav/Makefile.am \ >+ ${WRKSRC}/libclamav/Makefile.in \ >+ ${WRKSRC}/libclamunrar/makefile >+.endif > > pre-configure-TESTS-on: > @if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \ >@@ -174,4 +183,4 @@ > ${STAGEDIR}${RUNDIR} > (cd ${WRKSRC}/docs/html; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html) > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
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 233800
:
199849
| 199850